repocard-cli
v1.0.0
Published
Generate beautiful terminal cards for GitHub repos
Maintainers
Readme
repocard-cli
Generate beautiful terminal cards for GitHub repositories.
Install
npm install -g repocard-cliUsage
Full Card (default)
repocard facebook/react╭──────────────────────────── ▇▇ repocard ────────────────────────────╮
│ │
│ facebook/react │
│ │
│ The library for web and native user interfaces. │
│ │
│ ──────────────────────────────────────────────────────── │
│ │
│ ★ 232k stars ⑂ 47.5k forks ◉ 232k watchers ○ 980 issues │
│ │
│ ──────────────────────────────────────────────────────── │
│ │
│ Language ● JavaScript │
│ License MIT │
│ Size 413.5 MB │
│ Branch main │
│ Updated Dec 15, 2024 │
│ Website https://react.dev │
│ │
│ ──────────────────────────────────────────────────────── │
│ │
│ Clone: │
│ git clone https://github.com/facebook/react.git │
│ │
╰─────────────────────────────────────────────────────────────────────╯Minimal Mode
repocard facebook/react --minimalfacebook/react - The library for web and native user interfaces. ★ 232k ⑂ 47.5k ● JavaScript [MIT]JSON Output
repocard facebook/react --jsonCompare Repos
repocard facebook/react --compare vuejs/vueSVG Output
# Print SVG to stdout
repocard facebook/react --svg
# Save SVG to file
repocard facebook/react --svg-file card.svgOptions
| Flag | Description |
|------|-------------|
| --json | Output raw GitHub API data as JSON |
| --minimal | Compact one-line output |
| --compare <owner/repo> | Side-by-side comparison with another repo |
| --svg | Output card as SVG markup |
| --svg-file <path> | Save card as SVG file |
Authentication
To avoid GitHub API rate limits, set a token:
export GITHUB_TOKEN=ghp_your_token_hereThe tool also reads GH_TOKEN (used by GitHub CLI).
Language Colors
Supports color-coded language indicators for 30+ languages including JavaScript, TypeScript, Python, Rust, Go, Java, C++, Ruby, Swift, Kotlin, and more.
License
MIT
