Skip to content
rvenvPublic

About

rvenv is a minimalist, portable shell-layer/cli-interface, that turns any terminal into a personal sanctuary. Your identity, configurations and tools in one encrypted vault.

Topics

Resources

Code of conduct

Contributing

Security policy

Stars

6 stars

Watchers

3 watching

Forks

🍃 rvenv

Logo
rvenv

 

rvenv is a lightweight shell-based framework designed to manage project-specific identities and secure environment variables without polluting your global configuration. It allows developers to "step into" a workspace where the `PATH`, `PS1` and encrypted secrets are automatically scoped to that specific project.

Github Logo NPM Logo Discord Logo Twitter Logo Mastodon Logo Reddit Logo

Join our community!

 

Key Features

  • Encrypted Vault: Store sensitive environment variables securely with AES-256 or ChaCha20 encryption.
  • Master Password Storage: Optionally store your vault password locally (~/.config/rvenv/.vault_pass) for seamless session entry.
  • Interactive Setup: Simple installation process to configure your identity and security preferences.
  • Identity Management: Project-specific user identities (Name/Handle) scoped to your workspace.
  • Environment Isolation: Automatic PATH and PS1 scoping when entering a project.
  • Identifier Validation: Ensures all secret keys are valid Bash identifiers to prevent shell errors.
  • Modular Architecture: Clean separation of concerns with router, engine, and vault components.

Quick Start

For Bash

git clone https://github.com/rvenv/rvenv.git
cd rvenv
make install

For PowerShell

git clone https://github.com/rvenv/rvenv.git
cd rvenv
./install.ps1

Common Usage

Initialize a Project

rvenv init

Store Secrets

rvenv put API_KEY "your-secret-token"

Enter Environment

# Bash
rvenv enter

Commands Reference

Command Description
rvenv user --name NAME Set your display name
rvenv user --username HANDLE Set your username/handle
rvenv config --encryption METHOD Choose encryption backend
rvenv status Show current identity and session info
rvenv init Initialize vault in current directory
rvenv put KEY VALUE Store encrypted secret
rvenv list List vault keys
rvenv enter Start environment session with decrypted secrets
rvenv uptime Show current session duration
rvenv --version Show version information

Star History

Star History Chart

About

rvenv is a minimalist, portable shell-layer/cli-interface, that turns any terminal into a personal sanctuary. Your identity, configurations and tools in one encrypted vault.

Topics

Resources

Code of conduct

Contributing

Security policy

Stars

6 stars

Watchers

3 watching

Forks

Releases

Sponsor this project

Contributors

Languages