{"id":30857742,"url":"https://github.com/04ar/go_server","last_synced_at":"2025-09-07T13:33:37.097Z","repository":{"id":312314513,"uuid":"1046200769","full_name":"04AR/go_server","owner":"04AR","description":"learning to make websocket go servers","archived":false,"fork":false,"pushed_at":"2025-09-05T21:12:16.000Z","size":46,"stargazers_count":3,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-09-05T23:29:05.163Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Go","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/04AR.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,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2025-08-28T10:38:59.000Z","updated_at":"2025-09-05T21:14:27.000Z","dependencies_parsed_at":"2025-08-29T20:47:36.499Z","dependency_job_id":"82adfa1d-0b64-4752-8fab-b20fd9d49f47","html_url":"https://github.com/04AR/go_server","commit_stats":null,"previous_names":["04ar/go_server"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/04AR/go_server","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/04AR%2Fgo_server","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/04AR%2Fgo_server/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/04AR%2Fgo_server/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/04AR%2Fgo_server/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/04AR","download_url":"https://codeload.github.com/04AR/go_server/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/04AR%2Fgo_server/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":274045976,"owners_count":25212978,"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-07T02:00:09.463Z","response_time":67,"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":[],"created_at":"2025-09-07T13:33:35.417Z","updated_at":"2025-09-07T13:33:37.083Z","avatar_url":"https://github.com/04AR.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"just learning to use Go by building the websocket server\n\n# Go WebSocket Server with Redis + SQL Backend\n\n🚀 A lightweight and scalable **WebSocket server written in Go** that supports **real-time synchronization** between clients.  \nIt uses:\n\n- **Redis** → for state replication, broadcasting, and real-time pub/sub.  \n- **PostgreSQL or SQLite** → for persistent storage (user accounts, auth, metadata).  \n- **JWT authentication** → for secure client identification.  \n\nThis setup is ideal for:\n- Any real-time service that requires persistence + fast sync ⚡  \n\n---\n\n## ✨ Features\n\n- 🔌 **WebSocket-based communication** (bidirectional, low latency).  \n- 🗄️ **Pluggable database layer** → choose between **Postgres** or **SQLite**.  \n- 📡 **Redis Pub/Sub** → ensures all clients across multiple servers stay in sync.  \n- 🔒 **JWT-based authentication** → secure and stateless.  \n- 🛠️ **Thin abstraction layer** → easy to extend with custom game/app logic.  \n- ⚡ **Goroutine-based concurrency** → scales well with thousands of connections.  \n\n---\n\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2F04ar%2Fgo_server","html_url":"https://awesome.ecosyste.ms/projects/github.com%2F04ar%2Fgo_server","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2F04ar%2Fgo_server/lists"}