{"id":48734801,"url":"https://github.com/iamrafaelmelo/gochatty","last_synced_at":"2026-04-12T03:42:28.128Z","repository":{"id":277685074,"uuid":"882390843","full_name":"iamrafaelmelo/gochatty","owner":"iamrafaelmelo","description":"A simple Golang websocket chat powered by Fiber Framework.","archived":false,"fork":false,"pushed_at":"2026-04-06T22:15:16.000Z","size":309,"stargazers_count":0,"open_issues_count":1,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2026-04-12T03:42:24.963Z","etag":null,"topics":["chat","fiber","framework","golang","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/iamrafaelmelo.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":"2024-11-02T17:52:51.000Z","updated_at":"2026-04-03T15:06:01.000Z","dependencies_parsed_at":null,"dependency_job_id":"30d67b04-eb7d-40d2-bed5-d155b80e21ee","html_url":"https://github.com/iamrafaelmelo/gochatty","commit_stats":null,"previous_names":["iamrafaelmelo/gochatty"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/iamrafaelmelo/gochatty","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/iamrafaelmelo%2Fgochatty","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/iamrafaelmelo%2Fgochatty/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/iamrafaelmelo%2Fgochatty/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/iamrafaelmelo%2Fgochatty/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/iamrafaelmelo","download_url":"https://codeload.github.com/iamrafaelmelo/gochatty/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/iamrafaelmelo%2Fgochatty/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31703501,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-11T21:17:31.016Z","status":"online","status_checked_at":"2026-04-12T02:00:06.763Z","response_time":58,"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":["chat","fiber","framework","golang","websocket"],"created_at":"2026-04-12T03:42:27.443Z","updated_at":"2026-04-12T03:42:28.121Z","avatar_url":"https://github.com/iamrafaelmelo.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Go Chatty\n\n![Preview](https://raw.githubusercontent.com/iamrafaelmelo/gochatty/refs/heads/master/screenshots/chat.png)\n\n\u003e [!WARNING]\n\u003e This project is not production-ready, but contributions still are welcome.\n\n## Requirements\n\n- Go \u003e=1.25\n- Docker\n- Node \u0026 NPM\n- Make\n\n## Local development\n\nInstall dependencies:\n\n```sh\nnpm install          # install frontend dependencies\nnpm run build        # build React + Tailwind static assets once\nnpm run dev          # run Vite dev server (optional)\ngo run ./cmd/main.go # run the Go server against built static files\n\n# Or use the existing Make target for the Go app\nmake run\n```\n\nSet `APP_WEBSOCKET_URL` before building the frontend. It is required and must be a full websocket URL including protocol, for example `ws://localhost:8080/ws`.\n\n## Setup for Production environment\n\nThe production image builds frontend assets, compiles the Go binary in a separate stage, and ships only the binary plus static assets in a minimal `scratch` runtime image.\n\nBuild the image:\n\n```sh\ndocker build -t gochatty .\n```\n\nRun the container:\n\n```sh\ndocker run --rm -p 8080:8080 \\\n  -e APP_PORT=8080 \\\n  -e APP_WEBSOCKET_URL=wss://0.0.0.0:8080/ws \\\n  -e APP_ALLOWED_ORIGINS=http://0.0.0.0:8080 \\\n  -e APP_ENV=production \\\n  gochatty\n```\n\nThen access `http://0.0.0.0:8080`.\n\n## Notes\n\n- The production image runs as a non-root user.\n- `APP_ALLOWED_ORIGINS` must include the browser origin that will open the websocket connection.\n- `APP_WEBSOCKET_URL` is required for the frontend build and must be a full websocket URL, for example `ws://localhost:8080/ws` or `wss://chat.example.com/ws`.\n- The current root `Dockerfile` is intended for production-style builds and deployment.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fiamrafaelmelo%2Fgochatty","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fiamrafaelmelo%2Fgochatty","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fiamrafaelmelo%2Fgochatty/lists"}