Skip to content

chat based messaging and rollback state computer

Notifications You must be signed in to change notification settings

UwU-Jogos/uwuchat

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

23 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

uwuchat

Allows posting messages to rooms identified by a 64-bit name. Clients can then watch rooms, which are synchronized using WebSockets (and, in a future, WebRTC). This is used as a sandboxed communication environment for Formality apps running on the Moonad ecosystem.

Server

To start a server, just do:

git clone http://github.com/victortaelin/uwuchat
cd uwuchat
node server.js 7171

Client

The code below will connect to a server running on localhost:7171. It will then watch the room 0 and make an example post to it. It will then display on the console all posts of this room, and update in real-time whenever there is a new post. See example.js.

About

chat based messaging and rollback state computer

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 57.2%
  • TypeScript 42.8%