{"id":22345666,"url":"https://github.com/gifflet/github-stats-cloud","last_synced_at":"2025-03-26T10:22:31.880Z","repository":{"id":263162093,"uuid":"889540836","full_name":"gifflet/github-stats-cloud","owner":"gifflet","description":"Modern GitHub stats badge generator built with Next.js 14, Edge Runtime, and Cloudflare Workers.","archived":false,"fork":false,"pushed_at":"2024-11-20T05:30:45.000Z","size":659,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-01-31T11:49:40.413Z","etag":null,"topics":["cloudflare-pages","cloudflare-workers","github-badges","github-profile","github-stats","nextjs","responsive-design"],"latest_commit_sha":null,"homepage":"https://git-metrics-cloud-app.pages.dev","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/gifflet.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2024-11-16T15:36:33.000Z","updated_at":"2024-11-20T05:30:48.000Z","dependencies_parsed_at":"2025-01-31T11:41:09.019Z","dependency_job_id":"fc28b867-8255-49ad-ba62-63953ee751c7","html_url":"https://github.com/gifflet/github-stats-cloud","commit_stats":null,"previous_names":["gifflet/git-metrics-cloud-app","gifflet/github-stats-cloud"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gifflet%2Fgithub-stats-cloud","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gifflet%2Fgithub-stats-cloud/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gifflet%2Fgithub-stats-cloud/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gifflet%2Fgithub-stats-cloud/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/gifflet","download_url":"https://codeload.github.com/gifflet/github-stats-cloud/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245632772,"owners_count":20647276,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["cloudflare-pages","cloudflare-workers","github-badges","github-profile","github-stats","nextjs","responsive-design"],"created_at":"2024-12-04T09:18:21.708Z","updated_at":"2025-03-26T10:22:31.857Z","avatar_url":"https://github.com/gifflet.png","language":"TypeScript","readme":"# 🌟 GitHub Stats Cloud\n\nA modern web application that generates beautiful GitHub statistics badges and repository insights.\n\n## ✨ Features\n\n- 🎯 Generate embeddable GitHub stats badges\n- 📊 View detailed repository information\n- 🌓 Dark/Light mode support\n- 📱 Responsive design\n- ⚡ Built with Edge Runtime\n- 📋 Easy copy-paste embedding\n\n## 🚀 Demo\n\nVisit the live application at [this link](https://git-metrics-cloud-app.pages.dev).\n\n## 🛠️ Tech Stack\n\n- Next.js 14\n- TypeScript\n- Tailwind CSS\n- Cloudflare Pages\n- Edge Runtime\n\n## 🏗️ Architecture\n\nThe application is built using Next.js App Router and deployed on Cloudflare Pages. It uses Edge Runtime for optimal performance and low latency. The backend API is powered by Cloudflare Workers.\n\n## 🚦 Getting Started\n\n### Prerequisites\n\n- Node.js 18+\n- npm or yarn\n\n### Installation\n\n1. Clone the repository\n\n```bash\ngit clone https://github.com/yourusername/github-stats-cloud.git\n```\n\n2. Install dependencies\n\n```bash\nnpm install\n```\n\n3. Create a `.env.local` file\n\n```env\nNEXT_PUBLIC_GITHUB_API_URL=https://github-stats-api.sousaguilherme89.workers.dev\n```\n\n4. Run the development server\n\n```bash\nnpm run dev\n```\n\n## 🎨 Usage\n\n### Generating a Badge\n\n1. Visit the homepage\n2. Enter a GitHub username\n3. Select \"Profile Badge\" option\n4. Copy either the Markdown or HTML code\n5. Paste the code in your README or website\n\nExample badge code:\n\n[![GitHub Stats](https://github-stats-api.sousaguilherme89.workers.dev/gifflet/badge)](https://github-stats-api.sousaguilherme89.workers.dev/username)\n\n### Viewing Repository Stats\n\n1. Visit the homepage\n2. Enter a GitHub username\n3. Select \"Repository List\" option\n4. Browse through the user's repositories with detailed statistics\n\n## 🔧 API Reference\n\nThe application uses the following API endpoints:\n\n### Get User Statistics\n```http\nGET /:username\n```\nReturns user's GitHub statistics including total stars, forks, and repositories.\n\n### Generate Badge\n```http\nGET /:username/badge\n```\nGenerates a SVG badge with user's GitHub statistics.\n\n### List Repositories\n```http\nGET /:username/repositories\n```\nReturns a list of user's repositories with detailed information.\n\n## 🤝 Contributing\n\nContributions are welcome! Please feel free to submit a Pull Request.\n\n1. Fork the project\n2. Create your feature branch (`git checkout -b feature/AmazingFeature`)\n3. Commit your changes (`git commit -m 'Add some AmazingFeature'`)\n4. Push to the branch (`git push origin feature/AmazingFeature`)\n5. Open a Pull Request\n\n## 👏 Acknowledgments\n\n- Next.js team for the amazing framework\n- Cloudflare for the edge computing platform\n- All contributors who help improve this project.\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgifflet%2Fgithub-stats-cloud","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fgifflet%2Fgithub-stats-cloud","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgifflet%2Fgithub-stats-cloud/lists"}