{"id":16443026,"url":"https://github.com/skyzh/cloudoj","last_synced_at":"2026-05-09T05:03:25.101Z","repository":{"id":34709235,"uuid":"38685625","full_name":"skyzh/CloudOJ","owner":"skyzh","description":"🌩️ (DEPRECATED) An Online Judge. Deprecated due to low efficiency and security issues.","archived":false,"fork":false,"pushed_at":"2017-02-25T00:52:11.000Z","size":429,"stargazers_count":4,"open_issues_count":0,"forks_count":0,"subscribers_count":6,"default_branch":"master","last_synced_at":"2025-02-26T04:44:35.505Z","etag":null,"topics":["bootstrap3","mysql","online-judge","phalcon-php","php"],"latest_commit_sha":null,"homepage":"http://kids.org.cn","language":"PHP","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/skyzh.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}},"created_at":"2015-07-07T12:18:09.000Z","updated_at":"2021-06-08T07:28:51.000Z","dependencies_parsed_at":"2022-08-03T22:15:18.583Z","dependency_job_id":null,"html_url":"https://github.com/skyzh/CloudOJ","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/skyzh/CloudOJ","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/skyzh%2FCloudOJ","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/skyzh%2FCloudOJ/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/skyzh%2FCloudOJ/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/skyzh%2FCloudOJ/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/skyzh","download_url":"https://codeload.github.com/skyzh/CloudOJ/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/skyzh%2FCloudOJ/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32807861,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-08T08:22:46.396Z","status":"online","status_checked_at":"2026-05-09T02:00:06.633Z","response_time":123,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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":["bootstrap3","mysql","online-judge","phalcon-php","php"],"created_at":"2024-10-11T09:19:17.910Z","updated_at":"2026-05-09T05:03:25.086Z","avatar_url":"https://github.com/skyzh.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"# CloudOJ\n## this project is deprecated due to low efficiency and security issues.\nNew MVC Version of SNGOJ, built for CCCCWI.\nBuild based on INVO example of phalconphp\n\n中国福利会少年宫的机智 OJ，这是一个试验版本 o(^▽^)o\n然而我把它的名字叫做 CloudOJ， 听起来大概很有感觉。\n\n## License\n\nCloudOJ is under Apache License.\n\n## Feedback\n\n    echo sprintf(\"iSkyZH%s163.com\", \"@\");\n    echo sprintf(\"iSkyZH%sgmail.com\", \"@\");\n\n## Watcher\n\nSee [CloudOJWatcher](https://github.com/SkyZH/CloudOJWatcher) for Watcher\n\n## Configure\n\n0. git clone ...\n1. Setup PHP and install [Phalcon](https://phalconphp.com)\n2. Goto MySQL Database, excute [SQL Script](https://github.com/SkyZH/CloudOJ/blob/master/sql/cmd.sql), Then add oj user in database\n3. Clone CloudOJ into \\\u003capache htdocs\\\u003e/oj\n4. Make config file at oj/app/config/config.ini\n5. Edit database (For example, add Groups)\n6. Start using OJ at localhost/oj, and then register a user\n7. Goto MySQL Database, go to the user you registered in table user, change groupid to 1 to get admin premission\n\n\n## Avatar\n\nCloudOJ use the Gravator Service and use V2EX's Gravator CDN.\n\n## Problem Data\n\nTo use data saved in file, put your file in /cloudojroot/ojdata/\u003cfile\u003e.in and \u003cfile\u003e.out,\nthen select type of File, type \u003cfile\u003e.in in the dat_in textarea and \u003cfile\u003e.out in the dat_out area.\n\nWe will filter '\\r' in your input.\n\n## Problem Data Cache\n\nCloudOJ's Status Watcher will automatically cache data file. To refresh data, you can:\n\n1. Goto /CloudOJWatcher/data/prob and `rm *`\n2. Change the data's name after it is edited\n\n## Group Table Example\n\nScore Required: 0, 100, 2333333\n\nName: Naive, Beginner, Super\n\nYou must have a group whose score is 0, as well as a group whose score is LARGE ENOUGH.\n\n## Config Example\n\n    [database]\n    adapter  = Mysql\n    host     = localhost\n    username = ojroot\n    password = abcdefghijklmnopqrstuvwxyz\n    name     = oj\n\n    [application]\n    controllersDir = app/controllers/\n    modelsDir      = app/models/\n    viewsDir       = app/views/\n    pluginsDir     = app/plugins/\n    formsDir       = app/forms/\n    libraryDir     = app/library/\n    baseUri        = /oj/\n\n    [watcher]\n    apikey = abcdefghijklmnopqrstuvwxyz\n    \n    [crypt]\n    key = 23333333333333\n\n\n## Todo\n\n* Problem Premission Web Interface\n* Discuss System\n* Contest System\n* Change Password, Change Username\n* Github OAuth Login\n* Avatar System\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fskyzh%2Fcloudoj","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fskyzh%2Fcloudoj","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fskyzh%2Fcloudoj/lists"}