{"id":47813586,"url":"https://github.com/sa001gar/kookie-cli","last_synced_at":"2026-04-03T18:19:32.522Z","repository":{"id":333368323,"uuid":"1137052335","full_name":"sa001gar/kookie-cli","owner":"sa001gar","description":"Kookie - A secure, local-first, encrypted secret manager for developers.","archived":false,"fork":false,"pushed_at":"2026-01-18T22:03:23.000Z","size":523,"stargazers_count":1,"open_issues_count":1,"forks_count":0,"subscribers_count":0,"default_branch":"master","last_synced_at":"2026-01-19T04:03:56.387Z","etag":null,"topics":["aes-gcm","argon2","base64","clap-rs","cli","crates-io","jwt-secret-generator","password-manager","rand","rust","serde","serde-serialization","unix","unix-cli","windows","windows-cli"],"latest_commit_sha":null,"homepage":"","language":"Rust","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/sa001gar.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2026-01-18T20:33:27.000Z","updated_at":"2026-01-18T22:12:26.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/sa001gar/kookie-cli","commit_stats":null,"previous_names":["sa001gar/kookie-cli"],"tags_count":2,"template":false,"template_full_name":null,"purl":"pkg:github/sa001gar/kookie-cli","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sa001gar%2Fkookie-cli","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sa001gar%2Fkookie-cli/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sa001gar%2Fkookie-cli/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sa001gar%2Fkookie-cli/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/sa001gar","download_url":"https://codeload.github.com/sa001gar/kookie-cli/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sa001gar%2Fkookie-cli/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31368163,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-03T17:53:18.093Z","status":"ssl_error","status_checked_at":"2026-04-03T17:53:17.617Z","response_time":107,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["aes-gcm","argon2","base64","clap-rs","cli","crates-io","jwt-secret-generator","password-manager","rand","rust","serde","serde-serialization","unix","unix-cli","windows","windows-cli"],"created_at":"2026-04-03T18:19:29.567Z","updated_at":"2026-04-03T18:19:32.503Z","avatar_url":"https://github.com/sa001gar.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003cp align=\"center\"\u003e\n  \u003cimg src=\"assets/logo.png\" alt=\"Kookie Logo\" width=\"200\"/\u003e\n\u003c/p\u003e\n\n\u003ch1 align=\"center\"\u003eKookie\u003c/h1\u003e\n\n\u003cp align=\"center\"\u003e\n  \u003cstrong\u003eA secure, local-first, encrypted secret manager for developers.\u003c/strong\u003e\n\u003c/p\u003e\n\n\u003cp align=\"center\"\u003e\n  \u003ca href=\"#installation\"\u003eInstallation\u003c/a\u003e •\n  \u003ca href=\"#quick-start\"\u003eQuick Start\u003c/a\u003e •\n  \u003ca href=\"#commands\"\u003eCommands\u003c/a\u003e •\n  \u003ca href=\"#security\"\u003eSecurity\u003c/a\u003e •\n  \u003ca href=\"#architecture\"\u003eArchitecture\u003c/a\u003e\n\u003c/p\u003e\n\n---\n\n## Why \"Kookie\"?\n\nThe name **Kookie** holds a special meaning. It's a word that reminds me of something irreplaceable in my life-something I never want to forget. Every time I hear it, it brings a sense of warmth and purpose. It's a word I never get tired of.\n\nBeyond the personal connection, \"Kookie\" is derived from **cookie**-just like how browsers store cookies to remember you, Kookie stores your secrets to protect you. But unlike browser cookies, your secrets never leave your machine unencrypted.\n\n---\n\n## What is Kookie?\n\nAs a developer, you juggle countless secrets every day: API keys, database passwords, JWT secrets, OAuth tokens, SSH keys, and private notes. Over time, these get scattered across `.env` files, random text files, browser password managers, and that one sticky note you swore you'd throw away.\n\n**Kookie** solves this chaos.\n\nIt's a **command-line vault** that lives on your machine. Everything is encrypted with military-grade cryptography. Your master password is the only key-it's never stored, never transmitted, never recoverable. If you forget it, your secrets are gone forever. That's not a bug; that's a feature.\n\nKookie is designed for developers who want:\n\n- **One place** for all secrets\n- **Zero trust** in cloud services\n- **Full control** over their data\n- **Developer-friendly** CLI workflows\n\n---\n\n## Features\n\n| Feature                   | Description                                                      |\n| ------------------------- | ---------------------------------------------------------------- |\n| **Strong Encryption**     | AES-256-GCM with Argon2id key derivation                         |\n| **Multiple Secret Types** | Passwords, API keys, notes, database credentials, tokens         |\n| **Session Management**    | Configurable unlock timeout (don't re-enter password every time) |\n| **Developer Tools**       | JWT secret generator, random key generator, password generator   |\n| **Clipboard Support**     | Copy secrets directly to clipboard with one command              |\n| **Self-Installing**       | Run `kookie install` and it adds itself to PATH                  |\n| **Cross-Platform**        | Works on Windows, Linux, macOS, and even Termux                  |\n\n---\n\n## Installation\n\n### Install from crates.io (Easiest)\n\n```bash\ncargo install kookie\n```\n\nThat's it! Kookie is now available globally.\n\n### Download Binary\n\nDownload `kookie.exe` from [Releases](https://github.com/sa001gar/kookie-cli/releases), then run:\n\n```bash\n# Self-install: copies to system location and adds to PATH\nkookie install\n```\n\nRestart your terminal and `kookie` will be available globally.\n\n### Build from Source\n\n```bash\n# Clone and build\ngit clone https://github.com/sa001gar/kookie-cli\ncd kookie-cli\ncargo build --release\n\n# Self-install (adds to PATH automatically)\n./target/release/kookie install\n```\n\n| Platform    | Install Location         | PATH Update                                       |\n| ----------- | ------------------------ | ------------------------------------------------- |\n| Windows     | `%LOCALAPPDATA%\\kookie\\` | Windows Registry                                  |\n| Linux/macOS | `~/.local/bin/`          | Shell config (`.bashrc`, `.zshrc`, `config.fish`) |\n\n### Uninstall\n\n```bash\nkookie uninstall\n```\n\n---\n\n## Quick Start\n\n```bash\n# Initialize your vault (creates encrypted storage)\nkookie init\n\n# Add a password\nkookie add --password\n\n# List all secrets\nkookie list\n\n# Get a specific secret\nkookie get my-password-name\n\n# Copy to clipboard\nkookie get my-password-name --copy\n```\n\n---\n\n## Commands\n\n### Vault Management\n\n```bash\nkookie init              # Initialize a new vault\nkookie init --force      # Reinitialize (deletes existing)\nkookie lock              # Lock the vault\nkookie unlock            # Unlock for configured duration\nkookie unlock -t 30      # Unlock for 30 minutes\n```\n\n### Adding Secrets\n\n```bash\nkookie add --password    # Add a password\nkookie add --api-key     # Add an API key\nkookie add --note        # Add a private note\nkookie add --db          # Add database credentials\nkookie add --token       # Add a token (JWT, OAuth, etc.)\n```\n\n### Listing Secrets\n\n```bash\nkookie list              # List all secrets\nkookie list --passwords  # List only passwords\nkookie list --api-keys   # List only API keys\nkookie list --notes      # List only notes\nkookie list --db         # List only database credentials\nkookie list --tokens     # List only tokens\n```\n\n### Retrieving Secrets\n\n```bash\nkookie get \u003cname-or-id\u003e        # Display a secret\nkookie get \u003cname-or-id\u003e --copy # Copy to clipboard\n```\n\n### Deleting Secrets\n\n```bash\nkookie delete \u003cname-or-id\u003e         # Delete with confirmation\nkookie delete \u003cname-or-id\u003e --force # Delete without confirmation\n```\n\n### Generating Secrets\n\n```bash\nkookie generate jwt                    # Generate JWT secret (256-bit)\nkookie generate key                    # Generate random key (32 bytes)\nkookie generate key --length 64        # Generate 64-byte key\nkookie generate password               # Generate password (16 chars)\nkookie generate password --length 24   # Generate 24-char password\nkookie generate password --symbols     # Include symbols\nkookie generate api-key                # Generate API key with kk_ prefix\n```\n\n### Configuration\n\n```bash\nkookie config --show         # Show current configuration\nkookie config --timeout 10   # Set unlock timeout to 10 minutes\nkookie config --timeout 0    # Disable session (always ask password)\n```\n\n---\n\n## Architecture\n\n\u003cp align=\"center\"\u003e\n  \u003cimg src=\"assets/architecture.png\" alt=\"Kookie Architecture\" width=\"600\"/\u003e\n\u003c/p\u003e\n\nKookie is built with a modular architecture:\n\n- **CLI Interface**: Parses commands using `clap`\n- **Command Handler**: Routes to appropriate command modules\n- **Session Manager**: Handles unlock timeout and key caching\n- **Vault Manager**: Manages encrypted storage and CRUD operations\n- **Crypto Engine**: Provides encryption (AES-256-GCM) and key derivation (Argon2id)\n\n---\n\n## Security\n\n### Encryption\n\n| Component          | Algorithm   | Parameters                                |\n| ------------------ | ----------- | ----------------------------------------- |\n| **Key Derivation** | Argon2id    | 64 MB memory, 3 iterations, 4 parallelism |\n| **Encryption**     | AES-256-GCM | Random 96-bit nonce per encryption        |\n\n### Storage\n\n- All secrets are encrypted before being stored\n- The vault file (`~/.kookie/vault.json`) contains only encrypted data\n- Master password is never stored; only used to derive the encryption key\n\n### Session\n\n- Unlock session is stored with machine-specific obfuscation\n- Automatically expires after configured timeout\n- Can be manually cleared with `kookie lock`\n\n---\n\n## Vault Location\n\n| Platform    | Location                       |\n| ----------- | ------------------------------ |\n| Windows     | `C:\\Users\\\u003cusername\u003e\\.kookie\\` |\n| Linux/macOS | `~/.kookie/`                   |\n\n**Files:**\n\n- `vault.json` - Encrypted vault data\n- `config.json` - Configuration settings\n- `.session` - Temporary session data (auto-expires)\n\n---\n\n## Future Roadmap\n\n- [ ] Cloud sync (`kookie push/pull`) with Supabase\n- [ ] Chrome extension for browser integration\n- [ ] Merge conflict resolution for multi-device sync\n- [ ] Team sharing with end-to-end encryption\n\n---\n\n## Contributing\n\nContributions are welcome! Feel free to:\n\n1. Fork the repository\n2. Create a feature branch (`git checkout -b feature/amazing-feature`)\n3. Commit your changes (`git commit -m 'Add amazing feature'`)\n4. Push to the branch (`git push origin feature/amazing-feature`)\n5. Open a Pull Request\n\nFor major changes, please open an issue first to discuss what you would like to change.\n\n---\n\n## Author\n\n**Sagar Kundu**  \nGitHub: [@sa001gar](https://github.com/sa001gar)\n\n---\n\n## License\n\nThis project is licensed under the [MIT License](LICENSE) - see the [LICENSE](LICENSE) file for details.\n\nYou are free to use, modify, and distribute this software for personal or commercial purposes.\n\n---\n\n\u003cp align=\"center\"\u003e\n  \u003cstrong\u003eMade with purpose. Built with Rust. 🦀\u003c/strong\u003e\n\u003c/p\u003e\n\n\u003cp align=\"center\"\u003e\n  \u003ca href=\"https://github.com/sa001gar/kookie-cli\"\u003eGitHub\u003c/a\u003e •\n  \u003ca href=\"https://crates.io/crates/kookie\"\u003ecrates.io\u003c/a\u003e •\n  \u003ca href=\"https://github.com/sa001gar/kookie-cli/issues\"\u003eIssues\u003c/a\u003e\n\u003c/p\u003e\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsa001gar%2Fkookie-cli","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsa001gar%2Fkookie-cli","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsa001gar%2Fkookie-cli/lists"}