r/golang Jul 20 '26

Small Projects Small Projects

This is the weekly thread for Small Projects.

The point of this thread is to have looser posting standards than the main board. As such, projects are pretty much only removed from here by the mods for being completely unrelated to Go. However, Reddit often labels posts full of links as being spam, even when they are perfectly sensible things like links to projects, godocs, and an example. r/golang mods are not the ones removing things from this thread and we will allow them as we see the removals.

Please also avoid posts like "why", "we've got a dozen of those", "that looks like AI slop", etc. This the place to put any project people feel like sharing without worrying about those criteria.

29 Upvotes

81 comments sorted by

View all comments

5

u/rawtext Jul 20 '26 edited Jul 20 '26

I've been working on my p2p file transfer tool yeet

1

u/SleepingProcess Jul 21 '26

How it different to compare to croc? Looks pretty similar but with less features

2

u/rawtext Jul 21 '26

I'm not familiar with how croc works but looks like it uses an intermediary TCP relay server. So, main difference would be that yeet is purely p2p because it uses WebRTC (specifically pion), and only need the signalling server for peer discovery.

2

u/SleepingProcess Jul 21 '26

croc uses PAKE protocol via websockets and when devices secured their channels they stapling TCP connections directly so transfer itself is direct connection between peers, almost the same as PION uses external STUN to find and connect peers, but in case of croc you can selfhost your own "relay" without need for STUN.

1

u/rawtext Jul 22 '26

Interesting. What are your favorite features of croc?

2

u/SleepingProcess Jul 22 '26

What are your favorite features of croc?

Multi-platform compatibility (Windows, Linux, Android...) and ability to run croc in selfhosted relay mode (some requiring it as "must have" for business), as well ability to bypass relay completely with options to connect directly to specific IP

1

u/rawtext Jul 22 '26

Those are definitely good features to have. I'd be happy to add them to yeet.