{"id":18787932,"url":"https://github.com/wuhan005/elaina","last_synced_at":"2025-08-21T10:32:15.425Z","repository":{"id":50786832,"uuid":"337065353","full_name":"wuhan005/Elaina","owner":"wuhan005","description":"🔮 Container-based remote code runner. / 基于容器的远程代码运行器","archived":false,"fork":false,"pushed_at":"2024-11-29T16:21:30.000Z","size":6476,"stargazers_count":46,"open_issues_count":12,"forks_count":6,"subscribers_count":4,"default_branch":"master","last_synced_at":"2024-12-10T10:50:28.293Z","etag":null,"topics":["container","docker","go","kubernetes","runner"],"latest_commit_sha":null,"homepage":"https://elaina.n3ko.co/r/xZt74s0FKc","language":"Go","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/wuhan005.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":"2021-02-08T12:14:58.000Z","updated_at":"2024-11-29T16:21:33.000Z","dependencies_parsed_at":"2024-05-27T19:07:20.157Z","dependency_job_id":"93765617-0e81-4b57-8549-1caaa48356b6","html_url":"https://github.com/wuhan005/Elaina","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/wuhan005%2FElaina","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wuhan005%2FElaina/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wuhan005%2FElaina/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wuhan005%2FElaina/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/wuhan005","download_url":"https://codeload.github.com/wuhan005/Elaina/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":230507051,"owners_count":18236944,"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":["container","docker","go","kubernetes","runner"],"created_at":"2024-11-07T20:57:03.177Z","updated_at":"2024-12-19T22:09:01.536Z","avatar_url":"https://github.com/wuhan005.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Elaina ![Go](https://github.com/wuhan005/Elaina/workflows/Go/badge.svg) [![Go Report Card](https://goreportcard.com/badge/github.com/wuhan005/Elaina)](https://goreportcard.com/report/github.com/wuhan005/Elaina) ![Docker Image Size (latest by date)](https://img.shields.io/docker/image-size/wuhan005/elaina) ![Docker Image Version (latest by date)](https://img.shields.io/docker/v/wuhan005/elaina)\n\n\u003cimg align=\"right\" src=\"elaina.gif\" width=\"40%\"/\u003e\nContainer-based remote code runner.\n\n[简体中文](https://github.com/wuhan005/Elaina/blob/master/README_zh.md)\n\n## Start\n\n### Step 1: Install dependencies\n\n* [Docker](https://docs.docker.com/get-docker/) (v20.10.0 or higher)\n* [Postgres](https://www.postgresql.org/download/) (v13.1 or higher)\n\n### Step 2: Pull internal docker images\n\nUse `docker pull` command to pull the images from DockerHub before you start running the Elaina. This operation only\nneeds to be performed once.\n\n```bash\ndocker pull glot/php:latest\ndocker pull glot/python:latest\ndocker pull glot/golang:latest\ndocker pull glot/javascript:latest\ndocker pull glot/c:latest\n```\n\n### Step 3: Build and start the Elaina server\n\n#### Build Elaina\n\n```bash\ngit clone git@github.com:wuhan005/Elaina.git\n\n# Build frontend\ncd frontend/ \u0026\u0026 yarn install \u0026\u0026 yarn build\n\n# Build backend\ngo build .\n```\n\n#### Set environment variables.\n\n```bash\nexport APP_PASSWORD=\u003cREDACTED\u003e\nexport RUNTIME_MODE=docker\nexport POSTGRES_DSN=postgres://postgres:\u003cREDACTED\u003e@127.0.0.1:5432/elaina\n```\n\n#### Run the Elaina server.\n\n```bash\n./Elaina\n```\n\n### Step 4: Have fun!\n\nVisit `http://\u003cyour-host\u003e:8080/` to login to the manager panel.\n\n## License\n\nMIT License\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwuhan005%2Felaina","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fwuhan005%2Felaina","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwuhan005%2Felaina/lists"}