Skip to content

justkash/lan_chat

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

LAN Chat

This repository holds a simple implementation of a LAN based peer-to-peer chat application that makes use of libp2p. The application discovers other peers using mDNS and exchanges messages via a gossip based pubsub system.

Run

To try out the application, you can use the following command to start a single node of the application within the local network. Any additional nodes that are started will automatically connect to the smae chat channel and messages send by a single node will be visible to all other nodes within the LAN.

go run . -name Legolas

Development

This project makes use of Nix, so it's possible to use the following commands to enter a shell environment with go available. The tools available within the Nix shell is defined within the flake.nix file.

nix develop

Furthermore, it's possible to build and run the application using the following commands respectively.

nix build
nix run

About

A simple LAN chat application.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published