Skip to content

jamessizeland/peer-to-peer

Repository files navigation

Iroh/Tauri Peer to Peer Chat App Example

publish android publish desktop MIT/Apache-2.0 licensed

Overview

This is a peer to peer messaging app using the Iroh Gossip Protocol to send messages between peers sharing a Room.

Messages are sent as events to all connected peers directly, are encrypted as standard and are not persisted anywhere other than on your device.

This is a proof of concept based heavily on the Iroh Chat Example and modified for a Tauri App.

This is designed for mobile first and has been tested heavily on Android.

Features

  • Encrypted messaging
  • peer-to-peer messaging, no servers*
  • Locally stored visited rooms list
  • Locally stored chat history
  • Emoji support 🎈🎉
  • Messages pushed only to online peers
  • Mobile support (Android only, but iOS possible if you have the dev license to compile it)

*beyond Iroh rendezvous servers used for establishing connections

Getting Started

Check prerequisites:

git clone https://github.com/jamessizeland/peer-to-peer
cd peer-to-peer
bun install
bun tauri dev

lobby

newRoom

chat

deleteChat

eventlog

About

Simple peer to peer Tauri based chat app using Iroh Gossip and no servers

Topics

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Contributors