Code Monkey home page Code Monkey logo

renv's Introduction

RENV

A remote dotenv service built with deno deploy

Deploy

Deploy by URL: https://github.com/beetcb/renv/raw/main/index.ts

Usage

  1. Set auth password

    Project -> Settings -> Environment Variables, add ENV_PASS env

  2. Set environment variables

    Set the environment variables as in step 1, The key of your environment variable must use a solid syntax like this: ENVNAMESPACE_ENVNAME

    • ENVNAMESPACE: By defining ENVNAMESPACE, renv can create multiple environments depending on the needs, just like multiple dotenv files stored in the cloud

    • ENVNAME: The name of the environment variable

  3. Get your environment variables

    Send a GET request to https://deployname.deno.dev/{envnamespace}?pass={ENV_PASS}, renv will return a text/plain response with a standard .env file format string

Example

My Environment Variables settings on deno deploy:

deno deploy

How to get oabot dotenv?

GET https://renv.deno.dev/oabot?pass=a-normal-password

Response:

UNIDOC_LICENSE_API_KEY=RANDOMSTRING
SIGN=RANDOMSTRING
APP_KEY=RANDOMSTRING
WORKSHEET_ID=RANDOMSTRING

renv's People

Contributors

beetcb avatar

Stargazers

 avatar  avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.