Envr, a `.env` files manager

After much procrastination working on my second Odin project, I’ve finally completed my first Odin project - envr!

If you’ve ever wanted to back up all the .env files on your computer, without having to run restic on your whole home/projects directory, envr may be for you.

It backs up your .env files to an encrypted database (with 1 or more SSH keys), which you can easily copy to another machine or commit to a remote, private git repo.

Nix users can try it out now with nix run github:sbrow/envr --

I tried to hold myself to the same professional standard of quality that the open source projects I use every day adhere to.

I ported the project from go, which involved dropping the age dependency in favor of a hand-rolled solution (built on top of libsodium).

Please read the AI Disclaimer If you have opinions about AI use.


Thank you gingerbill, and the rest of the Odin team (assuming there is one), for making the most delightful language I’ve yet had the pleasure to deal with.

All in all, it was very fun and surprisingly easy to convert the project to Odin - despite being a WebDev with almost no prior memory management experience.

As a bonus, I was able to drop my number of dependencies from almost 70, down to just 2 - libsodium, and sqlite.

1 Like