Doctrace-AI is an AI-powered tool that generates changelog entries automatically based on Git commit diffs. It listens for GitHub webhooks and updates your repository with the generated documentation.
- Merge your feature branch into
main - Webhook detects the push to
mainand appends a new entry under## [Unreleased]inCHANGELOG.md - A fresh branch (
auto/docs-XXXX) is created frommaincontaining the updated changelog - A PR is opened from
auto/docs-XXXXback tomain - When that PR is merged, a webhook converts
## [Unreleased]into## YYYY-MM-DD(today’s date) and resets an empty## [Unreleased]section - The release bump is committed and pushed automatically
- GitHub webhooks
- push to
main→ generates## [Unreleased]entry and opens an auto-PR - pull_request merged from
auto/docs-…→ converts## [Unreleased]into## YYYY-MM-DD
- push to
- Diff parsing using GitPython
- Automated changelog generation in Keep a Changelog style
- Automatic PRs to keep your
CHANGELOG.mdalways up-to-date - Fully automated release versioning workflow
- Python 3.12
- FastAPI – webhook receiver & HTTP API
- GitPython – diff parsing and Git operations
- OpenAI API – text generation for changelog entries
- Poetry – dependency management
- Docker (optional)
- Prevent double creation of
auto/docs-…branches: ensure only one autogenerated branch is created per push tomain.

