Typsnd
Typsnd. Type, send. It's as simple as that. Typsnd is a simple web app that people can chat and send images into. It is based on Express.JS, Node.JS, and Socket.io.JS.
Sample Server
You can try out Typsnd using this link: https://Typsnd.potatochips3.repl.co
What it Looks Like
Installation and Running
Make sure you have Node.JS installed. The version of Node I've tested it on was v14.15.4. Clone the repo and run npm install
to install all dependencies. npm run dev
will run Typsnd in development mode (nodemon) and npm start
will run Typsnd normally
Config.js
Optionally, there are variables you can add and modify.
// serverPort is the port the server will run on
var serverPort = "3000";
// adminIPs are the admins that can change things a normal user can not
var adminIPs = ["localhost"];
// blacklistedIPs are ips that cant join Typsnd
var blacklistedIPs = [];
//blacklistedUsernames are the usernames a user cant choose
var blacklistedUsernames = [];
// (why would you have this on lol) the boolean that shows ips on join
var showIPsInChat = false;
var msgGreet = ""; //this string is shown when a user joins typsnd
var msgCooldown = "2"; //(second interval) message cooldown