Rust WebSocket

Open-source Rust projects categorized as WebSocket

Top 23 Rust WebSocket Projects

  1. wstunnel

    Tunnel all your traffic over Websocket or HTTP2 - Bypass firewalls/DPI - Static binary available

    Project mention: WsTunnel – Tunnel Your Traffic over WebSocket or HTTP2 – Bypass Firewalls/DPI | news.ycombinator.com | 2024-05-23

    - Complete rewrite fron Haskell to Rust

    Hope you enjoy and find it useful :-)

    https://github.com/erebe/wstunnel?tab=readme-ov-file#underst...

  2. CodeRabbit

    CodeRabbit: AI Code Reviews for Developers. Revolutionize your code reviews with AI. CodeRabbit offers PR summaries, code walkthroughs, 1-click suggestions, and AST-based analysis. Boost productivity and code quality across all major languages with each PR.

    CodeRabbit logo
  3. tungstenite-rs

    Lightweight stream-based WebSocket implementation for Rust.

  4. tokio-tungstenite

    Future-based Tungstenite for Tokio. Lightweight stream-based WebSocket implementation

  5. plane

    A distributed system for running WebSocket services at scale. (by jamsocket)

    Project mention: Patterns for Building Realtime Features | news.ycombinator.com | 2025-02-11

    I work on an open source project for doing just that: https://plane.dev

    It follows the model used by Figma where each active document gets its own process on a cluster of machines, and requests are routed to the document server. (We also provide a managed version of Plane at https://jamsocket.com)

  6. Rust-Full-Stack

    Rust projects here are easy to use. There are blog posts for them also.

  7. ws-rs

    Lightweight, event-driven WebSockets for Rust.

  8. message-io

    Fast and easy-to-use event-driven network library.

  9. SaaSHub

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

    SaaSHub logo
  10. nostr

    Rust implementation of the nostr protocol, high-level client library, Nostr Wallet Connect and more. (by rust-nostr)

  11. proxelar

    A MITM Proxy 🧑‍💻! Toolkit for HTTP/1, HTTP/2, and WebSockets with SSL/TLS Capabilities. Learning Project.

  12. proxyfor

    A powerful and flexible proxy CLI for capturing and inspecting HTTP(S) and WS(S) traffic, with TUI and WebUI.

    Project mention: Show HN: Proxyfor – A Proxy CLI for Capturing HTTP(s) & WS(S) Traffic | news.ycombinator.com | 2024-10-16
  13. async-tungstenite

    Async binding for Tungstenite, the Lightweight stream-based WebSocket implementation

  14. mine.js

    :mount_fuji: A voxel world built with JS/TS/RS. (formerly mc.js) (maybe mine.ts? or even mine.rs?)

  15. kaminari

    Blazing-fast websocket tunnel built on top of lightws. (by zephyrchien)

  16. wtx

    A collection of different transport implementations and related tools focused primarily on web technologies.

    Project mention: Building a real-time chat using WebSockets over HTTP/2 streams | dev.to | 2024-11-17

    WTX is, among other things, a RFC6455, RFC7541, RFC7692, RFC8441 and RFC9113 implementation written in Rust intended to allow the development of web applications through a built-in server framework, a built-in PostgreSQL connector, a built-in WebSocket handler and a built-in gRPC manager. There is also a built-in API client framework that facilitates the maintainability of large endpoints.

  17. hudsucker

    Intercepting HTTP/S proxy

  18. ezsockets

    High-level declarative API for building WebSocket Clients and Servers in Rust 🦀

  19. ws-tool

    High perform & easy to use websocket client/server

  20. graphql-rust-demo

    GraphQL Rust Demo.

  21. ohkami

    Ohkami - intuitive and declarative web framework for Rust

    Project mention: Show HN: Rust web framework on native, Cloudflare Workers, and AWS Lambda | news.ycombinator.com | 2025-02-08
  22. stateroom

    A lightweight framework for building WebSocket-based application backends.

  23. rust-websocket-lite

    A fast, low-overhead WebSocket client

  24. nostcat

    Websocket client for nostr relay scripting

  25. websocket.rs

    WebSocket implementation for both client and server

  26. SaaSHub

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

    SaaSHub logo
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).

Rust WebSocket discussion

Log in or Post with

Rust WebSocket related posts

  • Patterns for Building Realtime Features

    3 projects | news.ycombinator.com | 11 Feb 2025
  • Plane: A distributed system for running stateful WebSocket services

    1 project | news.ycombinator.com | 20 Oct 2024
  • Show HN: A Dashboard of Web Benchmarks

    2 projects | news.ycombinator.com | 21 Aug 2024
  • Gazette: Cloud-native millisecond-latency streaming

    6 projects | news.ycombinator.com | 7 Aug 2024
  • Sans-IO: The secret to effective Rust for network services

    6 projects | news.ycombinator.com | 3 Jul 2024
  • How to know when can I send a message via a websocket with tokio tungstenite?

    1 project | /r/rust | 9 Dec 2023
  • Bifrost: A peer-to-peer communications engine with pluggable transports

    4 projects | news.ycombinator.com | 22 Oct 2023
  • A note from our sponsor - CodeRabbit
    coderabbit.ai | 23 Mar 2025
    Revolutionize your code reviews with AI. CodeRabbit offers PR summaries, code walkthroughs, 1-click suggestions, and AST-based analysis. Boost productivity and code quality across all major languages with each PR. Learn more →

Index

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

# Project Stars
1 wstunnel 4,681
2 tungstenite-rs 2,053
3 tokio-tungstenite 2,042
4 plane 1,865
5 Rust-Full-Stack 1,553
6 ws-rs 1,487
7 message-io 1,153
8 nostr 471
9 proxelar 430
10 proxyfor 413
11 async-tungstenite 411
12 mine.js 313
13 kaminari 276
14 wtx 262
15 hudsucker 260
16 ezsockets 250
17 ws-tool 196
18 graphql-rust-demo 193
19 ohkami 183
20 stateroom 143
21 rust-websocket-lite 116
22 nostcat 99
23 websocket.rs 95

Sponsored
CodeRabbit: AI Code Reviews for Developers
Revolutionize your code reviews with AI. CodeRabbit offers PR summaries, code walkthroughs, 1-click suggestions, and AST-based analysis. Boost productivity and code quality across all major languages with each PR.
coderabbit.ai

Did you know that Rust is
the 5th most popular programming language
based on number of references?