SaaSHub helps you find the best software and product alternatives Learn more →
Top 16 Rust Websocket Projects
-
-
websocat
Command-line client for WebSockets, like netcat (or curl) for ws:// with advanced socat-like functions
Project mention: Show HN: ScaleSocket – Turn any script into a multiplayer WebSocket server | news.ycombinator.com | 2023-09-20It's similar to running netcat in server mode, wrapping a script. It's even closer to doing that using websocat [1], whereby one does not have to do the websocket header juggling.
The main difference is that while netcat or websocat will spawn a new process for each connecting client, ScaleSocket has a concept of rooms (channels). For a room, a process is spawned once only. All clients connecting to the same room are routed to the same process. This is not straight forward to do using the forementioned tools.
There's a small comparison page [2] where I have mentioned some alternative tools.
-
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.
-
Project mention: Building a privacy-friendly, self-hosted application architecture with SvelteKit | dev.to | 2023-07-16
For realtime, I used Pushpin with Server Sent Events. (It supports WebSocket as well).
-
-
tokio-tungstenite
Future-based Tungstenite for Tokio. Lightweight stream-based WebSocket implementation
Project mention: How to know when can I send a message via a websocket with tokio tungstenite? | /r/rust | 2023-12-09I can't help you debug your code if you do not provide it. Have you looked at the example client?
-
-
async-tungstenite
Async binding for Tungstenite, the Lightweight stream-based WebSocket implementation
-
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.
-
Check out ezsockets by /u/gbaranski. I also switched to Axum due to its WS support, in Actix it seems you need another crate and it's not really interoperable with the Tokio ecosystem generally, such as with tungstenite.
-
-
fireside-chat
An LLM interface (chat bot) implemented in pure Rust using HuggingFace/Candle over Axum Websockets, an SQLite Database, and a Leptos (Wasm) frontend packaged with Tauri!
-
Project mention: Kiteticker-Async: Async Client for the Kite Connect WebSocket API | news.ycombinator.com | 2023-10-31
-
-
Project mention: A rust newbie wrote a websocket client library based on Deno's fastwebsockets. | /r/rust | 2023-08-24
-
Project mention: Show HN: Kiwi – Extensible Real-Time Data Streaming with WASM | news.ycombinator.com | 2024-02-23
-
remotegamepad-server
A Free and Open source application that turns your mobile device into a remote gamepad for your computer. This is the server.
-
rust_chat_server
A very small, very dumb and very bad chat server to send messages in a common place for every participant.
-
SaaSHub
SaaSHub - Software Alternatives and Reviews. SaaSHub helps you find the best software and product alternatives
Rust Websockets related posts
- How to know when can I send a message via a websocket with tokio tungstenite?
- Show HN: ScaleSocket – Turn any script into a multiplayer WebSocket server
- Help with Minimal Websocket Connection
- I made a site that tracks the price of eggs at every US Walmart. The most expensive costs 3.4X more than the cheapest.
- GoLogin and python/selenium
- WebSockets in Curl
- Should i use ws-rs?
-
A note from our sponsor - SaaSHub
www.saashub.com | 19 Mar 2024
Index
What are some of the best open-source Websocket projects in Rust? This list will help you:
Project | Stars | |
---|---|---|
1 | actix-web | 19,925 |
2 | websocat | 6,393 |
3 | pushpin | 3,552 |
4 | tungstenite-rs | 1,673 |
5 | tokio-tungstenite | 1,561 |
6 | ntex | 1,525 |
7 | async-tungstenite | 378 |
8 | ezsockets | 193 |
9 | ws_stream_wasm | 89 |
10 | fireside-chat | 69 |
11 | kiteticker-async | 11 |
12 | mezzenger | 10 |
13 | fast_websocket_client | 9 |
14 | kiwi | 5 |
15 | remotegamepad-server | 2 |
16 | rust_chat_server | 2 |