OverviewDeveloperHacker

Pocket Changelog: Turn Git History into Release Notes

Beginner0 enrolled · 0 submitted

Want in? Run /enroll in Discord to claim this tier before the build window closes.

The brief

Build a small CLI that reads the commit history of any local git repo and produces a tidy Markdown changelog.

Core scope:

  • Read commits between two tags, or the last N commits.
  • Group them by simple prefixes such as feat:, fix: and docs:, with an "Other" bucket for the rest.
  • Print or write a CHANGELOG.md section with a date and version heading.

Use any language you like. You only need the git command already on your machine, with no APIs or accounts. A sample repo with messy commit messages is a great test fixture. Finishing early is completely normal.

Stretch (optional): a --format flag for plain text, or a config file for custom prefixes.

Deliverables

  • A public repo with the working CLI and a README showing install and usage
  • Generated changelog output from at least one real or sample repo, included as an example file
  • At least 3 small tests or a documented manual test checklist
  • A short note in the README on what you would add next

Resources

  • Git docs: git log --pretty=format for machine-readable output
  • Keep a Changelog (keepachangelog.com) for formatting ideas
  • Conventional Commits spec (conventionalcommits.org)
  • Your language's argument-parsing library (argparse, clap, commander, cobra, etc.)