{"id":16646413,"url":"https://github.com/faheel/github-contributions","last_synced_at":"2025-03-21T16:30:46.641Z","repository":{"id":50210472,"uuid":"116310055","full_name":"faheel/GitHub-contributions","owner":"faheel","description":"Get details about all the projects to which you have contributed to on GitHub","archived":false,"fork":false,"pushed_at":"2022-12-07T23:46:38.000Z","size":11,"stargazers_count":32,"open_issues_count":9,"forks_count":4,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-03-18T02:51:44.496Z","etag":null,"topics":["cli","contributions","github","github-contributions","markdown-generator","python","python3","utility"],"latest_commit_sha":null,"homepage":"","language":"Python","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/faheel.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}},"created_at":"2018-01-04T21:37:07.000Z","updated_at":"2023-07-18T11:56:01.000Z","dependencies_parsed_at":"2022-09-14T16:00:41.621Z","dependency_job_id":null,"html_url":"https://github.com/faheel/GitHub-contributions","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/faheel%2FGitHub-contributions","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/faheel%2FGitHub-contributions/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/faheel%2FGitHub-contributions/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/faheel%2FGitHub-contributions/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/faheel","download_url":"https://codeload.github.com/faheel/GitHub-contributions/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":244829376,"owners_count":20517296,"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":["cli","contributions","github","github-contributions","markdown-generator","python","python3","utility"],"created_at":"2024-10-12T08:27:31.055Z","updated_at":"2025-03-21T16:30:46.325Z","avatar_url":"https://github.com/faheel.png","language":"Python","readme":"\u003cp align=\"center\"\u003e\n  \u003cimg src=\"https://user-images.githubusercontent.com/11466676/38295735-944bd9e0-380c-11e8-995c-bfc21069a6c9.png\" alt=\"\"\u003e\n\u003c/p\u003e\n\n\u003ch1 align=\"center\"\u003eGitHub contributions\u003c/h3\u003e\n\nGet details about all the projects to which you have contributed to on GitHub.\n\n## Setup\n1. Clone the repo and `cd` into it.\n\n2. Create a Python 3 virtual environment (named `venv` here):\n   ```bash\n   virtualenv --python=/usr/bin/python3 venv\n   ```\n\n3. Activate the virtual environment:\n   ```bash\n   source venv/bin/activate\n   ```\n\n4. Install the requirements:\n   ```bash\n   pip install -r requirements.txt\n   ```\n\n## Run\n### Fetch list of repositories contributed to\nRun the script `fetch_repos.py` along with your GitHub username to get a simple\nlist of repositories you've contributed to:\n```\nUsage:\n  fetch_repos.py \u003cuser\u003e [-r]\n  fetch_repos.py -h\n\nOptions:\n  -r, --reverse-order   Display the list in reverse chronological order.\n  -h, --help            Display this help text.\n```\n\n#### Example\n```bash\n$ ./fetch_repos.py faheel\n```\n```\nLeaflet/Leaflet\nTycheOrg/Tyche\nfreeCodeCamp/freeCodeCamp\nPowerShell/PowerShell\n...\n```\n\n### Generate Markdown for contributions\nRun the script `generate_markdown.py` along with your GitHub username to get a\nMarkdown file with either a list or table of repositories you've contributed\nto:\n```\nUsage:\n  generate_markdown.py \u003cuser\u003e [-o \u003ctype\u003e] [-r]\n  generate_markdown.py \u003cuser\u003e -o table [-c \u003ccols\u003e] [-r]\n  generate_markdown.py -h\n\nOptions:\n  -o \u003ctype\u003e, --output-as \u003ctype\u003e  Generate Markdown for either a list or a table\n                                 [default: list].\n  -c \u003ccols\u003e, --columns \u003ccols\u003e    Number of columns for the table [default: 3].\n  -r, --reverse-order            Generate output in reverse chronological\n                                 order.\n  -h, --help                     Display this help text.\n```\n\nThe generated Markdown files are saved in a directory named `output` respective\nto the directory from where the script was run.\n\n#### List example\n```bash\n$ ./generate_markdown.py faheel\n$ cat output/contribution-list.md\n```\n```markdown\n* [Leaflet/**Leaflet**](https://github.com/Leaflet/Leaflet/commits?author=faheel)\n* [TycheOrg/**Tyche**](https://github.com/TycheOrg/Tyche/commits?author=faheel)\n* [freeCodeCamp/**freeCodeCamp**](https://github.com/freeCodeCamp/freeCodeCamp/commits?author=faheel)\n* [PowerShell/**PowerShell**](https://github.com/PowerShell/PowerShell/commits?author=faheel)\n...\n```\nwhich would be rendered on GitHub as:\n* [Leaflet/**Leaflet**](https://github.com/Leaflet/Leaflet/commits?author=faheel)\n* [TycheOrg/**Tyche**](https://github.com/TycheOrg/Tyche/commits?author=faheel)\n* [freeCodeCamp/**freeCodeCamp**](https://github.com/freeCodeCamp/freeCodeCamp/commits?author=faheel)\n* [PowerShell/**PowerShell**](https://github.com/PowerShell/PowerShell/commits?author=faheel)\n* [NuGetPackageExplorer/**NuGetPackageExplorer**](https://github.com/NuGetPackageExplorer/NuGetPackageExplorer/commits?author=faheel)\n* [DjangoGirls/**tutorial-extensions**](https://github.com/DjangoGirls/tutorial-extensions/commits?author=faheel)\n\n#### Table example\n```bash\n$ ./generate_markdown.py faheel -o table\n$ cat output/contribution-table.md\n```\n```HTML\n\u003ctable\u003e\n\u003ctr\u003e\n\u003ctd\u003e\n  \u003ca href=\"https://github.com/Leaflet/Leaflet/commits?author=faheel\"\u003e\n    Leaflet/\u003cb\u003eLeaflet\u003c/b\u003e\n  \u003c/a\u003e\n\u003c/td\u003e\n\u003ctd\u003e\n  \u003ca href=\"https://github.com/TycheOrg/Tyche/commits?author=faheel\"\u003e\n    TycheOrg/\u003cb\u003eTyche\u003c/b\u003e\n  \u003c/a\u003e\n\u003c/td\u003e\n...\n```\nwhich would be rendered on GitHub as:\n\u003ctable\u003e\n\u003ctr\u003e\n\u003ctd\u003e\n  \u003ca href=\"https://github.com/Leaflet/Leaflet/commits?author=faheel\"\u003e\n    Leaflet/\u003cb\u003eLeaflet\u003c/b\u003e\n  \u003c/a\u003e\n\u003c/td\u003e\n\u003ctd\u003e\n  \u003ca href=\"https://github.com/TycheOrg/Tyche/commits?author=faheel\"\u003e\n    TycheOrg/\u003cb\u003eTyche\u003c/b\u003e\n  \u003c/a\u003e\n\u003c/td\u003e\n\u003ctd\u003e\n  \u003ca href=\"https://github.com/freeCodeCamp/freeCodeCamp/commits?author=faheel\"\u003e\n    freeCodeCamp/\u003cb\u003efreeCodeCamp\u003c/b\u003e\n  \u003c/a\u003e\n\u003c/td\u003e\n\u003c/tr\u003e\n\n\u003ctr\u003e\n\u003ctd\u003e\n  \u003ca href=\"https://github.com/PowerShell/PowerShell/commits?author=faheel\"\u003e\n    PowerShell/\u003cb\u003ePowerShell\u003c/b\u003e\n  \u003c/a\u003e\n\u003c/td\u003e\n\u003ctd\u003e\n  \u003ca href=\"https://github.com/NuGetPackageExplorer/NuGetPackageExplorer/commits?author=faheel\"\u003e\n    NuGetPackageExplorer/\u003cb\u003eNuGetPackageExplorer\u003c/b\u003e\n  \u003c/a\u003e\n\u003c/td\u003e\n\u003ctd\u003e\n  \u003ca href=\"https://github.com/DjangoGirls/tutorial-extensions/commits?author=faheel\"\u003e\n    DjangoGirls/\u003cb\u003etutorial-extensions\u003c/b\u003e\n  \u003c/a\u003e\n\u003c/td\u003e\n\u003c/tr\u003e\n\u003c/table\u003e\n\n## License\nThis project is licensed under the terms of the [MIT license](LICENSE).\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffaheel%2Fgithub-contributions","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ffaheel%2Fgithub-contributions","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffaheel%2Fgithub-contributions/lists"}