rdv
croc
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.
rdv
-
LocalSend: Open-source, cross-platform file sharing to nearby devices
Haha that’s currently a way to explain to people who are used to hosting/sync based cloud solutions that anything that is (a) local p2p and (b) doesn’t need to upload-before-download is much faster. It’s also faster than WebRTC based solutions which there are dozens, WebRTC kind of sucks for large stuff.
That said, the next version will have multi connection tcp striping, which is a lot faster than any single tcp solution in many cases, especially over long distances, similar to some ftp/usenet clients. (Spoiler there will be online p2p transfers. See https://github.com/betamos/rdv if curious)
-
How Nat Traversal Works
This is an incredible resource on NAT traversal in practice. I used it as a reference while building a server-assisted p2p-over-TCP[1] system. The post covers UDP but all of the theory applies to TCP as well – you just need some SO_REUSEPORT dual dial/listen magic so the code will look a bit different.
The post alludes to this, but I think NAT traversal is an inaccurate and confusing term. I like “hole punching” a lot more as a general term. It gets the message across without the myopic connotation that it’s all about NATs – it isn’t.
[1]: https://github.com/betamos/rdv
-
Anytype – open-source, local-first, P2P Notion alternative
> In trying to come up with a WebRTC solution, I think I've settled on defeat. The local network syncing works like a charm, but I haven't had any luck in trying to get around a TURN server by using an API endpoint to provide routing data. It would be nice if there were other prebuilts than COTURN (something deployable to a deno/node server would be ideal),
The bad news is that if you want something that works in all instances, you need a relay of _some_ sort, because p2p isn't possible/feasible in all cases. Bittorrent (for instance) works around that limitation by simply having many-to-many peering and relying on large numbers, to be reliable. But that doesn't work for 1:1.
The good news is that maintaining a relay (or TURN, with WebRTC), need not be expensive. Yes, you need a server, and perhaps some IP-based rate limiting, but that can handle a LOT of connections and small data.
I created https://github.com/betamos/rdv for this purpose, an extremely light-weight alternative to WebRTC, but for TCP only (BYO identity, auth and encryption). The p2p success rate is, anecdotally, very high. However, you cannot use it from a web browser.
Feel free to reach out (see profile), happy to chat about p2p whether or not you use this project.
croc
- Show HN: I built a website to share files and messages without any server
-
LocalSend: Open-source, cross-platform file sharing to nearby devices
This very hn entries is bust contradicting your statement.
Also what about syncthing[1] (for recurrent/permanent sync) and croc[2] (for one time copies) ?
I have used both for a number of years already.
[1] https://syncthing.net/
[2] https://github.com/schollz/croc
- How to copy a file between devices?
- Better way to transfer files between Windows <> Mac?
-
Ask HN: What are some unpopular technologies you wish people knew more about?
Check out croc, I've been using it for years, and it works pretty great too!
https://github.com/schollz/croc
-
CLI to browser P2P fileshare
I'm trying to find very specific software.I need CLI(!!!) tool like Croc to share files using P2P, but it's very inconvenient to ask people to install same software as me(Croc in this case). Instead i want to get direct download URL, so anyone can download it just by using browser.
-
Localsend: Open-Source Airdrop Alternative
Related projects:
- FlyingCarpet: direct transfer over local adhoc WIFI: https://github.com/spieglt/FlyingCarpet
- LANDrop: Drop any files to any devices on your LAN: https://github.com/LANDrop/LANDrop
- In-browser file transfer similar to Airdrop: https://snapdrop.net/
- Magic Wormhole: simple file transfer from computer-to-computer over the net: https://github.com/magic-wormhole/magic-wormhole
- Croc: similar to magic wormhole: https://github.com/schollz/croc
- Wormhole: user-friendly in-browser based e2e encrypted file transfer: https://wormhole.app/
-
Show HN: Aft, minimalistic file transferring program
There’s already the excellent [croc](https://github.com/schollz/croc) which I’ve gotten all my friends to install and use.
- FLaNK Stack for 25 September 2023
- Croc: Easily and securely send things from one computer to another
What are some alternatives?
any-block - Protocol describing data structures used in Anytype software
magic-wormhole - get things from one computer to another, safely
any-sync - An open-source protocol designed to create high-performance, local-first, peer-to-peer, end-to-end encrypted applications that facilitate seamless collaboration among multiple users and devices
syncthing - Open Source Continuous File Synchronization
anytype-kotlin - Official Anytype client for Android
wormhole-gui - Cross-platform application for easy encrypted file, folder, and text sharing between devices. [Moved to: https://github.com/Jacalz/rymdport]
anytype-ts - Official Anytype client for MacOS, Linux, and Windows
sharedrop - Easy P2P file transfer powered by WebRTC - inspired by Apple AirDrop
uploadserver - Simple Rust file server which lets you upload, share, and download files from a web browser. Ready-to-run binaries for Windows, Mac, and Linux. Free/Open-Source alternative to AirDrop/Dropbox for transferring files on your local network without having to install anything. A more sophisticated version of `python3 -m http.server 8000`.
snapdrop - A Progressive Web App for local file sharing
localsend - An open-source cross-platform alternative to AirDrop
termux-app - Termux - a terminal emulator application for Android OS extendible by variety of packages.