2

GitHub - srpeck/kchat: Persistent group chat in <50 lines using kdb+/k/q web...

 1 year ago
source link: https://github.com/srpeck/kchat
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
neoserver,ios ssh client
master

Go to file

Code

kchat

Persistent group chat. Server uses kdb+/k/q web sockets, client is static JS/HTML/CSS; less than 50 lines for both.

kchat.gif

Dependencies

To run

  1. Drop chat.htm, index.txt, and chat.q or chat.k in the q directory.

  2. Start the kdb+/k/q web socket server:

    • Linux: /path/to/q/l32/q chat.k -p 80
    • Windows: /path/to/q/w32/q chat.k -p 80
  3. Browse to http://localhost


About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK