←
varlock.dev227 posts
varlock.dev avatar

varlock.dev

@varlockdev

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

◷ Joined February 2024▧ 4 Photos and videos
zot24 🫠 avatar
⟳ varlock.dev retweeted
zot24 🫠@zot24·Sep 29

This is pretty cool @varlockdev + 1Password plugin to populate .env files automagically

Post attachment
Theo Ephraim 🧙‍♂️ avatar
⟳ varlock.dev retweeted
Theo Ephraim 🧙‍♂️@theozero·Sep 24

My new "awesome list" of SaaS replacements & tools you can host (for free/$5) on your own @CloudflareDev account has over 800⭐️ in just 1 week! Can we make it to 1000 before birthday week? github.com/theoephraim/aweso…

Theo Ephraim 🧙‍♂️ avatar
⟳ varlock.dev retweeted
Theo Ephraim 🧙‍♂️@theozero·Sep 16

😍 varlock codegen for @EffectTS_ config! Stoked to see the codegen stuff I added enable new integrations from the community. @danmyles_ - should we migrate this into the monorepo? github.com/dan-myles/varlock…

MMIK avatar
⟳ varlock.dev retweeted
MMIK@mmikhan·Sep 15

dude is late in the party, varlock just solves the env management for everything

colinhacks avatar
⟳ varlock.dev retweeted
colinhacks@colinhacks·Sep 6

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 👇

Post attachment

🛑 .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!

colinhacks avatar
⟳ varlock.dev retweeted
colinhacks@colinhacks·Sep 5

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

Theo Ephraim 🧙‍♂️ avatar
⟳ varlock.dev retweeted
Theo Ephraim 🧙‍♂️@theozero·Aug 28

If you have starred varlock already, what are you waiting for? Help us get to 5k ⭐️ 🧙‍♂️🔐❤️

dan myles avatar
⟳ varlock.dev retweeted
dan myles@danmyles_·Aug 25

varlock has to be the best OSS project ive run into in a whileee

Max Howell avatar
⟳ varlock.dev retweeted
Max Howell@mxcl·Aug 20

No need to fear Full Access for your agents. 1. Use macOS TCC (Transparency, Consent, and Control): lock down your agent’s harness so it cannot access your personal data & .app settings 2. Use @varlockdev to stop it getting at your project keys 3. Use @AutomicVault to stop it getting at your CLI tool credentials and to add granular access control for the rest of your dev-tool stack

Post attachment
Theo Ephraim 🧙‍♂️ avatar
⟳ varlock.dev retweeted
Theo Ephraim 🧙‍♂️@theozero·Aug 13

Latest batch of @github secure open source fund is kicking off. This is a great program - provides $10k and deep security training to open source maintainers of important projects. If you are doing OSS, apply! (Varlock was in the last batch) github.blog/open-source/main…

Theo Ephraim 🧙‍♂️ avatar
⟳ varlock.dev retweeted
Theo Ephraim 🧙‍♂️@theozero·Aug 12

Super stoked that nub (as of v0.7) has native varlock support 🚀 Nub does usual .env file loading itself, but if it detects a .env.schema and varlock is installed, it will defer to us instead. Huge thanks @colinhacks for this and all his work on nub! nubjs.com/docs/runtime/varlo…