{"id":21873228,"url":"https://github.com/pr4j3sh/codengine","last_synced_at":"2025-03-21T23:14:43.602Z","repository":{"id":264671367,"uuid":"894035088","full_name":"pr4j3sh/codengine","owner":"pr4j3sh","description":"code compilation server","archived":false,"fork":false,"pushed_at":"2025-02-24T11:31:39.000Z","size":48,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-02-24T12:34:39.937Z","etag":null,"topics":["coding","compiler","container","docker","express","interpreter","programming","server"],"latest_commit_sha":null,"homepage":"https://hub.docker.com/r/pr4j3sh/codengine","language":"JavaScript","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/pr4j3sh.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":"CODE_OF_CONDUCT.md","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":"2024-11-25T16:28:10.000Z","updated_at":"2025-02-24T11:31:43.000Z","dependencies_parsed_at":null,"dependency_job_id":"4cdfad7a-0b15-4b76-95eb-aaf44a47fc45","html_url":"https://github.com/pr4j3sh/codengine","commit_stats":null,"previous_names":["pr4j3sh/codengine"],"tags_count":4,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pr4j3sh%2Fcodengine","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pr4j3sh%2Fcodengine/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pr4j3sh%2Fcodengine/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pr4j3sh%2Fcodengine/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/pr4j3sh","download_url":"https://codeload.github.com/pr4j3sh/codengine/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":244880658,"owners_count":20525515,"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":["coding","compiler","container","docker","express","interpreter","programming","server"],"created_at":"2024-11-28T07:07:09.978Z","updated_at":"2025-03-21T23:14:43.579Z","avatar_url":"https://github.com/pr4j3sh.png","language":"JavaScript","readme":"# codengine\n\nCompile and execute code written in multiple programming languages on a single platform. It uses [codengine-core](https://hub.docker.com/r/pr4j3sh/codengine-core) container.\n\n## Supported Languages\n\n- Javascript\n- Typescript\n- Python\n- Java\n- Perl\n- Ruby\n- Rust\n- Lua\n- CPP\n- C\n\n### Pre-requisites\n\n- [Docker](https://www.docker.com/get-started/)\n\n## Usage\n\n- Run using `docker`\n\n```bash\ndocker run -p 5000:5000 pr4j3sh/codengine:v1.0.4\n```\n\n- Use `curl` to make requests\n\n```bash\ncurl -X POST http://127.0.0.1:5000/api/output/js \\\n-H \"Content-Type: application/json\" \\\n-d '{\"code\": \"console.log(\\\"hello\\\")\"}'\n```\n\n## API Endpoints\n\n```bash\nPOST /api/output/java\nPOST /api/output/cpp\nPOST /api/output/lua\nPOST /api/output/js\nPOST /api/output/ts\nPOST /api/output/py\nPOST /api/output/pl\nPOST /api/output/rb\nPOST /api/output/rs\nPOST /api/output/c\n```\n\n\u003e each endpoint requires raw form of code as `JSON` payload\n\n```json\n{\n  \"code\": \"\"\n}\n```\n\n## References\n\n- [ExpressJs Documentation](https://expressjs.com/en/starter/hello-world.html)\n- [Docker Documentation](https://docs.docker.com/)\n- [@pr4j3sh/frames](https://github.com/pr4j3sh/frames)\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpr4j3sh%2Fcodengine","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpr4j3sh%2Fcodengine","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpr4j3sh%2Fcodengine/lists"}