@sectiontn/gitposter
v0.1.8
Published
Generate a beautiful printable poster from any git repository
Readme
gitposter
Takes a git repo and produces a PNG poster showing commit history, top contributors, language breakdown, and tagged milestones.

Installation
npm install -g @sectiontn/gitposterOr run without installing:
npx @sectiontn/gitposter <repo>
bunx @sectiontn/gitposter <repo>Usage
gitposter <owner/repo> # GitHub repo
gitposter ./path/to/local/repo # local pathOptions
| Flag | Description | Default |
|------|-------------|---------|
| --theme <name> | dark, light, minimal, colorful | dark |
| --format <name> | poster (1200x1800) or square (auto-height) | poster |
| --all-themes | One PNG per theme | — |
| --max-commits <n> | Limit commits fetched | 5000 |
| --output <path> | Output file path | <repo>-<format>.png |
| --token <token> | GitHub personal access token | $GITHUB_TOKEN |
Examples
# basic dark poster
gitposter facebook/react --theme dark
# square for Twitter/Instagram
gitposter torvalds/linux --format square --theme minimal
# all four themes in one go
gitposter vercel/next.js --all-themes
# local repo
gitposter ./my-project --output my-project.png
# large repo, cap the commit fetch
gitposter microsoft/vscode --max-commits 2000GitHub token
Without a token you get 60 API requests per hour, which runs out fast on repos with many contributors. Set GITHUB_TOKEN or pass --token.
export GITHUB_TOKEN=ghp_...
gitposter owner/repoRequirements
Node >= 18
License
MIT
