{"id":23415951,"url":"https://github.com/eightsq/cp-domjudge-contest-scripts","last_synced_at":"2025-06-19T13:36:17.371Z","repository":{"id":141466357,"uuid":"286844638","full_name":"EightSQ/cp-domjudge-contest-scripts","owner":"EightSQ","description":"shell scripts for downloading contest data from and submitting solutions to DOMjudge instances","archived":false,"fork":false,"pushed_at":"2020-08-11T20:46:43.000Z","size":2,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-02-15T00:45:21.739Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Shell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/EightSQ.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"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-08-11T20:46:29.000Z","updated_at":"2020-08-11T20:48:10.000Z","dependencies_parsed_at":null,"dependency_job_id":"9dd4b04d-aec9-4a7e-89e9-b30d7b113974","html_url":"https://github.com/EightSQ/cp-domjudge-contest-scripts","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/EightSQ%2Fcp-domjudge-contest-scripts","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/EightSQ%2Fcp-domjudge-contest-scripts/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/EightSQ%2Fcp-domjudge-contest-scripts/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/EightSQ%2Fcp-domjudge-contest-scripts/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/EightSQ","download_url":"https://codeload.github.com/EightSQ/cp-domjudge-contest-scripts/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247988765,"owners_count":21029158,"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-12-22T21:29:11.242Z","updated_at":"2025-04-09T06:24:02.290Z","avatar_url":"https://github.com/EightSQ.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# domjudge submit shell scripts\n\nSome shell scripts for DOMjudge contest cloning and submissions (as a participant).\nThis probably works primarily on Linux and macOS.\n\n## Prerequisites\n\nYou wil need\n- `curl`\n- `httpie`\n- `xdg-open` (optional)\n\n## Configuration\n\nCreate the following files.\n\n- `$HOME/.config/domjudge/session` containing your *PHPSESSID* cookie\n- `$HOME/.config/domjudge/judgeurl` containing the base url of the DOMjudge instance.\n\n## Usage\n\nGo to an appropriate directory and run `clone_contest.sh` there with a contest id as argument. E.g., can find it in the `domjudge_cid` cookie in your browser. This will create one directory for each problem.\n\nBeing in such problem directory and having a solution source file like e.g. `solution.cpp`, run `submit.sh` with the source file as argument. Do not remove the `.contest` and `.problem` files, they are needed by the `submit.sh` script.\n\n\n## Customization\n\nTo add more languages, you will need to find their judge submission form values (i.e. **cpp17** for C++) and modify `submit.sh` accordingly.\n\nThere is a callback for the creation of each problem directory in `clone_contest.sh` script.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Feightsq%2Fcp-domjudge-contest-scripts","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Feightsq%2Fcp-domjudge-contest-scripts","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Feightsq%2Fcp-domjudge-contest-scripts/lists"}