|
1 | 1 | # Github Stats Page Generator |
2 | 2 |
|
3 | | -## Todo |
| 3 | +A powerful Next.js application that generates beautiful, interactive GitHub statistics dashboards for organizations and personal repositories. |
| 4 | + |
| 5 | + |
| 6 | + |
| 7 | +## 🌟 Features |
| 8 | + |
| 9 | +- **Comprehensive Statistics** |
| 10 | + - Repository metrics (stars, forks, issues) |
| 11 | + - Code analysis (languages, lines of code) |
| 12 | + - Contribution insights |
| 13 | + - Development time estimates |
| 14 | + |
| 15 | +- **Interactive Dashboard** |
| 16 | + - Dark/light theme support |
| 17 | + - Responsive design |
| 18 | + - Real-time data updates |
| 19 | + - Filterable repository list |
| 20 | + |
| 21 | +- **Advanced Visualization** |
| 22 | + - Language distribution charts |
| 23 | + - Activity timelines |
| 24 | + - Contributor networks |
| 25 | + - Performance metrics |
| 26 | + |
| 27 | +## 🚀 Quick Start |
| 28 | + |
| 29 | +1. **Clone the repository** |
| 30 | +```bash |
| 31 | +git clone https://github.com/yourusername/github_stats.git |
| 32 | +cd github_stats |
| 33 | +``` |
| 34 | + |
| 35 | +2. **Install dependencies** |
| 36 | +```bash |
| 37 | +pnpm install |
| 38 | +``` |
| 39 | + |
| 40 | +3. **Set up environment variables** |
| 41 | +Create a `.env` file in the root directory: |
| 42 | +```env |
| 43 | +GH_TOKEN=your_github_personal_access_token |
| 44 | +``` |
| 45 | + |
| 46 | +4. **Run the development server** |
| 47 | +```bash |
| 48 | +pnpm dev |
| 49 | +``` |
| 50 | + |
| 51 | +Open [http://localhost:3000](http://localhost:3000) to view your dashboard. |
| 52 | + |
| 53 | +## 🛠️ Tech Stack |
| 54 | + |
| 55 | +- [Next.js 14](https://nextjs.org/) - React framework |
| 56 | +- [React 18](https://reactjs.org/) - UI library |
| 57 | +- [Chart.js](https://www.chartjs.org/) - Data visualization |
| 58 | +- [Radix UI](https://www.radix-ui.com/) - UI components |
| 59 | +- [Tailwind CSS](https://tailwindcss.com/) - Styling |
| 60 | +- [GitHub API](https://docs.github.com/en/rest) - Data source |
| 61 | + |
| 62 | +## 📦 Deployment |
| 63 | + |
| 64 | +This application is configured for easy deployment to GitHub Pages using GitHub Actions. The static export ensures optimal performance and reliability. |
| 65 | + |
| 66 | +## 🤝 Contributing |
| 67 | + |
| 68 | +Contributions are welcome! Please feel free to submit a Pull Request. |
| 69 | + |
| 70 | +1. Fork the repository |
| 71 | +2. Create your feature branch (`git checkout -b feature/AmazingFeature`) |
| 72 | +3. Commit your changes (`git commit -m 'Add some AmazingFeature'`) |
| 73 | +4. Push to the branch (`git push origin feature/AmazingFeature`) |
| 74 | +5. Open a Pull Request |
| 75 | + |
| 76 | +## 📝 License |
| 77 | + |
| 78 | +This project is licensed under the MIT License - see the [LICENSE](LICENSE) file for details. |
| 79 | + |
| 80 | +## 🙏 Acknowledgments |
| 81 | + |
| 82 | +- GitHub API for providing the data |
| 83 | +- The amazing open-source community |
| 84 | +- All contributors who help improve this project |
| 85 | + |
| 86 | +## 📊 Screenshots |
| 87 | + |
| 88 | +[Add screenshots of your dashboard here] |
| 89 | + |
| 90 | +--- |
| 91 | + |
| 92 | +Built with ❤️ for the GitHub community |
4 | 93 |
|
5 | | -- [ ] all the stats are linked to a page showing the details. |
6 | | -- [ ] add the personal repos as well. |
7 | | -- [ ] add sorting functionality or filtering. |
8 | | -- [ ] add common commits graph somehow. |
9 | | -- [ ] add total commits number and graph. |
|
0 commit comments