Skip to content

(OBSOLETE) A simple but interesting demo to visualize how the ChronoSync library works

Notifications You must be signed in to change notification settings

named-data/ChronoChat

Repository files navigation

ChronoChat

ChronoChat is a multiparty chat application that demostrates our synchronization primitive that we call ChronoSync.

Note that after you click to close ChronoChat, it will keep running on your system tray. To restore it to normal size window, you have to click on the system tray icon (normally on the upper right corner of your screen). Clicking on the dock won't work for now and is still on the to-do list (because I'm using qt for gui, not the native Cocoa framework).

Known Issues

  1. When you switch to a new room, you'll temporarily see yourself in two nodes for a minute or so. It won't affect others, just yourself. Hopefully it's not so disturbing.
  2. Sometimes you may not get the most up-to-date chat history.

Compilation steps

  1. On Ubuntu, configure the NDN PPA repository and install the necessary dependencies

     sudo apt install nfd libndn-cxx-dev libchronosync-dev libboost-all-dev libsqlite3-dev qt5-default
    
  2. Fetch source code

     git clone https://github.com/named-data/ChronoChat
    
  3. Configure and build ChronoChat

     ./waf configure
     ./waf
    

Congratulations! build/ChronoChat is ready to use. Do not forget to start NFD and configure FIB before using ChronoChat. For ease of debugging, you can generate trusted identities in your local TPM using debug-tools/create-cert.

About

(OBSOLETE) A simple but interesting demo to visualize how the ChronoSync library works

Topics

Resources

Code of conduct

Stars

Watchers

Forks

Packages

No packages published