{"id":21369120,"url":"https://github.com/darthwalsh/downloadcodingame","last_synced_at":"2026-02-13T14:41:25.359Z","repository":{"id":75454670,"uuid":"329449460","full_name":"darthwalsh/DownloadCodinGame","owner":"darthwalsh","description":"Download your CodinGame code! ","archived":false,"fork":false,"pushed_at":"2025-02-01T16:45:46.000Z","size":29,"stargazers_count":1,"open_issues_count":1,"forks_count":1,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-02-01T17:31:59.277Z","etag":null,"topics":["codingame"],"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/darthwalsh.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":"2021-01-13T22:43:20.000Z","updated_at":"2025-02-01T16:45:50.000Z","dependencies_parsed_at":"2024-11-22T07:41:06.691Z","dependency_job_id":null,"html_url":"https://github.com/darthwalsh/DownloadCodinGame","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/darthwalsh%2FDownloadCodinGame","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/darthwalsh%2FDownloadCodinGame/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/darthwalsh%2FDownloadCodinGame/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/darthwalsh%2FDownloadCodinGame/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/darthwalsh","download_url":"https://codeload.github.com/darthwalsh/DownloadCodinGame/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243842642,"owners_count":20356689,"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":["codingame"],"created_at":"2024-11-22T07:30:29.216Z","updated_at":"2026-02-13T14:41:20.289Z","avatar_url":"https://github.com/darthwalsh.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Download CodinGame\n\nDownload all your CodinGame solutions to your computer!\n\n* Uses the CodinGame \"API\" to search your progress and download your code\n* Saves the latest solution for each language, with an appropriate file extension\n* Solution files have the filesystem modified date set to the actual time the puzzle was solved\n* Creates an `index.html` for each puzzle including puzzle text\n\n## Setup\n\n```bash\ngit clone https://github.com/darthwalsh/DownloadCodinGame.git\npython3 -m venv env\nsource env/bin/activate\npip install -r requirements.txt\n```\n\n## Run\n\n`python3 ./app.py -h`\n\nshows help.\n\n### Download through CodinGame unofficial API to a local folder\n\nFollow [login instructions](https://codingame.readthedocs.io/en/stable/user_guide/quickstart.html#login) from the `codingame` library.\n\nThe script will attempt to read the read the session cookie from the Chrome browser, otherwise manually enter cookie at the prompt.\n\nPick a folder where the app will download files to:\n\n`python3 ./app.py download path/to/where/to/Download/CodinGame`\n\n*Reuse this folder path and the script will skip downloading old solutions.*\n\n\n### List of each solution\n\n*The rest of these commands will load from the downloaded folder.*\n\n`python3 ./app.py list path/to/Downloaded/CodinGame`\n\n```\n2015-10-17         C# tutorial  onboarding\n2015-10-18         C# easy      power-of-thor-episode-1\n2015-10-18         C# codegolf  power-of-thor\n2015-10-18         C# easy      temperatures\n2015-10-18         C# easy      mars-lander-episode-1\n2015-10-19         C# medium    mars-lander-episode-2\n...\n```\n\n### Monthly summaries of difficulty and languages\n\n`python3 ./app.py monthly path/to/Downloaded/CodinGame`\n\n```\n2022-01-01   8 easy, 2 medium                         6 Python3, 3 C++, 1 C\n2022-02-01   20 medium, 8 easy                        18 Python3, 9 C++, 1 TypeScript\n2022-03-01   8 medium, 6 easy, 1 hard                 10 Python3, 2 C, 2 C++, 1 Javascript\n...\n```\n\n### CSV report\n\n`python3 ./app.py csv path/to/Downloaded/CodinGame`\n\n```csv\nid,difficulty,url,last_date,Javascript,Python3,C,C#,C++,TypeScript\nmars-lander-episode-2,medium,https://www.codingame.com/ide/puzzle/mars-lander-episode-2,2015-10-19,,,,2015-10-19,,\nthere-is-no-spoon-episode-1,medium,https://www.codingame.com/ide/puzzle/there-is-no-spoon-episode-1,2015-10-19,,,,2015-10-19,,\nshadows-of-the-knight-episode-1,medium,https://www.codingame.com/ide/puzzle/shadows-of-the-knight-episode-1,2015-10-19,,,,2015-10-19,,\n...\n```\n\n# TODO\n\n- [ ] [Progress bar](https://chatgpt.com/share/679e360d-fb08-8011-b74d-a1dd3367a353) showing remaining progress\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdarthwalsh%2Fdownloadcodingame","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdarthwalsh%2Fdownloadcodingame","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdarthwalsh%2Fdownloadcodingame/lists"}