Inspiration

  • I always wondered how bit torrents work with P2P connections and I really wanted to dive deep and try it out myself. ## What it does Connects P2P with clients on a local network to be able to chat in real-time in id specified rooms and send files and share files. ## How I built it Using React and tailwind for the frontend, and a very simple Express backend for rooms. ## Challenges I ran into
  • Chunking the files was difficult to be able to send it over WebRTC with no issues
  • Getting the AES Encryption was quite cumbersome with all the types ## Accomplishments that I'm proud of
  • Getting chats to work
  • Geting end-to-end encryption to work
  • Getting file-sharing to work
  • Deployment
  • Simple UI adjustments ## What we learned I learned a lot about P2P connections and being able to work with WebRTC and encryption for the first time. This was my first hackathon I've done solo and I'm quite proud with how much I was able to do in less than 24 hours. ## What's next for peer-to-peer chat & file sharing service
  • Multi-network peers
  • Visual graph displaying the peers and connections
  • NAT Traversals or more extensive server signalling
Share this project:

Updates