An async CLI client for GitHub, built to track commits, pull requests, issues, releases, and general repository activity — straight from your terminal.
OctoTrack talks directly to the GitHub REST API using httpx, so there's no dependency on the gh CLI or any GitHub SDK.
Table of Contents
Installation
Install via pip:
pip install octotrack
Requires Python 3.13+.
Quick Start
# One-time setup: creates config/data directories
octotrack setup
# Add a GitHub personal access token
octotrack config set-token
# Set a default repo so you don't have to type it every time
octotrack repo default JKG-cpu/OctoTrack
# Pull general info on a repo
octotrack repo info
Commands
All commands are grouped under three top-level subcommands: setup, config, and repo. Run octotrack --help, or --help on any subcommand, to see this reference from the CLI itself.
setup
Manages the local files OctoTrack needs to run (config directory, data directory, and env file for your token).
| Command | Description |
|---|---|
octotrack setup |
Creates the config and data directories, and the settings file, if they don't already exist. Safe to run again — existing valid setups are left untouched. |
octotrack setup validate |
Checks that all required paths exist and reports whether a GitHub token is set. |
octotrack setup remove |
Deletes all data and config files created by OctoTrack, after a confirmation prompt. |
config
Reads and writes local configuration, including your GitHub token.
| Command | Description |
|---|---|
octotrack config show |
Prints all current config values. |
octotrack config set-token |
Prompts for a GitHub token and stores it as a local environment variable. Never written to the config file. |
octotrack config set <key> <value> |
Sets a config value directly. Valid keys: default_owner, default_repo, default_pr_state, api_base_url. |
octotrack config clear [--key/-k <key>] |
Resets a single config key to its default. Omit --key to reset the entire config. |
octotrack config path |
Prints the path to the config settings file. |
octotrack config github-token-help |
An explanation on how to create a GitHub Authentication Token |
repo
Fetches and displays information about a GitHub repository.
| Command | Description |
|---|---|
octotrack repo info [owner/repo] |
Shows general repository info: description, language, visibility, stars, forks, license, and README preview. |
octotrack repo default <owner/repo> |
Sets a default owner and/or repo, used whenever owner/repo is omitted from other repo commands. |
octotrack repo readme [owner/repo] |
Fetches and renders just the repository's README. |
octotrack repo contents [owner/repo] [options] |
Lists the contents of a repository. |
repo contents options:
| Flag | Description |
|---|---|
-p, --path <path> |
List contents of a specific folder in the repository. |
-h, --hidden |
Include hidden files (dotfiles) in the listing. |
-l, --list |
Print as a flat list instead of a tree. |
--depth <int> |
How many levels deep to recurse into subdirectories (default: 3). |
Every repo command that accepts owner/repo will fall back to your configured default (set via octotrack repo default) for whichever part — owner, repo, or both — you omit.
commits
Get the commits for a repository
| Command | Description |
|---|---|
octotrack commits [owner/repo] |
Shows the commits for the current repository |
| Flag | Description |
|---|---|
-a, --all |
List every single commit |
Every commits command that accepts owner/repo will fall back to your configured default (set via octotrack repo default) for whichever part - owner, repo, or both - you omit.
Configuration
OctoTrack stores its config in an OS-appropriate location via platformdirs. Run octotrack config path to see the exact file on your system.
Your GitHub token is never stored in the config file — it lives exclusively in a local .env file managed by octotrack config set-token, and is loaded as an environment variable at runtime.
License
MIT — see LICENSE for details.
Contributing
See Contributing.md for details.
Metadata
Release files for OctoTrack 0.3.2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| octotrack-0.3.2.tar.gz | 12.6 kB | With provenance | Details for octotrack-0.3.2.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| octotrack-0.3.2-py3-none-any.whl | Python 3 | none | any | Details for octotrack-0.3.2-py3-none-any.whl |
Total release size: 33.4 kB
Release files / octotrack-0.3.2.tar.gz
| Download URL | octotrack-0.3.2.tar.gz |
|---|---|
| Size | 12.6 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
a1cfa725fd9e3907577af6a7b3685722964265e1e535c8ab180808d70873e494
|
|
BLAKE2b-256 checksum How to use checksums |
8de370b7a8d77346814a1ed023a50c6b69172de9e1ef6455a497ace55c0529fb
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Aug 20, 2026.
Transparency logRelease files / octotrack-0.3.2-py3-none-any.whl
| Download URL | octotrack-0.3.2-py3-none-any.whl |
|---|---|
| Size | 20.8 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
8b402ee2b37de78de2894f5e61f722935ff90a8267b24b69bceb113f43175680
|
|
BLAKE2b-256 checksum How to use checksums |
02f017bce671c32bde156398f8920fa3617b6b9f386d08cebf1590af818db157
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Aug 20, 2026.
Transparency logSecurity for OctoTrack 0.3.2
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
Full provenance
Both files in this release have been uploaded with provenance metadata.
Attestation for octotrack-0.3.2.tar.gz
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Aug 20, 2026.
Transparency logA note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.