SaaSHub helps you find the best software and product alternatives Learn more →
Top 20 Go Websocket Projects
-
websocketd
Turn any program that uses STDIN/STDOUT into a WebSocket server. Like inetd, but for WebSockets.
-
Centrifugo
Scalable real-time messaging server in a language-agnostic way. Self-hosted alternative to Pubnub, Pusher, Ably. Set up once and forever.
Project mention: WebSockets vs. Server-Sent-Events vs. Long-Polling vs. WebRTC vs. WebTransport | news.ycombinator.com | 2024-03-20Hello, I am author of https://github.com/centrifugal/centrifugo. Our users can choose from WebSocket, EventSource, WebTransport (experimental stabilize in the future). WebRTC is out of scope as the main purpose is central server based real-time json/binary messaging, and WebRTC makes things much more complex since it shines for peer-to-peer and rich media communications.
What I'd like to add is that Centrifugo also supports HTTP-streaming – not mentioned by the OP – but this is a transport which has advantages over Eventsource - like possibility to send POST body on initial request from web browser (with SSE you can not), it supports binary, and with Readable Streams browser API it's widely supported by modern browsers.
Another thing I'd like to mention about Centrifugo - it supports bidirectional WebSocket fallbacks with EventSource and HTTP-streaming, and does this without sticky sessions requirement. I guess nobody else have this at this point. See https://centrifugal.dev/blog/2022/07/19/centrifugo-v4-releas.... Which solves one more practical concern. Sticky sessions is an optimization in Centrifugo case, not a requirement.
If you are interested in topic, we also have a post about WebSocket scalability - https://centrifugal.dev/blog/2020/11/12/scaling-websocket - it covers some design decisions made in Centrifugo.
-
WorkOS
The modern identity platform for B2B SaaS. The APIs are flexible and easy-to-use, supporting authentication, user identity, and complex enterprise features like SSO and SCIM provisioning.
-
sish uses ssh tunneling that you can read about in their docs: https://ssi.sh/
-
Looks like there are a couple of attempts but my google fu didn't really yield a winner.
https://github.com/while1malloc0/hotwire-go-example
if that's the case, there is definitely an opening on the market for such tech.
As someone who's been writing web apps since DHTML days, Livewire/Turbo feels like we've finally reached the future.
-
# Dockerfile # ... RUN curl -fsSL https://github.com/anycable/anycable-go/releases/download/v1.4.1/anycable-go-linux-amd64 -o anycable-go \ && chmod +x anycable-go && cp anycable-go /usr/local/bin/anycable-go # ...
-
-
-
InfluxDB
Power Real-Time Data Analytics at Scale. Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.
-
-
binance-proxy
A websocket proxy written in GoLang, that caches the endpoints: klines, depth, ticker/24hr, and exchangeInfo. It resembles the Binance API behaviour. And has a primary usecase to eliminate ratelimits when querying the Binance API from a single IP.
-
canvas
Draw on an HTML 2D canvas in a web browser from a server program using WebSockets. (by fzipp)
-
-
ksbus
KSBus is a zero-configuration event bus written in Go, designed to facilitate real-time data sharing and synchronization between Go servers, JavaScript clients, and Python. It's particularly useful for building applications that require real-time communication, such as chat applications or live updates.
-
-
channelize
A websocket framework to manage outbound streams. Allowing to have multiple channels per connection that includes public and private channels.
-
livegollection
livegollection is a Golang library for live data synchronization between backend and frontend of a custom user-implemented collection. It's aimed for web applications since it works over websockets.
-
-
-
-
-
-
SaaSHub
SaaSHub - Software Alternatives and Reviews. SaaSHub helps you find the best software and product alternatives
Go Websockets related posts
- How to Fetch a Turbo Stream
- The secret weapon of LiveView development is …
- Not a Go LiveView developer yet? Try to guess what this code is doing, though.
- A library for exposing simple scripts? (Scripts As A Service)
- Show HN: DriftDB is an open source WebSocket back end for real-time apps
- 3 issues LiveView development in Go resolve efficiently for small teams
- websocketd
-
A note from our sponsor - SaaSHub
www.saashub.com | 18 Apr 2024
Index
What are some of the best open-source Websocket projects in Go? This list will help you:
Project | Stars | |
---|---|---|
1 | websocketd | 17,072 |
2 | Centrifugo | 7,888 |
3 | sish | 3,763 |
4 | live | 612 |
5 | anycable-go | 348 |
6 | Valkyrie | 292 |
7 | kago | 186 |
8 | goobs | 110 |
9 | binance-proxy | 102 |
10 | canvas | 89 |
11 | goomerang | 40 |
12 | ksbus | 37 |
13 | peasocket | 34 |
14 | channelize | 26 |
15 | livegollection | 23 |
16 | chat-websocket-gin | 21 |
17 | valente | 16 |
18 | gws | 7 |
19 | go-websockets | 3 |
20 | quadis-server | 0 |