{"id":29368332,"url":"https://github.com/thenongice/go-grader","last_synced_at":"2026-05-16T13:31:28.078Z","repository":{"id":266698918,"uuid":"899084249","full_name":"TheNongice/go-grader","owner":"TheNongice","description":"A Simple Code Judging that made from Go. It's help your to auto test result from your code.","archived":false,"fork":false,"pushed_at":"2025-06-17T13:17:25.000Z","size":44,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-06-17T14:27:05.800Z","etag":null,"topics":["bash","competitive-programming","golang","grader"],"latest_commit_sha":null,"homepage":"","language":"Go","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/TheNongice.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,"zenodo":null}},"created_at":"2024-12-05T15:38:29.000Z","updated_at":"2025-06-17T13:17:28.000Z","dependencies_parsed_at":"2025-06-17T14:34:07.861Z","dependency_job_id":null,"html_url":"https://github.com/TheNongice/go-grader","commit_stats":null,"previous_names":["thenongice/go-grader"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/TheNongice/go-grader","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TheNongice%2Fgo-grader","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TheNongice%2Fgo-grader/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TheNongice%2Fgo-grader/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TheNongice%2Fgo-grader/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/TheNongice","download_url":"https://codeload.github.com/TheNongice/go-grader/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TheNongice%2Fgo-grader/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":264456032,"owners_count":23611069,"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":["bash","competitive-programming","golang","grader"],"created_at":"2025-07-09T12:12:40.333Z","updated_at":"2026-05-16T13:31:28.045Z","avatar_url":"https://github.com/TheNongice.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Simple Code Judging\nA code judging system is made from GoLang. This system is made for using with C/C++ programing languages.\nCurrently, This system is in prototype for using to learn how to create automation code judging system only.\n\n*This programs is make for Debian \u0026 Ubuntu.*\n\n# Feature\n- Auto compile C/C++ source code.\n- Auto judging the result from execute files.\n- Check walltime, runtime to decide time out. (Using [Isolate](https://github.com/ioi/isolate))\n- It can specific the wrong \u0026 correct answer.\n- [Future] Add problem with .zip file on RestfulAPI.\n\n# Manual Setup\nThis program currently in alpha. I'm not make auto-install script untill it's in beta.\n(Manual Setup)\n1) Install GoLang (Version 1.23.x)\n2) Install Isolate ([MANUAL INSTALL](https://www.ucw.cz/moe/isolate.1.html#_installation))\n3) Setup `go-grader` in .env with these example!\n```env\nISOLATE_PATH=/var/local/lib/isolate/\nDIR_GRADER_PATH=/home/YOUR_USER/go_grader/\n# Please don't forget / (black-slash).\n```\n4) You can create problem testcase following this method:\n - Make new directory as `./problem/\u003cproblem_id\u003e/`\n - Make output and input file as:\n  - Input use `\u003cnumber_testcase\u003e.in`\n  - Output use `\u003cnumber_testcase\u003e.out`\n - Make a description of problem as `desc.json` with these content:\n```json\n{\n    \"problem_title\": \"Problem_Name\",\n    \"max_time\": 1,\n    \"max_memory\": 65536,\n    \"amount_testcase\": 3\n}\n``` \nIf you can't imagine what's you should to make them, You can use this picture as reference.\n\n![Sample Folder Structure to add new problem list](https://ngixx.in.th/img/sample_go-grader.png)\n\n_Note: max_time and max_memory are used seconds and kilobytes (kB)_\n\n5) Let's start! *(with many bug!)*\n\n# Docker Setup\n1) Clone this repo with `git clone https://github.com/TheNongice/go-grader.git`\n2) Config requirement on `docker-compose.yml`\n3) Run it with `docker compose up -d`\n\n## Summary Commands\n1) If you want to run for demo run propose.\n```bash\ngit clone https://github.com/TheNongice/go-grader.git\ndocker compose up -d\n```\n2) If you want to run my modify something.\n```bash\ngit clone https://github.com/TheNongice/go-grader.git\nnano docker-compose.yml\ndocker compose up -d\n```\n\n# Cautions\nThis programs is in testing. It support for Debian.\nWho's interest to use/contributed this script. You're welcome!","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fthenongice%2Fgo-grader","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fthenongice%2Fgo-grader","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fthenongice%2Fgo-grader/lists"}