Sample projects
Each sample is intentionally small so you can copy it into a real repo and expand from there.
Starter CLI
A minimal command-line tool with config, logging, and a clean structure.
- Create a
config.ymlwith defaults and environment overrides. - Add a command handler that reads config and writes logs.
- Ship a
--dry-runflag to preview changes safely.
Webhook relay
Accept incoming webhooks, validate signatures, then forward to a target URL.
- Verify the request signature with a shared secret.
- Normalize the payload and add a request ID.
- Retry failed forwards with a backoff strategy.
Dashboard snapshot
Collect daily metrics and render a simple HTML dashboard.
- Fetch data from APIs or logs on a schedule.
- Write a JSON snapshot to
data/for versioning. - Render a lightweight HTML report from the snapshot.
Want another example?
Open an issue with the use case you want and we will add a matching sample.