Warning
We are in the early stages of development and this is a work in progress. Please be aware of possible bugs, incomplete or not yet implemented features. We welcome feedback and contributions.
Tarsi is an AI-powered CLI that automatically generates clear, user-focused changelogs from recent git changes, minimizing manual effort and keeping users informed.
To install the CLI, use NPM:
npm install -g tarsiOr with other package managers like PNPM, Yarn, or Bun!
Add the changelog script to your package.json:
To generate a changelog from the git diff since the latest tag, run:
tarsi generateTo check the changelog against the git diff, run:
tarsi checkYou can customize Tarsi's behavior by creating a tarsi.config.ts file in your project root. This file should export a CONFIG object with your custom settings.
// tarsi.config.ts
export const CONFIG = {
model: "gemini-2.5-flash",
reviewPath: "custom-review.md",
changelogPath: "CHANGELOG.md",
changelogSliceEnd: 2,
changelogStyleguide: `
# Custom Style Guide
- Use present tense for new features
- Group changes by type
- Include relevant PR numbers
`,
gitDiffPatterns: [
"!dist/*",
"!build/*",
"!node_modules/*",
],
}- model: AI model to use for content generation (default: "gemini-2.5-flash")
- reviewPath: File path where generated reviews will be saved
- changelogPath: File path to the changelog file
- changelogSliceEnd: Number of entries to slice from the end of the changelog
- changelogStyleguide: Style guide text for changelog formatting
- gitDiffPatterns: Array of git diff patterns to exclude from analysis
If no configuration file is found, Tarsi will use sensible defaults.