{"id":22698011,"url":"https://github.com/antonis19/peer-flip","last_synced_at":"2025-09-02T06:41:21.297Z","repository":{"id":174165596,"uuid":"646156328","full_name":"antonis19/peer-flip","owner":"antonis19","description":"Flip a coin with your friends without the need for a trusted third party.","archived":false,"fork":false,"pushed_at":"2023-09-18T18:18:49.000Z","size":1151,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-29T18:35:01.371Z","etag":null,"topics":["coin","flip","p2p"],"latest_commit_sha":null,"homepage":"https://peerflip.io","language":"TypeScript","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/antonis19.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-05-27T13:18:14.000Z","updated_at":"2023-11-03T15:46:56.000Z","dependencies_parsed_at":null,"dependency_job_id":"82aa90c1-6102-44de-a8d9-6f5edbc00c1a","html_url":"https://github.com/antonis19/peer-flip","commit_stats":null,"previous_names":["antonis19/peer-flip"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/antonis19/peer-flip","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/antonis19%2Fpeer-flip","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/antonis19%2Fpeer-flip/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/antonis19%2Fpeer-flip/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/antonis19%2Fpeer-flip/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/antonis19","download_url":"https://codeload.github.com/antonis19/peer-flip/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/antonis19%2Fpeer-flip/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":273244305,"owners_count":25070958,"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","status":"online","status_checked_at":"2025-09-02T02:00:09.530Z","response_time":77,"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":["coin","flip","p2p"],"created_at":"2024-12-10T05:17:02.379Z","updated_at":"2025-09-02T06:41:21.283Z","avatar_url":"https://github.com/antonis19.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# PeerFlip\n\n### PeerFlip protocol\n\nPeerFlip is a decentralized method to simulate a coin toss among \\(N\\) participants. Except for the room server which participants use to join the same room and the STUN server that is needed for the participants to establish the initial P2P connections to each other, the protocol does not rely on any centralized party to calculate the coin flip outcome. \n\n\n### How to run\n\nTo run the frontend :\n\n```bash\ncd peer-flip-frontend\nnpm install\nnpm start\n```\n\nIf you want to run the backend locally (for room management) :\n\nSet `REACT_APP_SERVER_URL` to `'wss://localhost:9090'`  in the `.env` file inside `peer-flip-frontend` .\n\nThen run:\n```bash\ncd peer-flip-backend\nnpm install\nnpx tsc *.ts \nnode server.js\n```\n### [Read how it works](./docs/how-it-works.md)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fantonis19%2Fpeer-flip","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fantonis19%2Fpeer-flip","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fantonis19%2Fpeer-flip/lists"}