AI-safe .env files: schemas for agents, secrets for humans.

The internet
Joined February 2024
Include

Only show posts containing:

Exclude

Hide posts containing:

Time range
-
Minimum likes
πŸ§™β€β™‚οΈπŸ”βœ¨πŸ§‘πŸŠβ˜οΈ
16
varlock.dev retweeted
This is pretty cool @varlockdev + 1Password plugin to populate .env files automagically
1
1
2
92
varlock.dev retweeted
I created new repo using @amanvarshney01's Better-Stack just to try out the latest @varlockdev tool it already created the entire config for me 😭πŸ”₯
2
4
401
πŸ§™β€β™‚οΈπŸ“ˆ onwards and upwards open sourcerers!
πŸ§™β€β™‚οΈβ­οΈ Varlock inching towards 5k stars - thank you to all the new ones! First huge bump came from @syntaxfm (thanks @wesbos + @stolinski!) The current increase in slope is because I finally figured out how X works πŸ˜‚
6
843
Sam, Dario, Elon, @theo and I (also Theo) think @varlockdev is cool as hell.
Theo - t3.gg
@theoSep 15
Replying to @theozero
Wait this looks cool as hell. @jullerino have you seen this?
6
1
51
4,695
varlock.dev retweeted
dude is late in the party, varlock just solves the env management for everything
1
3
662
What’s your app? It’s even better if you use our integrations and don’t even need to wrap with varlock run
1
2
117
πŸ‘† happy to collab!
10
Replying to @infodusha @theozero
I think you'll find our SSR story fairly complete and we're happy to fill any gaps
1
1
29
varlock.dev retweeted
Nothing solves env loading and validation better than Varlock. Nub v0.7 adds first-party support. If your repo contains an .env.schema file, Nub uses Varlock to load/validate your environment when running a file or script πŸ‘‡
πŸ›‘ .env.example is an anti-pattern - copy-paste means it gets out of sync - mix of real values and placeholders - source of truth is scattered (real env file, validation code, usage sites, readme) - no way to understand which items are sensitive .env.schema is the answer!
12
9
1
369
32,972
varlock.dev retweeted
Replying to @w3tsadev @theozero
Zod for env validation is a great pattern, and it's super nice to avoid env.d.ts generation I'm a huge Varlock fan though becuase Varlock solves a bunch of other problems beyond just validation. because it wraps your process, Varlock + .env.schema lets you specify LOADING config in addition to just variable validation. that's why its able to do things like stdio-level redaction, encryption, credential brokering, etc. Zod is just a library so it structurally can't do these things. I'd also argue from an API design standpoint that Varlock's DSL is strictly better than Zod as a mechanism for validation because it's so finely tuned to the kinds of values & validations you commonly need for env vars
1
2
2
31
8,323
varlock.dev retweeted
Replying to @alexiskold
my friends @varlockdev have the env var layer covered for those VMs and SDKs
1
2
285
If you have starred varlock already, what are you waiting for? Help us get to 5k ⭐️ πŸ§™β€β™‚οΈπŸ”β€οΈ
3
4
11
1,077
varlock.dev retweeted
varlock has to be the best OSS project ive run into in a whileee
1
1
4
845
See @theozero 's comments
Replying to @southpolesteve
We did some experiments with api key rotation on sites that required logging in w passwords. The answer is have the harness control it and use tool calls, then make sure it’s scrubbed as well in whatever goes back to the model.
3
157