Clone this repo:
  1. 074e38d controller: use a single keychain by Varun Patil · 4 years ago master
  2. b3d03b9 build: fix ambiguous calls to std::make_shared by Varun Patil · 4 years ago
  3. 7676b56 Get rid of cryptopp dependency by Davide Pesavento · 4 years ago
  4. a24bd3e refactor: cleanup and sync by Varun Patil · 4 years, 1 month ago
  5. 3d85090 build: reanimate the dead by Varun Patil · 4 years, 1 month ago

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.