Skip to content
/ naru Public

🛡️ High-performance, security-first CLI tool for structured and schema-aware application configuration management.

License

Notifications You must be signed in to change notification settings

Luvion1/naru

Naru Logo

🛡️ Naru

Securing the Backbone of Modern Applications

Rust 2024 AES-256-GCM Audit Chained License

Naru is an industrial-grade, security-first configuration engine. Built with the speed and safety of Rust, it provides a tamper-evident, schema-enforced ecosystem for managing application secrets and environment variables in high-stakes production environments.

Explore DocumentationReport an IssueRequest a Feature


🔥 Why Naru?

Feature Description
Zero-Trust Encryption All sensitive data is protected by AES-256-GCM with SHA-256 key derivation.
Immutable Audit Trail Every mutation is cryptographically signed and chained, creating a tamper-evident history.
Industrial Validation Enforce strict types, numeric ranges, and Regex patterns before data ever leaves the CLI.
Atomic & Thread-Safe OS-level advisory locking ensures zero data corruption during concurrent operations.
Modern Interop Native handling of .env, YAML, JSON, and TOML with intelligent merging logic.

🚀 Getting Started in 3 Steps

1. Installation

Build the binary optimized for your architecture:

cargo build --release --locked
sudo cp target/release/naru /usr/local/bin/

2. Initialize your Vault

export NARU_ENCRYPTION_KEY="your-strong-master-password"
naru init

3. Secure a Configuration

# Define the validation rule
naru schema add --key STRIPE_KEY --type string --secret --pattern "^sk_live_.*$"

# Set the value (automatically encrypted and validated)
naru set STRIPE_KEY=sk_live_51Pq... --env production

🏛️ Architecture at a Glance

Naru follows a Clean Architecture pattern, isolating its cryptographic core from external I/O.

  • src/core: The Stateless Engine. Pure business logic, validation, and crypto.
  • src/cli: The Interface. High-performance command parsing and TUI.
  • src/persistence: The Safe. Atomic file operations and OS-level locking.

🤝 Contributing

We believe in open security. Check our Contributing Guide to see how you can help strengthen the Naru ecosystem.


Developed with precision for the security-conscious engineer.
Released under the MIT License.

About

🛡️ High-performance, security-first CLI tool for structured and schema-aware application configuration management.

Topics

Resources

License

Code of conduct

Contributing

Security policy

Stars

Watchers

Forks

Packages

No packages published

Contributors 2

  •  
  •  

Languages