{"id":18545750,"url":"https://github.com/icrawl/myrias","last_synced_at":"2026-03-07T17:33:29.117Z","repository":{"id":36534804,"uuid":"200283740","full_name":"iCrawl/myrias","owner":"iCrawl","description":"Arbitrary code execution server using Docker //in Rust//.","archived":false,"fork":false,"pushed_at":"2023-03-09T14:12:28.000Z","size":155,"stargazers_count":23,"open_issues_count":4,"forks_count":1,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-04-10T12:48:52.765Z","etag":null,"topics":["code","eval","evaluation","rust","servant","server"],"latest_commit_sha":null,"homepage":"","language":"Rust","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/iCrawl.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":".github/FUNDING.yml","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},"funding":{"github":["icrawl"],"patreon":"iCrawl","open_collective":null,"ko_fi":"crawltogo","tidelift":null,"community_bridge":null,"liberapay":null,"issuehunt":null,"otechie":null,"custom":null}},"created_at":"2019-08-02T18:54:03.000Z","updated_at":"2024-12-25T02:23:47.000Z","dependencies_parsed_at":"2025-04-09T19:36:44.529Z","dependency_job_id":"f2b81529-528e-4836-a0c4-cde222e08cce","html_url":"https://github.com/iCrawl/myrias","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/iCrawl/myrias","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/iCrawl%2Fmyrias","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/iCrawl%2Fmyrias/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/iCrawl%2Fmyrias/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/iCrawl%2Fmyrias/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/iCrawl","download_url":"https://codeload.github.com/iCrawl/myrias/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/iCrawl%2Fmyrias/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":30223417,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-03-07T17:00:40.062Z","status":"ssl_error","status_checked_at":"2026-03-07T17:00:39.026Z","response_time":53,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":["code","eval","evaluation","rust","servant","server"],"created_at":"2024-11-06T20:22:00.375Z","updated_at":"2026-03-07T17:33:29.092Z","avatar_url":"https://github.com/iCrawl.png","language":"Rust","readme":"# Myrias\n\nArbitrary code execution server using Docker //in Rust//.\n\n## Setup (Linux only)\nYou have to [install](https://gvisor.dev/docs/user_guide/docker/) [gVisor](https://github.com/google/gvisor) as a runtime for docker to provide an additional isolation boundary between the containers and the host kernel.\n\n```sh\n(\n    set -e \n    wget https://storage.googleapis.com/gvisor/releases/nightly/latest/runsc\n    wget https://storage.googleapis.com/gvisor/releases/nightly/latest/runsc.sha512\n    sha512sum -c runsc.sha512\n    sudo mv runsc /usr/local/bin\n    sudo chown root:root /usr/local/bin/runsc\n    sudo chmod 0755 /usr/local/bin/runsc\n)\n```\n\n`/etc/docker/daemon.json`:\n```json\n{\n    \"runtimes\": {\n        \"runsc\": {\n            \"path\": \"/usr/local/bin/runsc\",\n            \"runtimeArgs\": [\n                \"--network=none\",\n                \"--overlay\"\n            ]\n        },\n        \"runsc-kvm\": {\n            \"path\": \"/usr/local/bin/runsc\",\n            \"runtimeArgs\": [\n                \"--platform=kvm\",\n                \"--network=none\",\n                \"--overlay\"\n            ]\n        }\n    }\n}\n```\nYou may have to create this file if it does not exist.\n\n## Installation\n[Archives of precompiled binares for Myrias will be available for Windows, macOS and Linux.](https://github.com/iCrawl/myrias/releases)\n\nLinux binaries are static executables. Windows binaries are available built with Microsoft Visual C++ (MSVC).\n\n## Running\n\nTBD\n\n## Motivation\n- [Myriad](https://github.com/1Computer1/myriad): I just really can't read/write Haskell.\n\n## Endpoints\n\n### **GET** `/languages`\nList of enabled languages.  \nExample response:\n\n```json\n[\"rust\", \"typescript\"]\n```\n\n### **POST** `/create_container`\nCreates a language container (if not already present).  \nJSON payload with `language` key.  \nThe `language` is as in the name of a subfolder in the `languages` directory.  \nExample payload:\n\n```json\n{ \"language\": \"rust\" }\n```\n\n### **POST** `/eval`\nEvaluate code.  \nJSON payload with `language` and `code` keys.  \nThe `language` is as in the name of a subfolder in the `languages` directory.  \nExample payload:\n\n```json\n{ \"language\": \"rust\", \"code\": \"fn main() { println!(\\\"{}\\\", 1 + 1); }\" }\n```\n\nExample response:\n```json\n{ \"result\": \"2\\n\" }\n```\n\nErrors with 404 if `language` is not found, `504` if evaluation timed out, or `500` if evaluation failed for other reasons.\n\n### **GET** `/containers`\nList of containers being handled by Myrias.\n\n### **POST** `/cleanup`\nKill all containers, giving back the names of the containers killed.\n","funding_links":["https://github.com/sponsors/icrawl","https://patreon.com/iCrawl","https://ko-fi.com/crawltogo"],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ficrawl%2Fmyrias","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ficrawl%2Fmyrias","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ficrawl%2Fmyrias/lists"}