{"id":15155255,"url":"https://github.com/johndev19/contribution-graph","last_synced_at":"2026-01-20T03:34:36.467Z","repository":{"id":249573284,"uuid":"831883184","full_name":"JohnDev19/Contribution-Graph","owner":"JohnDev19","description":"This project provides a service to generate and display GitHub-style contribution graphs for any GitHub user. It's perfect for adding a visual representation of your GitHub activity to your profile README or any other markdown file.","archived":false,"fork":false,"pushed_at":"2024-07-22T10:49:37.000Z","size":89,"stargazers_count":1,"open_issues_count":1,"forks_count":1,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-04-07T12:15:32.491Z","etag":null,"topics":["contribution-graph","github","javascript","next-js"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/JohnDev19.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","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-07-21T22:24:32.000Z","updated_at":"2024-07-22T10:49:40.000Z","dependencies_parsed_at":"2024-11-02T21:02:29.896Z","dependency_job_id":null,"html_url":"https://github.com/JohnDev19/Contribution-Graph","commit_stats":{"total_commits":78,"total_committers":1,"mean_commits":78.0,"dds":0.0,"last_synced_commit":"3f5fd23486ce19a1cc8e14972e08eaf6bd38dee9"},"previous_names":["johndev19/contribution-graph"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JohnDev19%2FContribution-Graph","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JohnDev19%2FContribution-Graph/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JohnDev19%2FContribution-Graph/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JohnDev19%2FContribution-Graph/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/JohnDev19","download_url":"https://codeload.github.com/JohnDev19/Contribution-Graph/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247648974,"owners_count":20972945,"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":["contribution-graph","github","javascript","next-js"],"created_at":"2024-09-26T18:03:51.018Z","updated_at":"2026-01-20T03:34:36.432Z","avatar_url":"https://github.com/JohnDev19.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# GitHub Contribution Graph Generator\n\n![GitHub Contribution Graph](https://contribution-graph-ohi6.onrender.com/api/graph?username=JohnDev19)\n\nThis project provides a service to generate and display GitHub-style contribution graphs for any GitHub user. It's perfect for adding a visual representation of your GitHub activity to your profile README or any other markdown file.\n\n## Features\n\n- Generate contribution graphs similar to those on GitHub profiles\n- Customizable for any GitHub username\n- Responsive SVG output that scales well on different devices\n- Includes month and day labels for better context\n- Displays a color legend for contribution intensity\n\n## Usage\n\nTo use this in your GitHub README or any markdown file, simply add the following line:\n\n```markdown\n![GitHub Contribution Graph](https://contribution-graph-ohi6.onrender.com/api/graph?username=YourGitHubUsername)\n```\n\nReplace `YourGitHubUsername` with the GitHub username for which you want to generate the graph.\n\n### Usage\n\n1. **Customizing Size**\n\n   You can adjust the size of the graph by using HTML in your markdown:\n\n   ```html\n   \u003cimg src=\"https://contribution-graph-ohi6.onrender.com/api/graph?username=YourGitHubUsername\" width=\"720\" height=\"112\" alt=\"GitHub Contribution Graph\" /\u003e\n   ```\n\n2. **Linking to Profile**\n\n   Make the graph clickable and link to the GitHub profile:\n\n   ```markdown\n   [![GitHub Contribution Graph](https://contribution-graph-ohi6.onrender.com/api/graph?username=YourGitHubUsername)](https://github.com/YourGitHubUsername)\n   ```\n\n3. **Refreshing the Graph**\n\n   To ensure your graph is up-to-date, add a query parameter that changes:\n\n   ```markdown\n   ![GitHub Contribution Graph](https://contribution-graph-ohi6.onrender.com/api/graph?username=YourGitHubUsername\u0026v=1)\n   ```\n\n   Increment the `v` value when you want to refresh the image.\n\n## API\n\nThe API endpoint is:\n\n```\nhttps://contribution-graph-ohi6.onrender.com/api/graph\n```\n\nQuery Parameters:\n- `username`: The GitHub username (required)\n\n## Local Development\n\n1. Clone the repository\n2. Install dependencies with `npm install`\n3. Create a `.env.local` file and add your GitHub token:\n   ```\n   GITHUB_TOKEN=your_personal_access_token\n   ```\n4. Run the development server with `npm run dev`\n5. Open [http://localhost:3000](http://localhost:3000) in your browser\n\n## Deployment\n\nThis project is designed to be easily deployed on platforms like Render or Vercel. Make sure to set the `GITHUB_TOKEN` environment variable in your deployment settings.\n\n## Contributing\n\nContributions are welcome! Please feel free to submit a Pull Request.\n\n## License\n\nThis project is licensed under the MIT License - see the [LICENSE](LICENSE) file for details.\n\n## Acknowledgments\n\n- Inspired by the GitHub contribution graph\n- Built with Next.js and React\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjohndev19%2Fcontribution-graph","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjohndev19%2Fcontribution-graph","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjohndev19%2Fcontribution-graph/lists"}