Skip to main content

OctoTrack

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.

branches

Grabs all the branches for a repository.

Command Description
octotrack branches [owner/repo] Get on or all the branches of a commit repository
Flag Description
-b, --branch Choose a branch to see (will output more text)

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.

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

issues

Get all the issues for a repository.

Command Description
octotrack issues [owner/repo] View Issues for a repository
Flags Description
--state Define a state to use to filter issues (default: all). Options: all, open, closed.

pr

Get and view all the pull requests for a repository.

Command Description
octotrack pr [owner/repo] View Pull Requests for a repositry
Flags Description
--state Define a state to use to filter issues (default: all). Options: all, open, closed.

releases

Get and view all the releases for a repository.

Command Description
octotrack releases [owner/repo] Get the releases for a repository

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.

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.

tags

View the newest tags for a repository.

Command Description
octotrack tags [owner/repo] View the latest tags for a repository

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.4.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for OctoTrack 0.4.0
File Size Uploaded Provenance Actions
octotrack-0.4.0.tar.gz 16.7 kB With provenance Details for octotrack-0.4.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for OctoTrack 0.4.0
File Interpreter ABI Platform Actions
octotrack-0.4.0-py3-none-any.whl Python 3 none any Details for octotrack-0.4.0-py3-none-any.whl

Total release size: 44.3 kB

Release files / octotrack-0.4.0.tar.gz

Download URL octotrack-0.4.0.tar.gz
Size 16.7 kB
Tags Source
SHA-256 checksum
How to use checksums
a1cff018a49c2cf17c4741afc6e9795361e505cd6f5c3dcf25afbe0f410e2dec
BLAKE2b-256 checksum
How to use checksums
cf8a355260b27c1541911bb8019811d2ec56faef88f3de651dd5d683835ed47a
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 25, 2026.

Transparency log

Release files / octotrack-0.4.0-py3-none-any.whl

Download URL octotrack-0.4.0-py3-none-any.whl
Size 27.6 kB
Tags Python 3
SHA-256 checksum
How to use checksums
7bf7f6589f0c70f5b286be1e6c9787be68ec79befc850f9266e04ab4cb77efe8
BLAKE2b-256 checksum
How to use checksums
3c1bc2d0d91915b45e5d9424aa88c10cdc835890c171d59d7937671e570669e3
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 25, 2026.

Transparency log

Security for OctoTrack 0.4.0

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.

Select from 2 files

Attestation for octotrack-0.4.0.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 25, 2026.

Transparency log

A 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.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page