{"id":13599764,"url":"https://github.com/agrawal-d/cph","last_synced_at":"2025-04-10T17:32:14.009Z","repository":{"id":37357760,"uuid":"216911114","full_name":"agrawal-d/cph","owner":"agrawal-d","description":"Makes judging, compiling, and downloading problems for competitive programming easy.","archived":false,"fork":false,"pushed_at":"2025-04-05T17:43:01.000Z","size":10447,"stargazers_count":872,"open_issues_count":54,"forks_count":147,"subscribers_count":7,"default_branch":"main","last_synced_at":"2025-04-05T18:29:50.715Z","etag":null,"topics":["atcoder","codechef","codeforces","competitive-programming","hacktoberfest","icpc","topcoder"],"latest_commit_sha":null,"homepage":"https://agrawal-d.github.io/cph","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/agrawal-d.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":".github/FUNDING.yml","license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":"docs/support.md","governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null},"funding":{"custom":"https://www.paypal.com/ncp/payment/CMLKCFEJEMX5L","patreon":"agrawald","github":"agrawal-d"}},"created_at":"2019-10-22T21:15:46.000Z","updated_at":"2025-04-05T17:43:05.000Z","dependencies_parsed_at":"2024-01-14T04:48:41.630Z","dependency_job_id":"7469863a-cedd-4fc5-b032-4cc55e1c9f20","html_url":"https://github.com/agrawal-d/cph","commit_stats":null,"previous_names":[],"tags_count":14,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/agrawal-d%2Fcph","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/agrawal-d%2Fcph/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/agrawal-d%2Fcph/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/agrawal-d%2Fcph/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/agrawal-d","download_url":"https://codeload.github.com/agrawal-d/cph/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248261994,"owners_count":21074229,"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":["atcoder","codechef","codeforces","competitive-programming","hacktoberfest","icpc","topcoder"],"created_at":"2024-08-01T17:01:11.015Z","updated_at":"2025-04-10T17:32:14.001Z","avatar_url":"https://github.com/agrawal-d.png","language":"TypeScript","funding_links":["https://www.paypal.com/ncp/payment/CMLKCFEJEMX5L","https://patreon.com/agrawald","https://github.com/sponsors/agrawal-d"],"categories":["TypeScript"],"sub_categories":[],"readme":"# Competitive Programming Helper (cph)\n\n[![Build Status](https://img.shields.io/endpoint.svg?url=https%3A%2F%2Factions-badge.atrox.dev%2Fagrawal-d%2Fcph%2Fbadge%3Fref%3Dmain\u0026style=flat)](https://actions-badge.atrox.dev/agrawal-d/cph/goto?ref=main)\n[![Downloads](https://img.shields.io/visual-studio-marketplace/d/DivyanshuAgrawal.competitive-programming-helper)](https://marketplace.visualstudio.com/items?itemName=DivyanshuAgrawal.competitive-programming-helper)\n\nQuickly compile, run and judge competitive programming problems in VS Code.\nAutomatically download testcases , or write \u0026 test your own problems. Once you\nare done, easily submit your solutions directly with the click of a button!\n\nCph supports a large number of popular platforms like Codeforces, Codechef,\nTopCoder etc. with the help of competitive companion browser extension\n\n![Screenshot](screenshots/screenshot-main.png)\n\n## Quick start\n\n1. [Install cph](https://marketplace.visualstudio.com/items?itemName=DivyanshuAgrawal.competitive-programming-helper)\n   in VS Code and open any folder.\n1. [Install competitive companion](https://github.com/jmerle/competitive-companion#readme)\n   in your browser.\n1. Use Companion by pressing the green plus (+) circle from the browser toolbar\n   when visiting any problem page.\n1. The file opens in VS Code with testcases preloaded. Press\n   \u003ckbd\u003eCtrl\u003c/kbd\u003e+\u003ckbd\u003eAlt\u003c/kbd\u003e+\u003ckbd\u003eB\u003c/kbd\u003e to run them.\n\n-   (Optional) Install the [cph-submit](https://github.com/agrawal-d/cph-submit)\n    browser extension to enable submitting directly on CodeForces.\n-   (Optional) Install submit client and config file from the\n    [Kattis help page](https://open.kattis.com/help/submit) after logging in.\n\nYou can also use this extension locally, just open any supported file and press\n'Run Testcases' (or \u003ckbd\u003eCtrl\u003c/kbd\u003e+\u003ckbd\u003eAlt\u003c/kbd\u003e+\u003ckbd\u003eB\u003c/kbd\u003e) to manually\nenter testcases.\n\n[![See detailed user guide](https://img.shields.io/badge/-Read%20detailed%20usage%20guide-blue?style=for-the-badge)](docs/user-guide.md)\n\n## Features\n\n-   Automatic compilation with display for compilation errors.\n-   Intelligent judge with support for signals, timeouts and runtime errors.\n-   Works with Competitive Companion.\n-   [Codeforces auto-submit](https://github.com/agrawal-d/cph-submit)\n    integration.\n-   [Kattis auto-submit](docs/user-guide.md) integration.\n-   Works locally for your own problems.\n-   Support for several languages.\n\n## Supported Languages\n\n-   C++\n-   C\n-   C#\n-   Rust\n-   Go\n-   Haskell\n-   Python\n-   Ruby\n-   Java\n-   JavaScript (Node.js)\n\n## Contributing\n\nYou can contribute to this extension in many ways:\n\n-   File bug reports by creating issues.\n-   Develop this extension further - see [developer guide](docs/dev-guide.md).\n-   Spreading the word about this extension.\n\n**Before creating a Pull Request, please create an issue to discuss the\napproach. It makes reviewing and accepting the PR much easier.**\n\n## Telemetry\n\nTo show live user count, the extension sends a request to the server every few\nseconds. No information is sent with the request.\n\n## License\n\nCopyright (C) 2019 - Present Divyanshu Agrawal\n\nThis program is free software: you can redistribute it and/or modify it under\nthe terms of the GNU General Public License as published by the Free Software\nFoundation, either version 3 of the License, or (at your option) any later\nversion.\n\nThis program is distributed in the hope that it will be useful, but WITHOUT ANY\nWARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A\nPARTICULAR PURPOSE. See the GNU General Public License for more details.\n\nYou should have received a copy of the GNU General Public License along with\nthis program. If not, see https://www.gnu.org/licenses/.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fagrawal-d%2Fcph","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fagrawal-d%2Fcph","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fagrawal-d%2Fcph/lists"}