Skip to content

A demo PGP chatroom with very basic functions to create keys, decrypt and encrypt messages for P2P trade.

Notifications You must be signed in to change notification settings

civkit/civkit-chat

Repository files navigation

Installation

  • clone the repo
  • install typescript if not installed
  • run npm install
  • run ./build.sh if you haven't yet done so

Building Updates

I haven't set up auto-compilation of typescript, so for the time being, run ./build.sh whenever there's a change to the typescript code

Running the Demo

First, run the app with ./run.sh

Load the following URL in a browser: http://localhost:3456/ui/chat/make-offer?orderId=

Click the "make offer" button, and you'll be taken to the chatroom. There's a link that you can share with someone else; open that in another browser (or a private/incognito window), and in the other browser, hit "accept offer".

At this point, the chatroom is available. Refresh the page if needed, and send secure messages between the two users (browsers).

About

A demo PGP chatroom with very basic functions to create keys, decrypt and encrypt messages for P2P trade.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published