{"id":22015521,"url":"https://github.com/rafaelsouzaribeiro/web-chat-with-websocket-using-a-map-variable-in-go","last_synced_at":"2026-04-20T09:31:36.802Z","repository":{"id":247842289,"uuid":"826990935","full_name":"rafaelsouzaribeiro/web-chat-with-websocket-using-a-map-variable-in-go","owner":"rafaelsouzaribeiro","description":"Web chat with WebSocket using a map variable, notifications for logged-in and logged-out users, and support for emojis in Go and JavaScript.","archived":false,"fork":false,"pushed_at":"2024-08-28T00:34:02.000Z","size":15,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-23T09:13:03.207Z","etag":null,"topics":["clean-architecture","emojis","golang","javascript","login","logout","websocket"],"latest_commit_sha":null,"homepage":"","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/rafaelsouzaribeiro.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-07-10T19:45:18.000Z","updated_at":"2024-08-28T18:25:07.000Z","dependencies_parsed_at":"2024-07-10T23:46:53.999Z","dependency_job_id":"0eabc1da-3f18-4a86-a68a-edc861e4d0e5","html_url":"https://github.com/rafaelsouzaribeiro/web-chat-with-websocket-using-a-map-variable-in-go","commit_stats":null,"previous_names":["rafaelsouzaribeiro/web-chat-with-websocket-using-a-map-variable-in-go"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/rafaelsouzaribeiro/web-chat-with-websocket-using-a-map-variable-in-go","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rafaelsouzaribeiro%2Fweb-chat-with-websocket-using-a-map-variable-in-go","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rafaelsouzaribeiro%2Fweb-chat-with-websocket-using-a-map-variable-in-go/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rafaelsouzaribeiro%2Fweb-chat-with-websocket-using-a-map-variable-in-go/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rafaelsouzaribeiro%2Fweb-chat-with-websocket-using-a-map-variable-in-go/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/rafaelsouzaribeiro","download_url":"https://codeload.github.com/rafaelsouzaribeiro/web-chat-with-websocket-using-a-map-variable-in-go/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rafaelsouzaribeiro%2Fweb-chat-with-websocket-using-a-map-variable-in-go/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32041217,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-20T00:18:06.643Z","status":"online","status_checked_at":"2026-04-20T02:00:06.527Z","response_time":94,"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":["clean-architecture","emojis","golang","javascript","login","logout","websocket"],"created_at":"2024-11-30T04:25:53.190Z","updated_at":"2026-04-20T09:31:36.782Z","avatar_url":"https://github.com/rafaelsouzaribeiro.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"Web chat with WebSocket and notifications for logged-in and logged-out users and using emojis in Go and JavaScript. \n\u003cbr /\u003e\u003cbr/\u003e\nNow, if you want to use a chat with messages and track connected and disconnected users using Redis, check out this \u003ca href=\"https://github.com/rafaelsouzaribeiro/web-chat-websocket-in-golang\"\u003eproject\u003c/a\u003e\n\u003cbr /\u003e\u003cbr/\u003e\n1 - Run: cmd/main.go\u003cbr /\u003e\n2 - access via browser: http://localhost:8080/chat\u003cbr /\u003e\n2 - being able to open in multiple tabs and connect multiple users\u003cbr /\u003e\n3 - connect user and send message\n\n\u003cbr/\u003e\n\nYou can also run it through the dockerfile:\u003cbr /\u003e\n\n ```\nFROM golang:1.23 AS builder\nWORKDIR /app\nCOPY . .\n\nRUN go mod download\nRUN GOOS=linux CGO_ENABLED=0 go build -ldflags=\"-w -s\" -o main ./cmd/main.go\n\nFROM scratch\nWORKDIR /app\n\n\nCOPY --from=builder /app/main /app/\nCOPY --from=builder /app/cmd/.env /app/\n\nCMD [\"./main\"]\n ```","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frafaelsouzaribeiro%2Fweb-chat-with-websocket-using-a-map-variable-in-go","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frafaelsouzaribeiro%2Fweb-chat-with-websocket-using-a-map-variable-in-go","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frafaelsouzaribeiro%2Fweb-chat-with-websocket-using-a-map-variable-in-go/lists"}