DEV Community

Discussion on: ASCII Whisper: Local P2P Chat with Sound FX and Battleship

Collapse
 
chovy profile image
chovy

This is sick — P2P in the terminal is such an underrated space. The camera-to-ASCII pipeline is clever too, reminds me of the constraints you hit when doing any kind of real-time P2P media.

I've been working on something adjacent — streaming video over WebTorrent (bittorrented.com). Same core challenge: getting data to arrive in the right order when the protocol doesn't care about order. Your approach of translating camera frames to ASCII sidesteps the buffering problem entirely since each frame is self-contained. With actual video you have to get creative with piece prioritization.

The battleship-over-chat feature is a great touch. P2P doesn't have to be serious infrastructure — sometimes it's just fun.

Collapse
 
trickell profile image
John A Madrigal

Fun was the goal in this and there was a ton had. I've always enjoyed streaming p2p and love the tool you've created. Are you using web sockets for the real-time transmission when sending the video? I'd be curious in that. Thanks for the comment and definitely enjoy a game of battleship with the friends on ascii whisper!