{"id":20558095,"url":"https://github.com/dineshba/coderacing","last_synced_at":"2026-06-01T04:31:40.562Z","repository":{"id":98812774,"uuid":"109554825","full_name":"dineshba/CodeRacing","owner":"dineshba","description":null,"archived":false,"fork":false,"pushed_at":"2018-09-30T05:45:00.000Z","size":357,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"master","last_synced_at":"2025-03-06T07:19:06.096Z","etag":null,"topics":["actor-model","elixir"],"latest_commit_sha":null,"homepage":null,"language":"Elixir","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/dineshba.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":"2017-11-05T05:37:26.000Z","updated_at":"2018-09-30T05:45:02.000Z","dependencies_parsed_at":"2023-03-09T19:45:15.834Z","dependency_job_id":null,"html_url":"https://github.com/dineshba/CodeRacing","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/dineshba/CodeRacing","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dineshba%2FCodeRacing","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dineshba%2FCodeRacing/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dineshba%2FCodeRacing/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dineshba%2FCodeRacing/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/dineshba","download_url":"https://codeload.github.com/dineshba/CodeRacing/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dineshba%2FCodeRacing/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":33760645,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-06-01T02:00:06.963Z","response_time":115,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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":["actor-model","elixir"],"created_at":"2024-11-16T03:42:15.872Z","updated_at":"2026-06-01T04:31:40.546Z","avatar_url":"https://github.com/dineshba.png","language":"Elixir","funding_links":[],"categories":[],"sub_categories":[],"readme":"# CodeRacing\n\n### To Play\n  * Register by `curl -X POST -d '{\"user\": {\"name\": \"yourName\"}}' -H \"Content-Type:application/json\" localhost:4000/register`\n  * You will get a secret_key in the above response. Use that for the successive requests\n  * To see the challenge for you(racer), `curl localhost:4000/challenge -H \"username: yourName\" -H \"key: secret_key\"`\n  * To get the random input from server, `curl localhost:4000/challenge/input -H \"username: yourName\" -H \"key: secret_key\"`\n  * To post your output, `curl -X POST -d '{\"output\": output_body_in_sample_response}' localhost:4000/challenge/output -H \"username: yourName\" -H \"key: secret_key\" -H \"Content-Type: application/json\"`\n  * **Note:** Inputs are random and time difference between input and output requests should be less than `2 seconds`\n\nTo start code racer in your local:\n\n  * Clone the repo\n  * Install elixir and erlang (refer version in .tool-versions file)\n  * Install dependencies with `mix deps.get`\n  * Start Phoenix endpoint with `mix phoenix.server`\n\nNow you can visit [`localhost:4000`](http://localhost:4000) in your browser to see the progress of the race.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdineshba%2Fcoderacing","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdineshba%2Fcoderacing","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdineshba%2Fcoderacing/lists"}