Go WebSocket

Open-source Go projects categorized as WebSocket

Top 23 Go WebSocket Projects

  • Echo

    High performance, minimalist Go web framework

    Project mention: Go + Hypermedia - A Learning Journey (Part 1) | dev.to | 2024-02-23

    Echo - web framework for Go

  • Iris

    The fastest HTTP/2 Go Web Framework. New, modern and easy to learn. Fast development with Code you control. Unbeatable cost-performance ratio :rocket:

    Project mention: How to Use Iris and PostgreSQL for Web Development | dev.to | 2023-07-02

    Iris is a fast and lightweight web framework for Go that offers a rich set of features and a high-performance engine. PostgreSQL is a powerful and reliable relational database system that supports advanced data types and functions. Together, they can form a solid foundation for building modern web applications.

  • 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.

  • gotty

    Share your terminal as a web application

    Project mention: CLI software remote elérése | /r/programmingHungary | 2023-07-11
  • 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: Centrifugo v5.1.0 released, with new powers for real-time messaging tasks, now with proxy GRPC subscription streams – similar to WebSocketd but over the network | /r/golang | 2023-10-14
  • ws

    Tiny WebSocket library for Go. (by gobwas)

    Project mention: Websocket memory usage | /r/golang | 2023-05-24

    Then take a look at this article - https://www.freecodecamp.org/news/million-websockets-and-go-cc58418460bb/ - using external from Go std lib epoll implementation and https://github.com/gobwas/ws lib it's possible to reduce memory usage per connection drastically. Though keep in mind that this approach is not obvious to implement right and you better to go with STD lib.

  • goflyway

    An encrypted HTTP server

  • Mercure

    🪽 An open, easy, fast, reliable and battery-efficient solution for real-time communications

    Project mention: PHP homies, I hear ya. | /r/ProgrammerHumor | 2023-05-13

    Are you aware of things like websockets and mercure.rocks?

  • 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.

  • melody

    :notes: Minimalist websocket framework for Go (by olahol)

    Project mention: Release v1.2.0 · gobwas/ws - WebSocket library for Go. | /r/golang | 2023-04-10

    I just recently started using melody (https://github.com/olahol/melody), which claims to be like gorilla websockets. I found it pretty quick to understand, but I haven't used it for anything that complicated. Has anyone used both melody and gobwas/ws? I'm mostly interested in ergonomics, not performance.

  • websocket

    Minimal and idiomatic WebSocket library for Go (by nhooyr)

    Project mention: Possible frameworks/languages for a web/mobile application | /r/webdev | 2023-05-29

    In my experience Go has been relatively approachable for people that are good at PHP. It has a great standard library and a pretty solid ecosystem, though frameworks aren’t as popular in Go. There are some well regarded libraries for things like WebRTC via https://github.com/pion/webrtc WebSicket via https://github.com/nhooyr/websocket

  • gost

    GO Simple Tunnel - a simple tunnel written in golang (by go-gost)

    Project mention: Hackers claim vast access to Western Digital systems | news.ycombinator.com | 2023-04-13

    "I'm going to take this opportunity to shill gost, an amazing tool ..."

    Here is the english readme:


    ... and here is a better page:


    It seems to have a rich feature set ... can you elaborate on why you like this tool so much ?

  • glider

    glider is a forward proxy with multiple protocols support, and also a dns/dhcp server with ipset management features(like dnsmasq). (by nadoo)

  • httpexpect

    End-to-end HTTP and REST API testing for Go.

    Project mention: FLaNK Stack Weekly for 07August2023 | dev.to | 2023-08-07
  • gev

    🚀Gev is a lightweight, fast non-blocking TCP network library / websocket server based on Reactor mode. Support custom protocols to quickly and easily build high-performance servers.

  • go-streams

    A lightweight stream processing library for Go

    Project mention: When is go not a good choice? | /r/golang | 2023-03-03

    Have you looked at this streaming library? https://github.com/reugn/go-streams

  • beaver

    💨 A real time messaging system to build a scalable in-app notifications, multiplayer games, chat apps in web and mobile apps.

  • centrifuge

    Real-time messaging library for Go. The simplest way to add feature-rich and scalable WebSocket support to your application. The core of Centrifugo server.

    Project mention: Centrifugo v5 - new major release of real-time messaging server written in Go | /r/golang | 2023-06-29

    BTW, Centrifugo is based on https://github.com/centrifugal/centrifuge Go library which may provide much more control and flexibility for Gophers than a standalone server and can be embedded to any Go app leveraging all Centrifugo client SDKs.

  • gws

    simple, fast, reliable websocket server & client, supports running over tcp/kcp/unix domain socket. keywords: ws, proxy, chat, go, golang...

    Project mention: gws v1.6.13 release (high-performance websocket server & client ) | /r/golang | 2023-10-15

    gws v1.6.13 release

  • gosumemory

    Cross-Platform memory reader for osu!

    Project mention: Applications downloaded from Github won't open/run | /r/techsupport | 2023-07-12

    So, lately, I have been trying to get some QOL applications from GitHub for Osu! They are applications that seem very safe and many other people are using them with no problem, just me. (The two Github applications here, and here) Whenever I download the one for my system and open the application, it won't open. If I run the program as an administrator nothing, run it in cmd? nothing. The only thing is if I type it into the search bar, the icon pops up in my taskbar but then goes away. I can't figure it out. I don't feel like I should reach out to the developers of these programs because it's happening with multiple different programs not just one. If anyone knows how I could get the programs to open, that would be greatly appreiciated!

  • neffos

    A modern, fast and scalable websocket framework with elegant API written in Go

  • bifrost

    Cross-platform p2p daemon and library with pluggable transports and WebAssembly support. (by aperturerobotics)

    Project mention: Bifrost: A peer-to-peer communications engine with pluggable transports | news.ycombinator.com | 2023-10-22

    Disagree :) Having a `examples/` or `demo/` directory is already good enough, and this repository even has one of those too! https://github.com/aperturerobotics/bifrost/tree/master/exam...

    One of the examples seems relatively easy to grasp if you're a web developer, about how to do HTTP forwarding: https://github.com/aperturerobotics/bifrost/blob/master/exam...

  • tran

    🖥 Securely transfer and send anything between computers with TUI.

  • microservices

    A microservices example in Go

  • dSock

    Distributed WebSocket broker

  • SaaSHub

    SaaSHub - Software Alternatives and Reviews. SaaSHub helps you find the best software and product alternatives

NOTE: The open source projects on this list are ordered by number of github stars. The number of mentions indicates repo mentiontions in the last 12 Months or since we started tracking (Dec 2020). The latest post mention was on 2024-02-23.

Go WebSocket related posts


What are some of the best open-source WebSocket projects in Go? This list will help you:

Project Stars
1 Echo 28,022
2 Iris 24,734
3 gotty 18,340
4 Centrifugo 7,726
5 ws 5,884
6 goflyway 4,311
7 Mercure 3,689
8 melody 3,455
9 websocket 3,347
10 gost 3,089
11 glider 2,710
12 httpexpect 2,425
13 gev 1,696
14 go-streams 1,683
15 beaver 1,501
16 centrifuge 936
17 gws 919
18 gosumemory 588
19 neffos 560
20 bifrost 506
21 tran 358
22 microservices 301
23 dSock 216
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives