{"id":16976032,"url":"https://github.com/langningchen/ojtool","last_synced_at":"2025-04-12T01:30:41.863Z","repository":{"id":180694715,"uuid":"654941983","full_name":"langningchen/OJTool","owner":"langningchen","description":"Get problem and submit code for OJ just from your CLI!","archived":true,"fork":false,"pushed_at":"2024-07-20T13:48:51.000Z","size":44483,"stargazers_count":5,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"master","last_synced_at":"2025-02-23T22:43:27.486Z","etag":null,"topics":["cli","enhancement","oj","plugin"],"latest_commit_sha":null,"homepage":"","language":"C++","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/langningchen.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":"2023-06-17T11:58:00.000Z","updated_at":"2024-12-21T10:07:07.000Z","dependencies_parsed_at":null,"dependency_job_id":"983b0a7a-421c-48b1-a7eb-912bac4c5238","html_url":"https://github.com/langningchen/OJTool","commit_stats":null,"previous_names":["langningchen/ojtool"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/langningchen%2FOJTool","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/langningchen%2FOJTool/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/langningchen%2FOJTool/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/langningchen%2FOJTool/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/langningchen","download_url":"https://codeload.github.com/langningchen/OJTool/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248504192,"owners_count":21115132,"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":["cli","enhancement","oj","plugin"],"created_at":"2024-10-14T01:24:43.746Z","updated_at":"2025-04-12T01:30:38.495Z","avatar_url":"https://github.com/langningchen.png","language":"C++","funding_links":[],"categories":[],"sub_categories":[],"readme":"[![wakatime](https://wakatime.com/badge/github/langningchen/OJTool.svg)](https://wakatime.com/badge/github/langningchen/OJTool)\n\n# OJTool\n\n## Introduction\n\nGet problem and submit code for OJ just from your CLI! \n\n## Usage\n\n- (Optional) If you want to predict Luogu captcha by AI module, install python package `numpy`, `tensorflow`, `pillow`, `pandas`, `matplotlib`\n\n1. Clone this repository\n2. Run `./Run.sh` to build the project\n3. Run `./Build/OJTool` to run program\n\nor\n\n1. Download the executable file from GitHub Actions artifact\n2. Run `./Build/OJTool` to run program\n\n## Params\n\n| Param name | Full name      |\n| :--------- | :------------- |\n| `-oj`      | `--oj`         |\n| `-u`       | `--username`   |\n| `-p`       | `--password`   |\n| `-o`       | `--operation`  |\n| `-pr`      | `--problem-id` |\n\n| OJ           | Available operation                                         | Website                   | Visibility |\n| :----------- | :---------------------------------------------------------- | :------------------------ | :--------- |\n| `Luogu`      | `GetProblemDetail`,`SubmitCode`,`GetAnswerOrTips`,`ClockIn` | https://www.luogu.com.cn/ | Public     |\n| `Etiger`     | `GetProblemDetail`,`SubmitCode`,`GetAnswerOrTips`,`ClockIn` | https://www.etiger.vip/   | Private    |\n| `XMOJ`       | `GetProblemDetail`,`SubmitCode`                             | https://www.xmoj.tech/    | Private    |\n| `USACO`      | `GetProblemDetail`,`SubmitCode`                             | https://usaco.org/        | Public     |\n| `UVa`        | `GetProblemDetail`,`SubmitCode`                             | https://onlinejudge.org/  | Public     |\n| `Codeforces` | `GetProblemDetail`,`SubmitCode`                             | https://codeforces.com/   | Public     |\n| `AtCoder`    | `GetProblemDetail`,`SubmitCode`                             | https://atcoder.jp/       | Public     |\n\n## License\n\nThis project is licensed under the terms of the GNU General Public License v3.0.","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flangningchen%2Fojtool","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Flangningchen%2Fojtool","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flangningchen%2Fojtool/lists"}