Giter Club home page Giter Club logo

tailchat's Introduction

tailchat

tailchat is a minimal/non scalable/crazy/possibly fun take on p2p chatting.

This is an experiment mostly for fun and to explore the possibilities when you have a secure small network and want to chat with people inside it.

Not a novel idea... We know... but we also want to play around with some Rust :-).

The major architectural constraints are:

  1. Communication is always peer to peer
  2. Any storage (if any) is stored only on the peers participating on the conversation
  3. The network is secure (protocols will be plain text/binary, no TLS)
  4. Peer to peer communication is always possible

The constraints and the overall design are inspired on the ideas by Remembering the LAN, a time where building networked software was easy and simple (we are that old):

The LAN was a magical place to learn about computers.
Besides the physical aspect of assembling and disassembling machines,
I could safely do things unthinkable on the modern internet: permission-less file sharing,
experimental servers with no security, shared software where any one machine could easily bring down
the network by typing in an innocuous command.
Even when I did bring down the network the impact never left the building.
I knew who I had to apologise to.

With our LAN easy things were easy, and some hard things were possible.

Technology like wireguard/tailscale helps us go back to those simpler times by building "LANs" on top of the Internet. We want to explore building things on top of this model, where application code can just trust other peers and doesn't need to deal with the hassle of making peer-to-peer communication work (NAT traversal is solved by the network layer, or NAT is not an issue for you like in a LAN).

In general the project should work fine in a mesh VPN like Tailscale, but would also work fine in an actual LAN.

Installing

TODO

Basic usage

TODO

User Discovery

TODO At some point document different methods of user discovery ? For now start with adding IP/Hosts manually and all good :-).

tailchat's People

Contributors

katcipis avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.