Haiku Commit Generator

A poetic take on git logs, where code changes become short meditations on progress.


Every project’s commit history tells a story. It can be a trail of late-night bug fixes or sweeping refactors brought on by shifting requirements and better ideas. The goal of this project is to translate those technical fragments into small stories and add brief moments of poetry to the changelog.

It’s built as a lightweight service using API Gateway/Lambda. Each commit message is sent to Bedrock, which returns a haiku in response. Like many generative tools, the results may vary. Sometimes it’s complete nonsense or a bit humorous, but it can also end up being surprisingly reflective.

You can explore the source code on GitHub .

Example API Usage

Request:

curl -X POST https://{DOMAIN}/haiku \
  -H "Content-Type: application/json" \
  -d '{ "commitMessage": "fix race condition in cache invalidation" }'

Response:

{
  "haiku": "fleeting bits collide\nin the rush to be correct\ncalm returns to state"
}