Skip to content

Comment on We Are Forking dotenvy into dotenv-ngparent

Comments

The concept is fine, but I'm a big fan of doing it with mise instead. It does the exact same thing plus a lot of other things really well. The environment for a project is not just things that get stored in environment variables, it also includes specific versions of tools, common project tasks, git hooks and such. Being able to manage all of that in one place ends up being really useful.

I also really like that for sensitive variables (AWS tokens, prod DB passwords, etc), I can keep those in a dedicated secret store (I use 1Password for personal projects and there are more enterprise focused alternatives for work).

mise is trying to do everything.

direnv does one thing really well, and it enables a large ecosystem of other components that you can pick and choose to build developer environments. SecretSpec, from the featured article, is one such component which pairs really well with direnv, and has the features you’re describing for secrets.

I think direnv’s approach is the one with more staying power.

I'm biased but I think it's silly to think either one is going away anytime soon

mise is trying to do everything

It also doesn't work well. And they have no support outside of Discord chat.

What problems did you encounter while using mise?

AboutSource Built by g1lg1l

Hackerly is an independent reader for Hacker News, built on the public HN API. Not affiliated with Y Combinator.