This is a real-time collaborative drawing app built with Go (Golang) and WebSockets. Multiple users can join the same board and draw together, with strokes synced live across all browsers.
- 🖌 Real-time collaborative drawing
- 👥 Presence tracking (see who is online)
- ⚡ Lightweight and fast (runs in a few MB of RAM)
- 🌐 Works on LAN or can be deployed online
- 🎨 Simple and clean frontend
- Backend: Go + Gorilla WebSocket
- Frontend: HTML, CSS, JavaScript (Torus.js, Blocks.css)
-
Install Go on your system.
-
Clone this repo:
git clone https://github.com/nandithshetty/draw-app.git cd draw-app
-
Run the server:
go run cmd/draw.go
-
Open your browser at: 👉 http://localhost:1243
- Same PC: Open multiple browsers → draw in real-time.
- Same Wi-Fi / LAN:
- Find your local IP (
ipconfig
→ IPv4). - Friends can join via:
http://YOUR-IP:1243
- Find your local IP (
- Over the Internet: Deploy on a cloud server (Render, Railway, DigitalOcean, AWS, etc.).
Here’s how it looks in action:
(Add a screenshot image here)
This project is open source under the MIT License.
⚡ Tip: Name your repo draw-app
on GitHub so the clone link matches.