JSPM

cloakx

1.0.2
  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 2
  • Score
    100M100P100Q25854F
  • License MIT

Cloakx is a secure, lightweight CLI tool to manage your development secrets locally — no cloud, no hassle. Store, retrieve, and manage secrets across projects with encryption and ease. 🔐 Perfect for solo devs, indie hackers, and teams who value speed, simplicity, and security.

Package Exports

    This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (cloakx) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

    Readme

    🕶️ Cloakx CLI

    Cloakx is a secure, lightweight, and developer-friendly CLI tool for managing encrypted key-value data locally. It's like your personal developer vault — simple, fast, and customizable!

    🔐 Perfect for storing API keys, tokens, secrets, or any sensitive data from the terminal.


    ✨ Features

    • 🔐 Login system using vault password
    • 💾 Securely store and retrieve key-value pairs
    • ✏️ Update existing secrets easily
    • ❌ Delete secrets by key
    • 📜 List all stored keys
    • 📂 Configurable JSON-based local vault
    • ⚙️ Fully extensible and modular design

    📦 Installation

    Install cloakx globally using npm:

    npm install -g cloakx

    🚀 Getting Started

    Here are the basic commands you can use after installing cloakx.

    🔐 Login

    cloakx login

    Enter your vault password. This creates a secure session.


    📥 Add a Secret

    cloakx add <key>

    Add a new secret with a key name. You'll be prompted to enter the value.


    🔍 Get a Secret

    cloakx get <key>

    Fetch the value stored under the specified key.


    📝 Update a Secret

    cloakx update <key>

    Update an existing key with a new value.


    ❌ Delete a Secret

    cloakx delete <key>

    Remove a secret by its key.


    📜 List All Keys

    cloakx list

    Show all saved keys in the vault.


    🔓 Logout

    cloakx logout

    Destroy the current session and clear temporary credentials.


    ⚙️ Configuration (Optional)

    • The vault and session files are stored locally:
      • Vault: ~/.cloakx/vault.json
      • Session: ~/.cloakx/session.json

    🛠 Example Workflow

    cloakx login
    cloakx add github_token
    cloakx get github_token
    cloakx update github_token
    cloakx list
    cloakx delete github_token
    cloakx logout

    🔗 GitHub Repository

    👉 https://github.com/pravinxdev/cloak

    Star ⭐ the repo, report issues, or contribute!


    🤝 Contributing

    We welcome all contributions — from code improvements to feature suggestions or even documentation edits!

    Steps to Contribute:

    1. 🍴 Fork the repo
    2. 🔧 Create your feature branch (git checkout -b feature-name)
    3. ✅ Commit your changes (git commit -m 'Add some feature')
    4. 📤 Push to the branch (git push origin feature-name)
    5. 📩 Open a pull request

    📫 Contact

    Want to collaborate, suggest ideas, or just say hi?

    📧 Mail: pravins.dev@gmail.com


    📜 License

    MIT License — free to use, modify, and share.