Skip to main content

Automated release notes generator for Git repositories.

Project description

HelixCommit

CI Python Version License: MIT Code style: Ruff

HelixCommit turns Git history into polished, publish-ready release notes. It understands Conventional Commits, enriches entries with GitHub pull requests, and can summarize changes with OpenAI-compatible LLMs.

Features

  • Automated change log -> Build structured release notes from commits and tags.
  • AI summarization -> Optional OpenAI/OpenRouter support with caching to minimize costs.
  • AI Commit Generation -> Generate commit messages from staged changes with a free AI model.
  • Conventional Commits friendly -> Detects types, scopes, and breaking changes automatically.
  • GitHub enrichment -> Resolves pull requests and links commits for richer context.
  • Multiple outputs -> Render Markdown, HTML, or plain text.
  • Fast + resilient -> Uses GitPython when available with CLI fallback.

Zero-config Quickstart

pip install helixcommit

# Generate release notes with no external services
# - works offline
# - skips GitHub API calls
helixcommit generate --unreleased --no-prs --format markdown > RELEASE_NOTES.md

# Or for a specific tag range
helixcommit generate --since-tag v1.2.0 --until-tag v1.2.1 --format html --out dist/release.html

# Generate a commit message from staged changes (uses free AI model)
helixcommit generate-commit

From source (development)

git clone https://github.com/bjornefisk/helixcommit.git
cd helixcommit
python -m venv .venv
source .venv/bin/activate
pip install -e ".[dev]"

# Smoke test
helixcommit --help
pytest -q

Common options

  • --repo PATH – Point to a different repository (defaults to the current directory).
  • --since / --until – Limit the commit range to specific refs or SHAs.
  • --no-prs – Skip GitHub API lookups.
  • --no-include-scopes – Hide commit scopes in output.

Optional environment variables

  • OPENAI_API_KEY – Required only when using --use-llm with the OpenAI provider.
  • OPENROUTER_API_KEY – Required only when using --use-llm --llm-provider openrouter.
  • GITHUB_TOKEN – Optional; improves GitHub API rate limits when fetching PR data. Not required when using --no-prs.

Development

git clone https://github.com/bjornefisk/gitreleasegen.git
cd gitreleasegen
python -m venv .venv
source .venv/bin/activate
pip install -e ".[dev]"

# Lint and format
ruff check .
ruff format .

# Run tests with coverage
pytest --cov=gitreleasegen

Contributing

Contributions are welcome! Please open an issue to discuss major changes first. Make sure pre-commit hooks pass before submitting a pull request.

License

Distributed under the MIT License. See LICENSE for details.

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

helixcommit-1.2.1.tar.gz (89.5 kB view details)

Uploaded Source

Built Distribution

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

helixcommit-1.2.1-py3-none-any.whl (81.6 kB view details)

Uploaded Python 3

File details

Details for the file helixcommit-1.2.1.tar.gz.

File metadata

  • Download URL: helixcommit-1.2.1.tar.gz
  • Upload date:
  • Size: 89.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.7

File hashes

Hashes for helixcommit-1.2.1.tar.gz
Algorithm Hash digest
SHA256 217630e54359e7af73fa93f1b0091c2385d4bd8262c32ddc3fc08cb0a403c3fc
MD5 9c6defcfc658cf1a9eb4964e5e2a86b1
BLAKE2b-256 8747bb9f42257705ae36c478a8956cb0b7e13b407a4118f6b7f4f71f21010f0d

See more details on using hashes here.

File details

Details for the file helixcommit-1.2.1-py3-none-any.whl.

File metadata

  • Download URL: helixcommit-1.2.1-py3-none-any.whl
  • Upload date:
  • Size: 81.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.7

File hashes

Hashes for helixcommit-1.2.1-py3-none-any.whl
Algorithm Hash digest
SHA256 c48d2c855aa075d9ef7d79eb194d6b77a7e65f1ec8af7943a3f70687a6c739b8
MD5 788f5f2911810aeecd87b0172ca5d1d5
BLAKE2b-256 b3ca34c722d4aa5ff8b88ee3f4cc053c6da62759fc0648f2b7be8fbce1862753

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