Show HN: Cuenv (CUE for to replace direnv, Just, and more)

  • Posted 7 hours ago by rawkode
  • 1 points
https://github.com/cuenv/cuenv
Cuenv uses CUE configuration files to define environment variables and project tasks. When you cd into a project directory, the environment defined in *.cue is loaded automatically, and cleaned up on exit.

It supports variable interpolation, secret resolution (e.g. from 1Password or GCP Secrets Manager), per shell hooks, and secure sandboxed execution via cuenv run.

It integrates with Nix, devenv, and more. It’s also monorepo native, due to how CUE works by default

Check it out: https://github.com/cuenv/cuenv

Feedback welcome; especially on real world usage, shell integration, or improvements to the UX.

0 comments