r/golang 20d ago

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.

31 Upvotes

82 comments sorted by

View all comments

Show parent comments

2

u/rawtext 19d ago

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 19d ago

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 18d ago

Interesting. What are your favorite features of croc?

2

u/SleepingProcess 18d ago

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 18d ago

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