P2PSC is a simple command-line chat application that's based on sockets and doesn't rely on a main server or backend.
$ p2psc P2PSC :: Point to point secure chat > Please enter your hostname: 127.0.0.1 > Server is ready! > Tell your friends to run /peer 127.0.0.1:19573 to chat with you >> █
Chats are created by "peering" with other users. They must give you an IP address and port to connect to, and then all messages will be sent over a socket.
By default, nobody outside your local network can accesss your instance until you manually proxy remote connections with a service like Ngrok.
P2PSC is split into a server and client. The client manages connections to peers and the server is what gets connected to by other clients.