{"id":16393018,"url":"https://github.com/yjl9903/icpc-cli","last_synced_at":"2026-03-04T17:32:49.042Z","repository":{"id":99731252,"uuid":"174717910","full_name":"yjl9903/icpc-cli","owner":"yjl9903","description":"A command line tool for solving programming challenges.","archived":false,"fork":false,"pushed_at":"2019-10-28T09:31:27.000Z","size":1961,"stargazers_count":26,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"master","last_synced_at":"2025-10-14T21:29:05.943Z","etag":null,"topics":["cli","codeforces","competitive-programming","icpc"],"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/yjl9903.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":"2019-03-09T16:26:48.000Z","updated_at":"2025-01-16T09:12:26.000Z","dependencies_parsed_at":null,"dependency_job_id":"a9557bac-166c-4a3a-a2cb-75f5c9cffd87","html_url":"https://github.com/yjl9903/icpc-cli","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/yjl9903/icpc-cli","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yjl9903%2Ficpc-cli","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yjl9903%2Ficpc-cli/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yjl9903%2Ficpc-cli/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yjl9903%2Ficpc-cli/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/yjl9903","download_url":"https://codeload.github.com/yjl9903/icpc-cli/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yjl9903%2Ficpc-cli/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":30087381,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-03-04T15:40:14.053Z","status":"ssl_error","status_checked_at":"2026-03-04T15:40:13.655Z","response_time":59,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"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","codeforces","competitive-programming","icpc"],"created_at":"2024-10-11T04:52:10.462Z","updated_at":"2026-03-04T17:32:49.014Z","avatar_url":"https://github.com/yjl9903.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# icpc-cli\r\n\r\n[![Build Status](https://travis-ci.org/yjl9903/icpc-cli.svg?branch=master)](https://travis-ci.org/yjl9903/icpc-cli)\r\n\r\nEnjoy a Codeforces round!\r\n\r\n![](https://github.com/yjl9903/icpc-cli/raw/master/1.gif)\r\n\r\n![](https://github.com/yjl9903/icpc-cli/raw/master/2.gif)\r\n\r\n## Installation\r\n\r\nMake sure that you have added `code` (VS Code) command in your environment variable.\r\n\r\nClone the repositories\r\n\r\n```\r\ngit clone git@github.com:yjl9903/icpc-cli.git\r\n```\r\n\r\nGo to icpc folder and modify `config.py`.\r\n\r\n```\r\nBASE_PATH = 'C:\\\\'\r\nCF_PATH = 'CodeForces'\r\n\r\nCF_USER = {\r\n    'handle': 'abcd', 'password': 'abcd'\r\n}\r\n```\r\n\r\nInput your path, and `icpc init` `icpc open` will use this base path.\r\n\r\nMake sure that `Codeforces` folder in your base path. All the commands related to `Codeforces` will use this folder.\r\n\r\nIf you want to use `icpc submit`, input your account information in `CF_USER`.\r\n\r\n## Usage\r\n\r\n### Init a contest folder\r\n\r\nUse `icpc init [Folder]` or just `init [Folder]` command to create a contest folder in your base path.\r\n\r\n### Open a contest\r\n\r\nUse `icpc open [Folder]` or `open [Folder]` command.\r\n\r\n### Submit your code\r\n\r\nGo to your contest folder.\r\n\r\nUse `icpc submit` command to start submit mode.\r\n\r\nThen icpc-cli will use your account to login Codeforces.\r\n\r\nInput the contest id, and you can get it in the contest url `codeforces.com/contest/[id]`.\r\n\r\nNow, you can just input `a`, `b`, `c`, ... to submit your code!\r\n\r\nP.S: Make sure that your code name is `a.cpp`, `b.cpp`, `c.cpp` and so on.\r\n\r\n## Credits\r\n\r\n+ [idne](https://github.com/endiliey/idne)\r\n\r\n+ [Einsturing](https://github.com/Einsturing)","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fyjl9903%2Ficpc-cli","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fyjl9903%2Ficpc-cli","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fyjl9903%2Ficpc-cli/lists"}