Skip to content

zehedisodef1-oss/gitdash

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

1 Commit
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

πŸ“Š gitdash

Beautiful GitHub repo analytics right in your terminal

Python 3.10+ License: MIT GitHub stars

gitdash demo

✨ Features

  • ⭐ Star count & trend β€” Track stars gained in the last 7 and 30 days
  • 🍴 Fork count β€” See repository fork statistics
  • πŸ› Open issues β€” Current issue count at a glance
  • πŸ“ Recent commits β€” Latest 10 commits with authors
  • πŸ‘₯ Top contributors β€” See who's driving the project
  • πŸ“Š Language breakdown β€” Visual bar chart of languages used
  • πŸ“ˆ Commit frequency β€” Average commits per day over 4 weeks
  • πŸ“¦ Releases β€” Latest release tags and dates
  • βš”οΈ Repo comparison β€” Compare two repos side-by-side
  • πŸ“€ JSON export β€” Export all stats to a JSON file
  • 🎨 Rich terminal UI β€” Colorful, beautiful output powered by Rich

πŸš€ Installation

# Install from source
git clone https://github.com/zehedisode/gitdash.git
cd gitdash
pip install .

# Or install directly with pip
pip install git+https://github.com/zehedisode/gitdash.git

πŸ“– Usage

Basic Usage

# View dashboard for any public repo
gitdash owner/repo

# Examples
gitdash textualize/rich
gitdash fastapi/fastapi
gitdash python/cpython

Compare Repos

# Compare two repositories side-by-side
gitdash fastapi/fastapi --compare flask/flask

Export to JSON

# Export stats to a JSON file
gitdash owner/repo --export stats.json

Authentication (Optional)

gitdash works without authentication using GitHub's public API (rate limited to 60 requests/hour).

For higher rate limits, set a GitHub token:

export GITHUB_TOKEN=ghp_your_token_here
gitdash owner/repo

You can create a personal access token at GitHub Settings β†’ Developer settings β†’ Personal access tokens.

πŸ–₯️ Example Output

────────────────── πŸ“Š  textualize/rich ──────────────────

β”Œβ”€β”€β”€ Overview ────────────────────────────────────────┐
β”‚  ⭐  Stars          50,234                           β”‚
β”‚  🍴  Forks          3,821                            β”‚
β”‚  πŸ›  Open Issues    128                              β”‚
β”‚  πŸ‘€  Watchers       412                              β”‚
β”‚  πŸ“  License        MIT                              β”‚
β”‚  🏷️  Default Branch  main                            β”‚
β”‚  πŸ“…  Created        2019-07-13                       β”‚
β”‚  πŸ”„  Last Push      2025-05-01                      β”‚
β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜

β”Œβ”€β”€β”€ ⭐ Star Trend ───────────────────────────────────┐
β”‚  Last 7 days:  +234 stars                            β”‚
β”‚  Last 30 days: +1,023 stars                          β”‚
β”‚  Total:        50,234                                β”‚
β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜

β”Œβ”€β”€β”€ πŸ“Š Languages ────────────────────────────────────┐
β”‚  Python             β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆ  95.2%        β”‚
β”‚  Rich               β–ˆβ–ˆβ–ˆ                3.1%          β”‚
β”‚  MDX                β–ˆ                  1.7%          β”‚
β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜

πŸ› οΈ Requirements

  • Python 3.10+
  • Internet connection (for GitHub API)

🀝 Contributing

Contributions are welcome! Feel free to:

  1. Fork the repository
  2. Create a feature branch (git checkout -b feature/amazing-feature)
  3. Commit your changes (git commit -m 'Add amazing feature')
  4. Push to the branch (git push origin feature/amazing-feature)
  5. Open a Pull Request

πŸ“„ License

This project is licensed under the MIT License β€” see the LICENSE file for details.


Made with ❀️ by zehedisode

About

πŸ“Š Beautiful GitHub repo analytics in your terminal - stars, commits, languages, contributors & more

Topics

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Contributors

Languages