{"id":20332481,"url":"https://github.com/permutationlock/thierd","last_synced_at":"2025-07-07T08:39:59.930Z","repository":{"id":195979138,"uuid":"691330832","full_name":"permutationlock/thierd","owner":"permutationlock","description":"A basic game server in Zig with encryption and authentication over WebSockets and raw TCP.","archived":false,"fork":false,"pushed_at":"2023-10-23T19:16:38.000Z","size":66,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-01-14T15:41:53.366Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Zig","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/permutationlock.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.MIT","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-09-14T00:59:12.000Z","updated_at":"2024-05-29T09:08:28.000Z","dependencies_parsed_at":"2024-11-14T20:38:59.539Z","dependency_job_id":null,"html_url":"https://github.com/permutationlock/thierd","commit_stats":null,"previous_names":["permutationlock/thierd"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/permutationlock%2Fthierd","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/permutationlock%2Fthierd/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/permutationlock%2Fthierd/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/permutationlock%2Fthierd/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/permutationlock","download_url":"https://codeload.github.com/permutationlock/thierd/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":241851781,"owners_count":20030965,"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":[],"created_at":"2024-11-14T20:26:50.931Z","updated_at":"2025-03-04T12:42:36.510Z","avatar_url":"https://github.com/permutationlock.png","language":"Zig","readme":"# Thierd: a simple game server for native and browser clients\n\nThe motivation behind this project is to create a game server with a small\nstatic memory layout that can host authenticated game sessions.\nIt also needs to support browser clients, and thus must use TCP for networking\nand implement a basic version of the WebSocket protocol.\n\nThe current state is a server that can be compiled to serialize and transmit a\ncompile time decided `Message` struct to and from clients. Connections can be\nauthenticated with [Ed25519][1] and encrypted with [ChaCha20-Poly130][2].\nThe server listens on a single TCP socket and can accept WebSocket connections\nor raw TCP connections. The design only requires 8 bytes of additional memory\nper connection to support WebSocket connections.\n\nIn progress is an account system alongside lobbies and matchmaking.\n\n[1]: https://en.wikipedia.org/wiki/EdDSA#Ed25519\n[2]: https://en.wikipedia.org/wiki/ChaCha20-Poly1305\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpermutationlock%2Fthierd","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpermutationlock%2Fthierd","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpermutationlock%2Fthierd/lists"}