Collab Draw is an open-source collaborative drawing tool inspired by Excalidraw.
It lets you draw, collaborate in real-time, and build creative projects together — right from your browser.
- Frontend: Next.js
- Backend: Express.js
- Database ORM: Prisma
- Database: PostgreSQL
- ✏️ Create and edit drawings easily
- 🤝 Real-time collaboration with others
- 🗂️ Save and load your drawings
- 🔒 Secure user authentication (coming soon!)
- 🌐 Fully open source and self-hostable
-
Clone the repository
git clone https://github.com/your-username/collab-draw.git cd collab-draw
-
Install dependencies
# Install dependencies bun install
-
Configure Environment Variables
Create a
.env
file in /packages/db Example for the backend:DATABASE_URL=postgresql://your-username:your-password@localhost:5432/your-database
-
Run the development servers
- Start the backend, run the following command in the root folder
bun dev
- Start the backend, run the following command in the root folder
-
Access the app
Open your browser and navigate to
http://localhost:3000
The WS server will run on porthttp://localhost:8081
The API server will run on porthttp://localhost:3001
We welcome contributions of all kinds!
If you'd like to contribute:
- Fork the repository
- Create a new branch (
git checkout -b feature/your-feature
) - Commit your changes (
git commit -m 'Add some feature'
) - Push to the branch (
git push origin feature/your-feature
) - Open a pull request
- Inspired by the amazing Excalidraw
- Built with ❤️ by Me