gorilla

    gorilla/websocket

    Package gorilla/websocket is a fast, well-tested and widely used WebSocket implementation for Go.

    24.9K stars
    3.6K forks
    24.9K GitHub watchers
    Updated Nov 5, 2026
    View on GitHub

    Build with Backblaze B2

    SDKs, agent skills, IDE extensions, and reference pipelines from Backblaze Labs. All open source.

    Explore Backblaze Labs

    Loading star history...

    Where it stands

    Rank, growth pace and release cadence relative to everything GStars tracks.

    No releases in the last 90 days; the most recent was 874 days ago, with 77 contributors on GitHub.

    Peaked at #83 in the weekly ranking the week of Feb 22, its best in the past year.

    Use Cases & Benefits

    • Implements the WebSocket protocol for real-time, full-duplex communication in Go applications.
    • Offers a fast, well-tested, and stable API that fully complies with the WebSocket RFC and passes Autobahn test suite validations.
    • Use for building real-time chat applications requiring persistent client-server connections in Go.
    • Use for developing interactive command interfaces or dashboards that need instant server updates.
    • Use for monitoring file system changes and pushing live updates to clients over WebSocket connections.

    Should you depend on it?

    License terms, project hygiene and risks, from GitHub metadata and GStars' snapshots.

    License

    BSD 2-Clause

    Permissive: commercial use, modification and redistribution are allowed with attribution.

    Community files

    • README: present
    • Contributing guide: present
    • Code of conduct: present

    Watch-outs

    • Warning: No commits in over a year (last push Mar 2025).

    General guidance from repository metadata, not legal advice. How we score

    From the README

    Gorilla WebSocket is a Go implementation of the WebSocket protocol.

    The Gorilla WebSocket package provides a complete and tested implementation of the WebSocket protocol. The package API is stable.

    Excerpt from the gorilla/websocket README on GitHub (BSD-2-Clause license). © its authors.Read the full README on GitHub

    Daily snapshots

    Stars gained per day, and how forks and open issues moved, from GStars' daily snapshots

    Forks

    3.6K+2

    Open issues

    83+5

    Compared with peers in Networking

    Fastest-growing repositories GStars tracks in this cohort for the week of Nov 8, by 7-day star growth

    gorilla/websocket compared with Networking repositories by stars, 7-day star growth, health score and last release
    RepositoryStars+7dHealthLast release
    MHSanaei/3x-ui49.6K+44852137 days ago
    GyulyVGC/sniffnet42.3K+42275111 days ago
    tailscale/tailscale38.9K+31175today
    netbirdio/netbird30.9K+26775today
    fosrl/pangolin23.6K+218756 days ago
    gorilla/websocket24.9K—45874 days ago
    Category median38.9K+31175—

    Also by gorilla

    Other repositories from this maintainer that GStars tracks

    Discover Repositories

    Search across tracked repositories by name or description