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.
I've been developing on and off for now 10+ years. I started with PHP, javascript, and html/css and have now moved into Python learning that language for the past year.
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!
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
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.
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!