A simple experimental CLI tool written in Rust to lock and unlock directories using a password-based system. Ideal for basic personal data storage in a custom vault-like file format.
⚠️ Warning: This project is experimental and not secure for storing sensitive or important data at the moment.
- 📦 Create a locked archive from any directory
- 🔓 Unlock and extract the archive with the correct password
- 🗂️ Stores the entire folder structure and file contents
- 🧪 Uses a custom JSON-based data format internally
rax-locker create <SRC_PATH> <PASSWORD>- Reads the folder and all of its contents from
<SRC_PATH> - Serializes the structure and content into a custom data format (stored as JSON)
- Saves it to a
.lockedfile
rax-locker read <LOCKED_FILE_SRC_PATH> <PASSWORD>- Parses the JSON file
- Validates the password
- Recreates the original directory structure and files if the password matches
- Not secure: Currently uses plain JSON and simple password matching
- No encryption or obfuscation (yet)
- Meant for experimentation and hobby use only
- Add basic encoding/decoding using password
- Improve security for storage and retrieval
- Create a GUI version
- Add more CLI features (e.g., list contents, delete, rename)
- Consider encryption for secure storage
If the project gets 10+ stars, I plan to implement these improvements!
Contributions are welcome! If you're interested in improving the project or adding features, feel free to:
- Fork the repo
- Create a branch
- Submit a pull request
You’ll need Rust installed.
cargo install --path .Or clone and run directly:
git clone https://github.com/mahikoishor/rax-locker.git
cd rax-locker
cargo run -- create c:/my-folder mypasswordThis project is released under the MIT License.
Have ideas, suggestions, or found a bug? Open an issue or start a discussion!
Would you like me to generate a logo or badge for this project?