lazy-locker-0.0.4 is not a library.
Visit the last successful build:
lazy-locker-0.0.7
🔒 Lazy-Locker
A secure local secrets manager with TUI interface and SDK support.
Lazy-Locker replaces plain-text .env files with encrypted local storage, providing seamless integration with Python and JavaScript/TypeScript projects.
✨ Features
- 🔐 AES-256-GCM encryption for all secrets at rest
- 🔑 Argon2id key derivation for secure passphrase-based encryption
- 🖥️ Terminal UI (TUI) for easy secret management
- 🐍 Python SDK - drop-in replacement for
python-dotenv - 📦 JavaScript/TypeScript SDK - drop-in replacement for
dotenv - ⏰ Expiration dates for time-limited secrets
- 🔍 Usage tracking - see which files use your secrets
- 📋 Clipboard support - copy secrets with one keypress
- 🤖 Agent-based architecture - no passphrase needed after initial unlock
🚀 Quick Start
Installation
# Clone and build
# Install globally
First Run
# Start Lazy-Locker and create your passphrase
Press a to add your first secret, then use it in your code:
Python:
=
JavaScript/TypeScript:
import from 'lazy-locker';
await ;
const apiKey = process.env.MY_API_KEY;
Run your scripts normally - no wrapper needed!
📖 Documentation
⌨️ Keyboard Shortcuts
| Key | Action |
|---|---|
↑/↓ |
Navigate secrets |
a |
Add new secret |
e |
Reveal/hide value |
y |
Copy to clipboard |
d |
Delete secret |
: |
Open command modal |
h |
Show help |
q |
Quit |
Commands (press : to open)
| Command | Description |
|---|---|
:env |
Generate .env file (plain text) |
:bash |
Export secrets to ~/.bashrc |
:zsh |
Export secrets to ~/.zshrc |
:fish |
Export secrets to fish config |
:json |
Export secrets as JSON |
:clear |
Remove exports from shell profiles |
🔧 CLI Commands
📦 SDK Installation
Python:
# or: uv add lazy-locker
JavaScript/TypeScript:
# or: pnpm add lazy-locker
# or: bun add lazy-locker
🔐 Security
- Encryption: AES-256-GCM
- Key Derivation: Argon2id
- Memory Safety: Sensitive data zeroized after use
- No Plain Text: Secrets never written to disk unencrypted
See Security Documentation for details.
🤝 Contributing
Contributions are welcome! Please feel free to submit a Pull Request.
- Fork the repository
- Create your feature branch (
git checkout -b feature/amazing-feature) - Commit your changes (
git commit -m 'Add amazing feature') - Push to the branch (
git push origin feature/amazing-feature) - Open a Pull Request
📄 License
This project is licensed under the MIT License - see the LICENSE file for details.
🙏 Acknowledgments
- Built with Ratatui for the TUI
- Cryptography by RustCrypto
- Developed with assistance from Claude Opus 4.5 (Anthropic) - AI pair programming was used ethically to accelerate development while maintaining code quality and security best practices
👤 Author
William Derue (@WillIsback)