Skip to main content

Rokovo CLI

Project description

Rokovo CLI

Rokovo CLI Logo

The Rokovo CLI brings a simple AI agent on your command line to help you with documenting pure source codes for both developers and end users.

Quick Start

You can install the CLI using PIP:

pip install rokovo

To extract FAQs from your codebase, run the following command:

rokovo --context-dir ./context.md --root-dir ./path/to/project --api-key <your-openrouter-api-key>

[!NOTE] If you wan to lookup more commands take a look at rokovo --help.

Context file

Context file is a markdown file that contains a high level description of your project. This will help the AI agent to understand the project better and generate more accurate documentation. A basic model of writing a context file is as follows:

  1. Project name and a brief description.
  2. Project structure and important files.
  3. Important keywords and terminologies.
  4. A set of questions as example to help agent with finding questions and answers.

An example context file can be found on examples_context.md.

LLM

We use the OpenRouter API as default and you can use --api-key flag to pass your API key. If you are using another provider feel free to pass ``--base-urland--model` flags to configure your provider.

Any provider compatible with OpenAI API is accepted and you can use local models too.

License

MIT License - see LICENSE.

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

rokovo-0.1.0.tar.gz (84.8 kB view details)

Uploaded Source

Built Distribution

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

rokovo-0.1.0-py3-none-any.whl (7.6 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: rokovo-0.1.0.tar.gz
  • Upload date:
  • Size: 84.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.12.3

File hashes

Hashes for rokovo-0.1.0.tar.gz
Algorithm Hash digest
SHA256 225b087632c00e0975f7e9040e4cabf1295179228d4483730286e371d11a3205
MD5 f5ad63eb7ac2c8cd1ac7d1c49dcf36c4
BLAKE2b-256 869fa51c1cbd756a47043788b71b45bfcb73c3532caaef549f29e2f0c35a93e5

See more details on using hashes here.

File details

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

File metadata

  • Download URL: rokovo-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 7.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.12.3

File hashes

Hashes for rokovo-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 7e3fe8042a29fd4ff58123ae4f2948fa38bee558666622e3ac0803bfb10b5e3d
MD5 797eaa98a5e4392ea515ad850ebb6070
BLAKE2b-256 e561f2558699cfd6fb8c36541f8e4dc3e3fd86b8fbade2562be46110ee75ca02

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