Skip to content

Archana-P-Nair/CollabCode_Canvas

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 

History

15 Commits
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 

Repository files navigation

โœจ CollabCode Canvas

Code. Draw. Talk. Think. Build โ€” together.

A real-time collaborative workspace that combines a code editor, whiteboard, HTML Visualizer, video call, chat, and AI assistant into one powerful platform.

๐Ÿš€ Live Demo

๐ŸŒ Try the app:
https://collabcode-canvas-h14w.onrender.com/


๐ŸŽฅ Demo


๐Ÿ’ป Collaborative Code Editor

Features:

  • Real-time multi-user editing
  • Syntax highlighting
  • Multiple language support
  • Run code directly in browser

๐Ÿ“ Shared Whiteboard

Use the whiteboard to:

  • Draw diagrams
  • Explain algorithms
  • Sketch system architecture
  • Annotate ideas visually

๐Ÿ’ฌ Real-Time Chat

Collaborators can:

  • Share messages
  • Discuss solutions
  • Send links and notes

๐Ÿ“น Video Call Integration

Jump into a live video call with collaborators while coding.


๐Ÿค– AI Assistant

Use AI to:

  • Explain code
  • Suggest improvements
  • Debug problems
  • Brainstorm solutions

๐ŸŒŸ Key Features

๐Ÿ’ป Real-Time Code Collaboration:

Multiple users can edit code simultaneously in the same editor.

๐Ÿ“ Interactive Whiteboard:

Draw diagrams and explain ideas visually.

๐Ÿ“Š Flowchart Builder:

Create logic diagrams and plan algorithms.

๐Ÿค– AI Coding Assistant:

Ask questions and get coding help instantly.

๐Ÿ’ฌ Built-in Chat:

Communicate with collaborators without leaving the workspace.

๐Ÿ“น Video Call Integration:

Talk face-to-face during coding sessions.

๐Ÿง‘โ€๐Ÿคโ€๐Ÿง‘ Room-Based Collaboration:

Create rooms where teams can collaborate in real time.

๐Ÿ”— Shareable Links:

Invite others instantly via room URLs.

๐ŸŒ HTML Visualizer:

Provide your HTML, CSS, and JavaScript code, and the platform will instantly render and preview it in the browser.

๐Ÿ— Architecture

                 +---------------------+
                 |     Frontend        |
                 |  React / Next.js    |
                 |  Tailwind CSS       |
                 +----------+----------+
                            |
                            | REST API + WebSockets
                            |
                 +----------v----------+
                 |      Backend        |
                 |     Node.js         |
                 |     TypeScript      |
                 |   Express Server    |
                 +----------+----------+
                            |
                            |
                  +---------v----------+
                  | Code Execution API |
                  |  (Python, JS etc.) |
                  +--------------------+

๐Ÿงฐ Tech Stack

Frontend

  • โš›๏ธ React / Next.js
  • ๐Ÿงฉ TypeScript
  • ๐ŸŽจ Tailwind CSS
  • ๐Ÿ”Œ WebSockets
  • ๐Ÿ–Œ Canvas API

Backend

  • ๐ŸŸฉ Node.js
  • ๐Ÿงพ TypeScript
  • ๐ŸŒ REST APIs
  • ๐Ÿ”— WebSocket server
  • ๐Ÿงฎ Code execution services

๐Ÿ“ Project Structure

CollabCode_Canvas
โ”‚
โ”œโ”€โ”€ backend
โ”‚   โ”œโ”€โ”€ APIs
โ”‚   โ”œโ”€โ”€ WebSocket server
โ”‚   โ””โ”€โ”€ Code execution services
โ”‚
โ”œโ”€โ”€ frontend
โ”‚   โ”œโ”€โ”€ editor
โ”‚   โ”œโ”€โ”€ whiteboard
โ”‚   โ”œโ”€โ”€ chat
โ”‚   โ”œโ”€โ”€ video
โ”‚   โ””โ”€โ”€ AI assistant
โ”‚
โ””โ”€โ”€ README.md

๐Ÿ Running Locally

1. Clone repo

git clone https://github.com/Archana-P-Nair/CollabCode_Canvas.git
cd CollabCode_Canvas

2. Install dependencies

Frontend

cd frontend
npm install

Backend

cd ../backend
npm install

3. Run backend

cd backend
npm run dev

4. Run frontend

cd frontend
npm run dev

Then open:

http://localhost:3000

๐Ÿงช Example Use Cases

๐Ÿ‘ฉโ€๐ŸŽ“ Students

Practice coding together and explain algorithms visually.

๐Ÿ‘จโ€๐Ÿซ Teachers

Teach programming with live diagrams and code execution.

๐Ÿง‘โ€๐Ÿ’ป Interviewers

Conduct technical interviews remotely.

๐ŸŒ Remote Teams

Collaborate on debugging and architecture discussions.

โญ Support

If you like this project, consider giving it a โญ on GitHub!

About

CollabCode Canvas is a real-time collaborative platform where users can write and execute code together while communicating through chat and video calls ๐Ÿ’ป๐Ÿ“น. It also includes a shared whiteboard, flowchart tools, and an AI assistant to help explain, visualize, and improve code during collaboration ๐Ÿค–.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages