riddlet-server
The server library for Riddlet, the anonymous chat app. A simple, upgradable wrapper for Socket.IO.
Installation
Setup is very simple just npm install --save riddlet-server
.
Note: nsure you have a C++11 compiler available (available in GCC 4.9+). This allows for node-gyp to build the hashtable dependency that fast-ratelimit and riddlet depends on. (Windows: you may have to install build tools globally using: npm install -g windows-build-tools
to be able to compile)
Usage
Here are two simple examples of how you can run Riddlet.
Example #1 - Under an existing HTTP(S) server
var http = ; app = http; var riddlet = const port = processenvport || 8080;app;console; process;
Example #2 - Standalone
var riddlet = // runs on either process.env.port or 8000 process;
Connecting
Connecting to your server is simple. Just open up the Riddlet web client located here and enter the URL for for your Riddlet server, including the port if necessary. (ie. http://123.456.78.90:8080
) then press "Connect to Server"
Issues
Report issues to the issues tab on GitHub (go here)
Planned
- OTR (Off the record messaging)
- Implement crypto library inside the web app and server
- Allow for usage of sending all messages through an encrypted medium - diffrent keys for different clients
-
Client key changes each use of server(Removed due to redundancy)
- Small features
- Allow for more customization of the Riddlet platform with adapters/plugins
- Allow for overriding of the message handler through adapters
- Allow for overriding of the authentication system through adapters
- Allow for async usage of adapter methods
- Allow for more customization of the Riddlet platform with adapters/plugins
- Nicknames
- Custom avatars
- Private messaging
- Notifications