{"id":16299679,"url":"https://github.com/koji/api-for-simulator","last_synced_at":"2026-04-27T20:32:16.209Z","repository":{"id":199647895,"uuid":"703408964","full_name":"koji/api-for-simulator","owner":"koji","description":"api server for opentrons-simulator","archived":false,"fork":false,"pushed_at":"2023-12-09T23:20:52.000Z","size":26,"stargazers_count":1,"open_issues_count":2,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-11-03T09:27:14.285Z","etag":null,"topics":["api","fastapi","python"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/koji.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"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":"2023-10-11T07:32:04.000Z","updated_at":"2024-05-22T19:29:32.000Z","dependencies_parsed_at":"2023-10-11T10:22:05.012Z","dependency_job_id":"e55221b5-785a-42cc-b537-43135526e4c0","html_url":"https://github.com/koji/api-for-simulator","commit_stats":null,"previous_names":["koji/api-for-simulator"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/koji/api-for-simulator","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/koji%2Fapi-for-simulator","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/koji%2Fapi-for-simulator/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/koji%2Fapi-for-simulator/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/koji%2Fapi-for-simulator/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/koji","download_url":"https://codeload.github.com/koji/api-for-simulator/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/koji%2Fapi-for-simulator/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32354567,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-27T20:07:02.737Z","status":"ssl_error","status_checked_at":"2026-04-27T20:07:00.910Z","response_time":128,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5: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":["api","fastapi","python"],"created_at":"2024-10-10T20:49:07.424Z","updated_at":"2026-04-27T20:32:16.193Z","avatar_url":"https://github.com/koji.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# api-for-simulator\n\napi server for opentrons-simulator\n\n## how to run locally\n\n```shell\npip install -r requirements.txt\n\ncd app\nuvicorn main:app --reload\n```\n\n### docs\n\n```shell\nuvicorn main:app\n```\n\nThen go to http://localhost:8000/docs to check the api doc.\n\n`/protocol/id` does not work since it is a dummy function right now.\n\n## How to run the server with Dockerfile\n\n```shell\ngit clone https://github.com/koji/api-for-simulator.git\ncd api-for-simulator\ndocker build -t simulator-api:1.0.0 .\n```\n\nAfter building the image\n\n```shell\ndocker run -d --name simulator-api-container -p 80:80 simulator-api:1.0.0\n```\n\nCheck the container\n\n```shell\ndocker ps -q -f \"name=simulator-api-container\" | xargs docker logs -f\n```\n\nTest the api server with curl or postman/httpie\n\n```shell\ncurl localhost:80\n```\n\n## Tool\n\n- postman: https://www.postman.com/\n- httpie: https://httpie.io/\n\n- orbstack https://orbstack.dev/  \n  A GUI app for Docker which is better than Docker Desktop\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkoji%2Fapi-for-simulator","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fkoji%2Fapi-for-simulator","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkoji%2Fapi-for-simulator/lists"}