Skip to main content

Lokindi command-line client — run every Lokindi service from your terminal.

Project description

Lokindi CLI

Run every Lokindi service — standard & custom encryption, semantic encoding, steganography, Auralith image→audio, storage — straight from your terminal (cmd / PowerShell / macOS Terminal / Linux shell).

pip install lokindi-cli      # or: pipx install lokindi-cli
lokindi login                # then pick a service by number, or:
lokindi --help               # commands are built from the server manifest
lokindi encrypt standard --content "hello" --package <code> --network <code>
lokindi encrypt file --in ./secret.pdf --package <code> --network <code>
lokindi usage quota

After lokindi login you get an interactive menu of the services your account unlocks: pick a number (e.g. Encryption), then choose Text or File. Text input is capped at the platform's per-message character limit (enforced before the request is sent); files are uploaded and encrypted server-side. The same flow is available any time via lokindi services.

Architecture (thin client)

The CLI runs no cryptography locally. It authenticates, fetches a per-account command manifest from GET /api/v1/cli/manifest/, and builds its commands dynamically from that manifest. Every command maps to a REST endpoint on the Lokindi API; the server stays the single source of truth for behaviour, limits, and billing.

  • Auth: JWT Bearer; tokens stored in the OS keyring (Windows Credential Manager / macOS Keychain / Linux Secret Service).
  • Config: ~/.lokindi/config.toml (profiles, API base URL).
  • Manifest cache: ~/.lokindi/manifest.json + ETag, so --help works offline and revalidates cheaply (If-None-Match → 304).

Static commands (login, logout, whoami, version, config) are built in; only service commands come from the manifest.

Development

  • Layout & internals: see ARCHITECTURE.md.
  • Editable install: pip install -e . (installs lokindi and lokindi-admin).
  • Debugging a missing-commands --help: set LOKINDI_DEBUG=1 to see why the dynamic manifest didn't load (offline / not logged in).
  • Switch environments: lokindi config set-url <url> --profile dev then lokindi --profile dev … (tokens are stored per profile).

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

lokindi_cli-0.1.0.tar.gz (217.3 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

lokindi_cli-0.1.0-py3-none-any.whl (276.4 kB view details)

Uploaded Python 3

File details

Details for the file lokindi_cli-0.1.0.tar.gz.

File metadata

  • Download URL: lokindi_cli-0.1.0.tar.gz
  • Upload date:
  • Size: 217.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.2

File hashes

Hashes for lokindi_cli-0.1.0.tar.gz
Algorithm Hash digest
SHA256 a2a01cef5a4430704d56a9ec225261a7d8c4e81ad22c35dc8f3b8f624616d495
MD5 3f89aa3b7a95f14f1ac08526d82ae879
BLAKE2b-256 a76724961115c81f20660a6c5fa87964e6332f1c0df4ca3724d4ed3838f0914d

See more details on using hashes here.

File details

Details for the file lokindi_cli-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: lokindi_cli-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 276.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.2

File hashes

Hashes for lokindi_cli-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 56082110455a0b227be610589c1787411541a582f9a5049f0a1c71cbbbfe7bfe
MD5 211ccd1ce7c564591198794a350d4366
BLAKE2b-256 a05af3da1ea68c8dc3a094ee0243312dd8b0a41ecf1ff36ef3ecb6f3147cff18

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page