Skip to content
/ 1hash Public

Securely share your environment variables with your team

License

Notifications You must be signed in to change notification settings

elousia/1hash

Repository files navigation

1hash is a safe platform for sharing environment variables and secrets

An open-source and safe platform for sharing environment variables and secrets

License 1hash GitHub repo

Introduction · Deploy Your Own · Setting Up Locally · Tech Stack · Contributing · License


Introduction

1hash is a safe platform for sharing environment variables and secrets

Here's a quick demo:

1hash-demo.mp4

Deploy Your Own

You can deploy your own version of 1hash to Vercel with one click:

Deploy with Vercel

Setting Up Locally

To set up 1hash locally, follow these steps:

  • Create a .env file that looks like the env.sample file
  • Create a new Redis database on Upstash
  • Copy these credentials into .env file
    • UPSTASH_REDIS_REST_URL
    • UPSTASH_REDIS_REST_TOKEN
  • Now you need configure Passage for authentication. Log in to Passage
  • Create an application in the Passage Console with the following settings:
    • Authentication origin: http://localhost:3000 (change this to your production URL if you decide to deploy)
    • Redirect URL: /encrypt
  • Once the application has been created, copy the Application ID from the console into a .env file
  • Run npm install or npm install --legacy-peer-deps in your terminal to install dependencies
  • Run npm run dev start the app
  • Open http://localhost:3000 to view the app 🍰

Tech Stack

1hash is built on the following stack:

Contributing

Here's how you can contribute:

  • Open an issue if you believe you've encountered a bug.
  • Make a pull request to add new features/make quality-of-life improvements/fix bugs.

Authors

License

Licensed under the MIT license.

About

Securely share your environment variables with your team

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published