Go WebSocket

Open-source Go projects categorized as WebSocket | Edit details
Related topics: #Golang #Go #Redis #Messaging #API

Top 23 Go WebSocket Projects

  • GitHub repo Echo

    High performance, minimalist Go web framework

    Project mention: Build a REST API with Golang and MongoDB - Echo Version | dev.to | 2022-01-02

    This post will discuss building a user management application with Golang using the Echo framework and MongoDB. At the end of this tutorial, we will learn how to structure an Echo application, build a REST API and persist our data using MongoDB.

  • GitHub repo websocket

    A fast, well-tested and widely used WebSocket implementation for Go.

    Project mention: I learnt how to use WebSockets, made something beautiful/terrible | news.ycombinator.com | 2021-12-29

    While I didn't get to see what the site originally looked like. If it was just 'submit anonymous comments that websocket subscribers can see', there's a golang example leveraging the gorilla/websocket package that does just that[0].

    [0] https://github.com/gorilla/websocket/tree/master/examples/ch...

  • Scout APM

    Less time debugging, more time building. Scout APM allows you to find and fix performance issues with no hassle. Now with error monitoring and external services monitoring, Scout is a developer's best friend when it comes to application development.

  • GitHub repo gotty

    Share your terminal as a web application

    Project mention: Unix in the Browser Tab | news.ycombinator.com | 2022-01-06

    I have a demo of this here [0] (all the software is in /opt/appfs/rkeene.org). It's using GoTTY [1] for presenting a Linux pty and terminal to your browser, and a simple sandbox.

    [0] https://rkeene.dev/js-repl/?arg=bash

    [1] https://github.com/yudai/gotty

  • GitHub repo Centrifugo

    Scalable real-time messaging server in a language-agnostic way. Set up once and forever.

    Project mention: Woe be onto you for using a WebSocket | news.ycombinator.com | 2021-12-22

    Every time I read criticism of WebSockets it reminds me about WebSuckets (https://speakerdeck.com/3rdeden/websuckets) presentation :)

    I am the author of Centrifugo server (https://github.com/centrifugal/centrifugo) - where the main protocol is WebSocket. Agree with many points in post – and if there is a chance to build sth without replacing stateless HTTP to persistent WebSocket (or EventSource, HTTP-streaming, raw TCP etc) – then definitely better to go without persistent connections.

    But there are many tasks where WebSockets simply shine – by providing a better UX, providing a more interactive content, instant information/feedback. This is important to keep - even if underlying stack is complicated enough. Not every system need to scale to many machines (ex. multiplayer games with limited number of players), corporate apps not really struggle from massive reconnect scenarios, and so on. So WebSockets are definitely fine for certain scenarios IMO.

    I described some problems with WebSockets Centrifugo solves in this blog post - https://centrifugal.dev/blog/2020/11/12/scaling-websocket. I don't want to say there are no problems, I want to say that WebSockets are fine in general and we can do some things to deal with things mentioned in the OP's post.

  • GitHub repo ws

    Tiny WebSocket library for Go. (by gobwas)

    Project mention: TCP or websockets for chat server | reddit.com/r/golang | 2021-11-25

    Hello, +1 to WebSockets. If you need to choose WS library – go with https://github.com/gorilla/websocket or https://github.com/gobwas/ws. You can also look at Centrifugo server (https://centrifugal.dev/, supports WebSocket, SockJS bidi transports, also EventSource, HTTP-streaming, GRPC unidirectional transports and many builtin features) or https://github.com/centrifugal/centrifuge Go library.

  • GitHub repo Mercure

    Server-sent live updates: protocol and reference implementation

    Project mention: The WebSocket Handbook | news.ycombinator.com | 2022-01-11
  • GitHub repo melody

    :notes: Minimalist websocket framework for Go

  • SonarLint

    Deliver Cleaner and Safer Code - Right in Your IDE of Choice!. SonarLint is a free and open source IDE extension that identifies and catches bugs and vulnerabilities as you code, directly in the IDE. Install from your favorite IDE marketplace today.

  • GitHub repo websocket

    Minimal and idiomatic WebSocket library for Go (by nhooyr)

    Project mention: How do I build a text editor like notepad using wails | reddit.com/r/golang | 2021-11-05

    It uses this websocket package https://github.com/nhooyr/websocket, which fully works with GIOUI in web, desktop and mobile.

  • GitHub repo httpexpect

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

    Project mention: Gostman: Postman like inside Go testing | reddit.com/r/golang | 2021-11-26

    I use this library: https://github.com/gavv/httpexpect

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

  • GitHub repo beaver

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

    Project mention: GitHub - Clivern/Beaver: 💨 A real time messaging system to build a scalable in-app notifications, multiplayer games, chat apps in web and mobile apps. | reddit.com/r/golang | 2021-10-16
  • GitHub repo go-streams

    A lightweight stream processing library for Go

    Project mention: A powerful stream processing library with a modular architecture | reddit.com/r/golang | 2021-11-28
  • GitHub repo centrifuge

    Real-time messaging library for Go with scalability in mind.

    Project mention: TCP or websockets for chat server | reddit.com/r/golang | 2021-11-25

    Hello, +1 to WebSockets. If you need to choose WS library – go with https://github.com/gorilla/websocket or https://github.com/gobwas/ws. You can also look at Centrifugo server (https://centrifugal.dev/, supports WebSocket, SockJS bidi transports, also EventSource, HTTP-streaming, GRPC unidirectional transports and many builtin features) or https://github.com/centrifugal/centrifuge Go library.

  • GitHub repo gosumemory

    Cross-Platform memory reader for osu!

    Project mention: i'm writing an enhanced osu! discord presence, including working buttons & a pp counter! | reddit.com/r/osugame | 2022-01-02

    hi! gosumemory does not currently support a pp counter for ctb unfortunately :( i'm not quite sure what could causing the combo to be incorrect, though as it works for me. are you using the latest version of gosumemory?

  • GitHub repo dSock

    Distributed WebSocket broker

  • GitHub repo wstest

    go websocket client for unit testing of a websocket handler

  • GitHub repo cryptogalaxy

    Get any cryptocurrencies ticker and trade data in real time from multiple exchanges and then save it in multiple storage systems.

    Project mention: Cryptocurrencies ticker and trade data in real time from multiple exchanges | news.ycombinator.com | 2021-09-27

    Hey All,

    I am the original author of the app. This is an update to the project.

    Cryptogalaxy [0] is an app which will get any cryptocurrencies ticker and trade data in real time from multiple exchanges and then saves it in multiple storage systems.

    Currently supported exchanges : FTX, Coinbase Pro, Binance, Bitfinex, BHEX, Huobi, Gateio, Kucoin, Bitstamp, Bybit, Probit, Gemini, Bitmart, Digifinex, AscendEX, Kraken, Binance US, OKEx, FTX US, HitBTC. Total 20.

    Currently supported storages : Terminal Output, MySQL, Elasticsearch, InfluxDB, NATS, ClickHouse, S3. Total 7.

    All feedback is welcome.

    P.S Created fun twitter bot [1] using the app.

    [0] : https://github.com/milkywaybrain/cryptogalaxy

  • GitHub repo mcwss

    A websocket server for Minecraft Bedrock Edition

    Project mention: wssserver/connect | reddit.com/r/MinecraftCommands | 2021-07-22
  • GitHub repo gateway

    A standalone service to connect to the Discord WebSocket gateway. (by spec-tacles)

    Project mention: discordgateway - A discord gateway module that separates Discord logic from the websocket logic | reddit.com/r/golang | 2022-01-07

    Probably 4 or more years ago I started a project aimed at microservice architecture for Discord bots. One of the few concrete successes of my efforts has been a gateway application which aims to abstract the Discord gateway logic away from users' applications. Although my efforts have been more on an application level rather than a library level, it seems we've arrived at similar conclusions :)

  • GitHub repo gex

    In-terminal explorer for Cosmos SDK blockchains.

    Project mention: Cosmos Devs: What cool projects are you building for the Cosmo Network and how can I contribute? | reddit.com/r/cosmosnetwork | 2021-06-22
  • GitHub repo hlive

    HLive is a server-side WebSocket based dynamic template-less view layer for Go.

    Project mention: HLive Update: Added Testing, Plugins, PubSub, and more. See comments for details | reddit.com/r/golang | 2021-12-05
  • GitHub repo portal

    Portal is a quick and easy command-line file transfer utility from any computer to another 🖥️ 🌌 💻 (by ZinoKader)

    Project mention: ELI5: what are rendezvous/mailbox servers and transit relay servers in the magic wormhole protocol? | reddit.com/r/explainlikeimfive | 2021-11-13

    I have developed a similar tool called portal which implements some of the same ideas. The mailbox server is what keeps track of connections between senders and receivers. For portal, this mailbox would store information about what type of connection they are trying to make (direct or relayed), and the hashed password, among other things.

  • GitHub repo goftx

    FTX exchange golang library

    Project mention: Will pay someone to fix build issues with github.com/ ftx-auto-lend (Golang program) | reddit.com/r/golang | 2021-04-27

    and make it work with the latest version of module goftx: https://github.com/grishinsana/goftx

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 2022-01-11.

Go WebSocket related posts

Index

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

Project Stars
1 Echo 21,442
2 websocket 16,244
3 gotty 16,167
4 Centrifugo 5,742
5 ws 4,310
6 Mercure 2,636
7 melody 2,336
8 websocket 2,039
9 httpexpect 1,842
10 gev 1,332
11 beaver 1,298
12 go-streams 826
13 centrifuge 563
14 gosumemory 257
15 dSock 204
16 wstest 86
17 cryptogalaxy 84
18 mcwss 80
19 gateway 37
20 gex 35
21 hlive 27
22 portal 27
23 goftx 25
Find remote WebSocket jobs at our new job board 99remotejobs.com. There are 4 new remote jobs listed recently.
Are you hiring? Post a new remote job listing for free.
OPS - Build and Run Open Source Unikernels
Quickly and easily build and deploy open source unikernels in tens of seconds. Deploy in any language to any cloud.
github.com/nanovms