{"id":18186446,"url":"https://github.com/stevenacoffman/connect-box","last_synced_at":"2026-02-07T08:02:16.475Z","repository":{"id":260809266,"uuid":"880460343","full_name":"StevenACoffman/connect-box","owner":"StevenACoffman","description":"Real Time Collaboration Game(s)... with gRPC and HTTP2+","archived":false,"fork":false,"pushed_at":"2024-11-23T19:27:02.000Z","size":2008,"stargazers_count":3,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-07-26T17:04:46.838Z","etag":null,"topics":["connectrpc","grpc","jackbox","jackbox-games","protobuf"],"latest_commit_sha":null,"homepage":"","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/StevenACoffman.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":"2024-10-29T19:06:19.000Z","updated_at":"2025-03-18T20:42:07.000Z","dependencies_parsed_at":null,"dependency_job_id":"5b9f2a16-e95e-4975-b607-ce014b19ef17","html_url":"https://github.com/StevenACoffman/connect-box","commit_stats":{"total_commits":6,"total_committers":1,"mean_commits":6.0,"dds":0.0,"last_synced_commit":"34bf65854f7fdfc122d9dd8635a44dc669172553"},"previous_names":["stevenacoffman/connect-box"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/StevenACoffman/connect-box","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/StevenACoffman%2Fconnect-box","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/StevenACoffman%2Fconnect-box/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/StevenACoffman%2Fconnect-box/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/StevenACoffman%2Fconnect-box/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/StevenACoffman","download_url":"https://codeload.github.com/StevenACoffman/connect-box/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/StevenACoffman%2Fconnect-box/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":268361904,"owners_count":24238530,"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-08-02T02:00:12.353Z","response_time":74,"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":["connectrpc","grpc","jackbox","jackbox-games","protobuf"],"created_at":"2024-11-03T00:02:52.700Z","updated_at":"2026-02-07T08:02:15.962Z","avatar_url":"https://github.com/StevenACoffman.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# hackathon-khanmigogo - Jackbox-style collaborative real time classroom activities\n\nReal Time Collaboration Games... with gRPC and HTTP/2 or HTTP/3!\n\nCheck out a live demo at [https://play.khanacademy.systems/](https://play.khanacademy.systems/) !\n\nThis is a GameHub for a number of Jackbox-style collaborative realtime games.\nRight now, only poll Battle works, but it shouldn't be too hard to add more.\n\n## Local dev environment dependencies\nWe expect you have these things installed:\n```\nbrew install go node typescript yarn\n```\n## Starting the App\n```\ncd ui\nyarn install\nyarn build\ncd ..\ngo run main.go\n```\n\nThen navigate to http://localhost:8080 and start a poll battle\n## Getting Buf build working\nYou can probably just run:\n```\n./generate.sh\n```\nBut if you want to globaly install everything, assuming you have go installed, you can do this:\n```\nnpm install --g @bufbuild/buf @bufbuild/protoc-gen-es@v2.2.2\nexport GOBIN=~/khan/webapp/genfiles/go/bin\ngo install github.com/bufbuild/buf/cmd/buf@latest\ngo install github.com/fullstorydev/grpcurl/cmd/grpcurl@latest\ngo install google.golang.org/protobuf/cmd/protoc-gen-go@latest\ngo install connectrpc.com/connect/cmd/protoc-gen-connect-go@latest\n```\nThen you should be able to run `buf generate` or `buf lint` assuming your global node\ninstall bin directory is in your path.\n\n\n## Running the Poll Battle locally\n\n- Build the React app by running `cd ui \u0026\u0026 npm install \u0026\u0026 npm run build`\n  - The React app can also be built by running `docker build . --output \"$(pwd)/ui/build\" --target copytohost`\n- Run the server with `go run main.go`\n- Navigate to http://localhost:8080\n\n## Modifying the poll battle game protobuf\n\n- The protobufs for the poll battle game are defined in `./ui/src/proto/chat.proto` and `./server/chat/v1/chat.proto`\n- If changes are made to these, then Buf compiler needs to be run again. In the directory where the `buf.gen.yaml` file is defined, run the following commands:\n  - (Optional) `buf lint` and `buf format` to lint/format the protobuf files\n  - `buf generate` to generate the connect RPC code\n  - More details for Buf's CLI can be found [here](https://buf.build/docs/ecosystem/cli-overview)\n\n## Deploying to prod\nRun:\n```\n./build.sh\n```\nThis will rebuild the assets in prod mode, and then push a docker container.\nUpdating kubernetes manifests is manual for now.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fstevenacoffman%2Fconnect-box","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fstevenacoffman%2Fconnect-box","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fstevenacoffman%2Fconnect-box/lists"}