{"id":16834623,"url":"https://github.com/gobwas/ws-examples","last_synced_at":"2025-04-06T08:14:36.364Z","repository":{"id":52557313,"uuid":"99084088","full_name":"gobwas/ws-examples","owner":"gobwas","description":"Examples of using github.com/gobwas/ws","archived":false,"fork":false,"pushed_at":"2021-04-26T06:12:07.000Z","size":25,"stargazers_count":215,"open_issues_count":8,"forks_count":56,"subscribers_count":7,"default_branch":"master","last_synced_at":"2025-03-30T07:11:15.526Z","etag":null,"topics":["examples","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":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/gobwas.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2017-08-02T07:06:16.000Z","updated_at":"2025-03-27T21:30:19.000Z","dependencies_parsed_at":"2022-08-20T22:20:55.617Z","dependency_job_id":null,"html_url":"https://github.com/gobwas/ws-examples","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gobwas%2Fws-examples","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gobwas%2Fws-examples/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gobwas%2Fws-examples/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gobwas%2Fws-examples/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/gobwas","download_url":"https://codeload.github.com/gobwas/ws-examples/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247451668,"owners_count":20940944,"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":["examples","golang","websocket"],"created_at":"2024-10-13T12:07:09.824Z","updated_at":"2025-04-06T08:14:36.336Z","avatar_url":"https://github.com/gobwas.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# [ws](https://github.com/gobwas/ws) examples\n\n[![website][website-image]][website-url]\n\n\u003e Example applications written in Go with `github.com/gobwas/ws` inside.\n\n# Applications\n\n- [x] [Chat](https://github.com/gobwas/ws-examples/tree/master/src/chat)\n- [ ] Chat CLI\n- [ ] Twitter hashtag watcher\n\n# Notes\n\n## Commands\n\nCurrently these commands are developed:\n- `bin/chat` the chat application, which is listening raw tcp socket and\n  handles [jsonrpc]-like messages.\n- `bin/proxy` proxy that used for two purposes. First of all, to serve static\n  files for chat ui. Second and technical one is to proxy `/ws` requests to\n  running chat app. This is done only for running on heroku, where only one port\n  is able to be exported.\n\n## Building\n\nAll commands can be built by `make *` or by just `make`.\n\nThe directory structure is convinient for [gb](https://getgb.io/docs/usage/)\nvendoring tool. But instead of using `gb` git submodules are used to vendor\ndependencies. Thus, `make vendor` will update existing submodules.\n\n\u003e Also, `gb` directory structure is here to signal the heroku buildpack to use\n\u003e appropriate build logic.\n\nChat application deployed [here][website-url].\n\n[website-image]: https://img.shields.io/website-up-down-green-red/http/vast-beyond-95791.herokuapp.com.svg?label=running-example\n[website-url]:   https://vast-beyond-95791.herokuapp.com/#!/chat\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgobwas%2Fws-examples","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fgobwas%2Fws-examples","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgobwas%2Fws-examples/lists"}