{"id":16133947,"url":"https://github.com/initialposition/gcppd","last_synced_at":"2025-07-08T15:06:48.303Z","repository":{"id":113121736,"uuid":"302959297","full_name":"InitialPosition/GCPPD","owner":"InitialPosition","description":"A script to download all (most) avatars associated with a given repository","archived":false,"fork":false,"pushed_at":"2020-10-10T21:46:51.000Z","size":14,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-04-06T15:51:05.786Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"unlicense","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/InitialPosition.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.md","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":"2020-10-10T17:52:49.000Z","updated_at":"2021-07-05T12:09:19.000Z","dependencies_parsed_at":"2023-04-07T18:47:36.806Z","dependency_job_id":null,"html_url":"https://github.com/InitialPosition/GCPPD","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/InitialPosition/GCPPD","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/InitialPosition%2FGCPPD","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/InitialPosition%2FGCPPD/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/InitialPosition%2FGCPPD/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/InitialPosition%2FGCPPD/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/InitialPosition","download_url":"https://codeload.github.com/InitialPosition/GCPPD/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/InitialPosition%2FGCPPD/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":264292946,"owners_count":23586062,"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":[],"created_at":"2024-10-09T22:46:44.063Z","updated_at":"2025-07-08T15:06:48.288Z","avatar_url":"https://github.com/InitialPosition.png","language":"Python","readme":"# GCPPD (Gource Collaborator Profile Picture Downloader)\nThis script automatically downloads (or attempts to download) all user avatars associated with a github repository.\nIts intended usage is to make more interesting gource visualizations easier.\n\n### Usage\n1. Create a personal github access token. This can be done [here](https://github.com/settings/tokens). Your token does not need any permissions.\n1. Install Python 3. You can download the latest version [here](https://www.python.org/downloads/). If you're unsure whether you have Python installed, run `python3 --version` in your terminal. If it returns a version number, you are good to go.\n1. (optional but recommended) Create a new virtual environment by typing `python3 -m venv \u003cfolder name\u003e`. If this returns an error, make sure that the python3 venv tool is installed by running `sudo apt install python3-venv`. If you decide to not create a virtual environment, continue at step 5.\n1. Activate the virtual environment by typing `source \u003cfolder name\u003e/bin/activate`.\n1. Install the required dependencies by typing `python3 -m pip install -r requirements.txt`.\n1. Run the script. Either provide the needed info using command line parameters or enter them when the script asks you to.\n\n### Command line parameters\n|Parameter|Short form|Usage|\n|---------|----------|-----|\n|`--token`|`-t`|A personal GitHub access token|\n|`--user`|`-u`|The user the target repository belongs to\n|`--repository`|`-r`|The target repository|\n\n### Example\nUsing parameters\n```\n$ python3 gcppd.py --token TOKEN_HERE --user InitialPosition --repository GCPPD\nGetting user instance for \"InitialPosition\"...\nDone.\nSearching for repository \"GCPPD\"...\nRepository found.\nCollecting repository collaborators...\nCollected 1 user(s).\nDownloading avatar for user \"InitialPosition\" (https://avatars0.githubusercontent.com/u/23456524?v=4)...\nFile download complete.\n```\n\nWithout parameters\n```\n$ python3 gcppd.py \nGitHub Access Token: \nRepository Owner: InitialPosition\nRepository Name: GCPPD\nGetting user instance for \"InitialPosition\"...\nDone.\nSearching for repository \"GCPPD\"...\nRepository found.\nCollecting repository collaborators...\nCollected 1 user(s).\nDownloading avatar for user \"InitialPosition\" (https://avatars0.githubusercontent.com/u/23456524?v=4)...\nFile download complete.\n```\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Finitialposition%2Fgcppd","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Finitialposition%2Fgcppd","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Finitialposition%2Fgcppd/lists"}