nowfound

Life & fun · January 5, 2025

GE

Generate .env files from various secret providers via checked-in config

Hi! I've been frustrated with the secret sharing situation in serverside javascript land for a while; the common thing is to just toss .env files around on Slack to get someone's app working, or involves some kind of convoluted setup to get a blob from a storage and turn it into environment variables via commands I have to copy paste every time. But everyone uses secret storage providers, e.g. shared password vaults, cloud secrets, etc., so why not leverage those as URIs in a JSON file that can be checked in to source control? I want something simple that would just generate the darn .env…

What it does

In the maker’s words, at launch

Hi! I've been frustrated with the secret sharing situation in serverside javascript land for a while; the common thing is to just toss .env files around on Slack to get someone's app working, or involves some kind of convoluted setup to get a blob from a storage and turn it into environment variables via commands I have to copy paste every time. But everyone uses secret storage providers, e.g. shared password vaults, cloud secrets, etc., so why not leverage those as URIs in a JSON file that can be checked in to source control? I want something simple that would just generate the darn .env file with the secrets, and log me in the process if need be. Something like.. { "SECRET_ENV_VALUE": "op://application-secrets/test/test-section", "SECRET_ENV_VALUE2": "gcsm://projects/1234567890/secrets/SOME_KEY/versions/latest" } Surprisingly I wasn't able to find anything exactly like this (most seem to want to sell me something centralised on their servers instead), so I made it. It's still quite early but I've made providers for: - 1password (via CLI) - AWS Secret Manager (via nodejs) - Azure Key Vault (via nodejs) - Bitwarden (via CLI) - Doppler (via CLI) - Github Secrets (via CLI) - Google Cloud Secret Manager (via nodejs) - Hashicorp Vault (via nodejs) - Infisical (via CLI) - KeePass (via CLI) - LastPass (via CLI) It can handle binary data from the providers that can store some, encoding it as base64 in the .env file. It tries to be nice to JSON as well. Some (read most) of these need help testing out, so if you're interested feel free to come in to kick the tires and raise issues :) The providers will try to log you in (or guide you through the process) if you are not, so any help making that even nicer is appreciated!

Does the same job

all alternatives →

More life & fun this month

the category →
  • TL

    Life & fun · 10d ago · louisabraham.github.io

  • Photosynthesis fires two of your iPhone

    Life & fun · 28d ago · photosynthesis.camera

  • SoloUno310

    Take control of hair pulling, nail biting & skin picking

    Life & fun · 28d ago · solouno.io

  • Scroll through all 43,252,003,274,489,856,000 reachable Rubik's Cube permutations.

    Life & fun · 26d ago · everycube.alen.is

  • The Interactive 3D Encyclopedia

    Life & fun · 21d ago · expeditione.fun

  • Hi HN, I built Eigendrum, a web tool that solves the 2D wave equation for arbitrary shapes so you can hear what they sound like as drums. How it works: * Solves -∇²u = λu using finite element analysis (Kφ = λMφ) on a triangle mesh. * Validated to <0.1% error against closed-form solutions for circles (Bessel zeros) and rectangles. * Sound model factors in strike location, Rayleigh damping, and mallet width. * Includes Kac drums I & II to demonstrate identical sound spectra from different geometries. * No frameworks, build steps, or dependencies. Repo and tests:…

    Life & fun · 27d ago · baselashraf81.github.io

Launched alongside, January 2025

the whole month →
  • IM

    Hello! I'm Byran. I spent the past ~6 months engineering a laptop from scratch. It's fully open-source on GH at: https:&#x2F;&#x2F;github.com&#x2F;Hello9999901&#x2F;laptop

    Dev tools · 2025 · byran.ee

  • TI

    I realized that the PDF engines of modern desktop browsers (PDFium and PDF.js) support JavaScript with enough I&#x2F;O primitives to make a basic game like Tetris. It was a bit tricky to find a union of features that work in both engines, but in the end it turns out that showing&#x2F;hiding annotation "fields" works well to make monochrome pixels, and keyboard input can be achieved by typing in a text input box. All in all it's quite janky but a nice reminder of how general purpose PDF scripting can be. The linked PDF is all ASCII so you can just open it in a text editor, or have a look at…

    Life & fun · 2025 · th0mas.nl

  • 21st.dev1,211

    Github + Pinterest to make your AI websites look beautiful

    Dev tools · 2025 · 21st.dev

  • Stay in flow by blocking distracting apps and websites

    Work · 2025 · raycast.com

  • Create lifelike, personalized AI avatars from text prompts

    AI · 2025 · jogg.ai

  • Turn Figma designs into full stack apps with AI

    Dev tools · 2025 · figma.com