Retro Chat is a terminal-style, real-time chat application built with Node.js, WebSockets, and pure frontend code. It features a nostalgic green-on-black interface, reminiscent of classic hacker terminals.
Try it now:
👉 https://chat-mar1.onrender.com
-
Frontend:
- HTML5
- CSS3 (with retro terminal theme)
- Vanilla JavaScript
-
Backend:
- Node.js
- WebSocket (using
ws
library)
-
Hosting:
- Real-time messaging with WebSockets
- Retro terminal-style interface
- Dynamic username input modal
- Random color coding per user (based on hashed username)
- System messages for user join/leave events
- Fully responsive layout – works on both desktop and mobile
- Clean code with zero dependencies on frontend frameworks
Make sure you have Node.js installed:
node -v
npm -v
- Clone the repository
git clone https://github.com/rajkrish63/chat.git
cd chat
- Install dependencies
npm install
- Start the server
npm start
- Open in browser
http://localhost:8080
chat/
├── server.js # Node.js server with WebSocket logic
├── package.json # Dependencies and scripts
├── .gitignore # Ignored files/folders
└── README.md # This file
"scripts": {
"start": "node server.js"
}
node_modules/
.env
.DS_Store
- Chat history saving with localStorage or DB
- Private messaging (DM)
- User list with online status
- Emojis and themes toggle
Built with dedication by Raj Krish GitHub: @rajkrish63
This project is licensed under the MIT License – do anything you want, but give credit.