whatisgithub

What is websocket?

gofiber/websocket — explained in plain English

Analysis updated 2026-07-25 · repo last pushed 2023-05-24

287GoAudience · developerComplexity · 2/5DormantSetup · easy

In one sentence

A Go package that adds real-time WebSocket support to Fiber web apps, enabling live chat, instant updates, and push notifications. It is deprecated and has moved to Fiber Contrib.

Mindmap

mindmap
  root((repo))
    What it does
      WebSocket support
      Two-way connection
      Real-time features
    Tech stack
      Go language
      Fiber framework
      WebSockets
    Use cases
      Live chat apps
      Instant dashboards
      Collaborative tools
    Audience
      Go developers
      Fiber users
    Status
      Deprecated
      Moved to Fiber Contrib

Code map

Detail Auto

An interactive map of this repo's files and how they connect — its source is parsed live in your browser. Click Visualize to build it.

filefunction / class

What do people build with it?

USE CASE 1

Add live chat to a Fiber web app

USE CASE 2

Build a dashboard with instant stock price updates

USE CASE 3

Create collaborative real-time tools

USE CASE 4

Send push notifications to users without page refreshes

What is it built with?

GoFiberWebSockets

How does it compare?

gofiber/websocketefforg/yayaprogrammersd21/flow
Stars287303263
LanguageGoGoGo
Last pushed2023-05-242023-12-27
MaintenanceDormantDormant
Setup difficultyeasyhardeasy
Complexity2/54/52/5
Audiencedeveloperops devopsdeveloper

Figures from each repo's GitHub metadata at analysis time.

How do you get it running?

Difficulty · easy Time to first run · 5min

Package is deprecated, new projects should use the version in Fiber Contrib instead.

So what is it?

This repository, gofiber/websocket, is a package that adds WebSocket support to web applications built with the Fiber framework. WebSockets are a technology that lets a server and a user's browser maintain an open, two-way connection. This is what makes real-time features possible, like live chat, multiplayer game updates, or instant notifications, where information needs to flow back and forth without the user constantly refreshing the page. Normally, the web works through a series of separate requests, a user asks for a page, the server sends it, and the connection closes. WebSockets skip that cycle by keeping the connection open so the server can push new information to the user the moment it happens. This particular package was designed to make that technology easy to plug into apps using Fiber, a popular tool for building web services in the Go programming language. The people who would use this are developers building real-time features into a Fiber-based application. For example, a startup building a live customer support chat widget, a team creating a dashboard that updates stock prices instantly, or anyone making a collaborative tool would rely on this kind of underlying connection. The important thing to know is that this repository is deprecated, meaning it is no longer maintained or updated. The functionality still exists, but it has been moved into a central community collection called Fiber Contrib. Anyone starting a new project should use the version located there instead, as that is where active development and fixes now happen.

Copy-paste prompts

Prompt 1
Help me add real-time WebSocket chat to my Go Fiber app using gofiber/websocket
Prompt 2
Set up a Fiber Go server that pushes instant updates to connected browsers using WebSockets
Prompt 3
Migrate my gofiber/websocket code to the Fiber Contrib package so I am on the maintained version

Frequently asked questions

What is websocket?

A Go package that adds real-time WebSocket support to Fiber web apps, enabling live chat, instant updates, and push notifications. It is deprecated and has moved to Fiber Contrib.

What language is websocket written in?

Mainly Go. The stack also includes Go, Fiber, WebSockets.

Is websocket actively maintained?

Dormant — no commits in 2+ years (last push 2023-05-24).

How hard is websocket to set up?

Setup difficulty is rated easy, with roughly 5min to a first successful run.

Who is websocket for?

Mainly developer.

Open on GitHub → Ask about another repo

This repo across BitVibe Labs

Verify against the repo before relying on details.