tungstenite-rs
webtorrent
tungstenite-rs | webtorrent | |
---|---|---|
15 | 80 | |
1,719 | 29,023 | |
1.7% | 0.6% | |
7.1 | 9.0 | |
10 days ago | 5 days ago | |
Rust | JavaScript | |
Apache License 2.0 | MIT License |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
tungstenite-rs
-
Help with Minimal Websocket Connection
You can start by following tungstenite-rs client example. And since you are connecting to an tls enabled endpoint you should enable tls features. And according to your API's doc it requires you to send serialized json string for requesting message response and you can use serde ande serde_json for serialization. This is a complete example where a hardcode string request:
-
[I made this] – staticPi – websocket forwarder
staticpi, is a websocket forwarding service. Basically, it enables one to keep a Raspberry pi, or any computer, “connected”, in order to send and receive messages to and from any client, without having to deal with a static IP address, open ports on your router, or similar. Built in Rust, using axum, which in turn uses tungestine-rs for the websocket connections, tokio, sqlx, redis-rs and others.
-
What crate to use to make a WebSocket client
There is a client module and client examples. If using tokio, there is tokio-tungstenite on top, which has various client functions.
-
The most creative, funny, clever, ridiculous, ... library names!
tungstenite: "Lightweight stream-based WebSocket implementation. It's formerly WS2, the 2nd implementation of WS. WS2 is the chemical formula of tungsten disulfide, the tungstenite mineral."
- WebTorrent
-
What's the best production-grade websocket library in Rust?
tungstenite-rs
- Surprising Things You Didn't Know About HTTP
-
Secure Websocket Client
If you just want to connect to an existing api, async-tungstenite has a connect function. It should work with wss. See some discussion of this issue here.
- The hack that improves your tungstunite-rs performance by 160x
- Is there a proper websockets server framework in Rust?
webtorrent
- Bitmagnet Allows People to Run Their Own Decentralized Torrent Indexer Locally
-
I Moved My Blog from IPFS to a Server
It's because of the kind of content that is shared. BitTorrent serves a lot of content you are not allowed to redistribute, so having an open gateway immediately puts you at risk of aiding the distribution of content. But it does work, someone even made something native to browsers so browsers themselves can share content: https://webtorrent.io/. There are even fuse "gateways" to make it native to your computer and pretend the files exist locally: https://github.com/search?q=bittorrent+fuse&type=repositorie...
IPFS doesn't seem to be used for that kind of content much, it seems to be targeted more towards web-native content (html pages, images, that kind of stuff). It's probably safer for Cloudflare to run this.
- WebTorrent – JavaScript torrent Streaming In browser
-
How can i make a torrent streamer similar to webtorrent and stremio?
title. I have some experience with c++ but not much with torrent libraries. (webtorrent, stremio)
-
Now that Netflix is cracking down on account sharing, can we please get physical releases?
You can stream torrents
- Ihr dürftet nur noch einen Streaming-Dienst (Musik, Filme, etc.) abonnieren. Welcher wäre es?
-
Suggestions to host 10TB data with a monthly and100TB bandwidth
If it fits your model, WebTorrent[0] can offload a lot of bandwidth to peers.
[0] https://github.com/webtorrent/webtorrent
- 25 Linux mirror servers hosted on 15W thin clients serve 90TB of updates per day
-
Time to watch my favourite ads featuring videos!
Then https://github.com/webtorrent/webtorrent could be used to actually download the videos in browser, the idea being here though, that you would at least seed out as much as you got. Enabling other's to access videos without requiring creators have the infrastructure to push a video to 1000s or more clients at once.
-
Use Case for WebTorrent / http seed / browser to browser etc. ?
I assume you've seen https://webtorrent.io/ ?
What are some alternatives?
rust-websocket - A WebSocket (RFC6455) library written in Rust
peerflix - Streaming torrent client for node.js
ws-rs - Lightweight, event-driven WebSockets for Rust.
ipfs - IPFS implementation in JavaScript
Rocket - A web framework for Rust.
instant.io - 🚀 Streaming file transfer over WebTorrent (torrents on the web)
Warp - Warp is a modern, Rust-based terminal with AI built in so you and your team can build great software, faster.
webtorrent-mpv-hook - Adds a hook that allows mpv to stream torrents
sockjs
webtorrent-desktop - ❤️ Streaming torrent app for Mac, Windows, and Linux
warp - A super-easy, composable, web server framework for warp speeds.
bittorrent-dht - 🕸 Simple, robust, BitTorrent DHT implementation