Skip to content

Archana-P-Nair/CollabCode-Canvas

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 

History

54 Commits
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 

Repository files navigation

๐Ÿš€ CollabCode Canvas ๐ŸŽจ

A powerful and interactive web application that combines a live code editor with a collaborative digital whiteboard. Perfect for developers to write, test, and execute code snippets while simultaneously designing algorithms, flowcharts, or explaining concepts on a shared drawing space. โœ๏ธ๐Ÿ’ป

โœจ Features

๐Ÿ‘ฉโ€๐Ÿ’ป Code Editor

  • ๐Ÿ”ด Live Preview: See the output of your Python,C++,C,Java and JavaScript code in real-time.
  • ๐ŸŒˆ Syntax Highlighting: Supports multiple programming languages for better code readability.
  • โ–ถ๏ธ Code Execution: Run code snippets directly within the browser.
  • ๐Ÿ’พ Share Snippets: Share your code for later use with your friends.

๐Ÿ“ Whiteboard Panel:

  • Drawing tool: Select a (e.g., pen โœ๏ธ, rectangle โ–ญ, circle ๐Ÿ”ต) from the toolbar.
  • ๐ŸŽจ Choosing Colors: Click the color picker to choose from a preset palette or create a custom color for your strokes and fill.
  • Stroke:Adjust the stroke width and opacity for different effects.
  • โ†ฉ๏ธ Undoing Mistakes: Click the "Undo" button to remove your last action. Keep clicking to go further back in your history.
  • โ†ช๏ธ Redoing Actions: Click the "Redo" button to restore an action you just undid.
  • Eraser: Use to correct small mistakes
  • Clear ๐Ÿงน: button to reset the entire canvas.

โšก Integrated Workspace

  • ๐Ÿ“Š Split View: Work on your code and whiteboard side-by-side within a single tab.

๐Ÿ“ฆ Installation & Setup

Follow these steps to run the project locally on your machine: ๐Ÿ–ฅ๏ธ

  1. ๐Ÿ“ฅ Clone the repository

    git clone https://github.com/Archana-P-Nair/CodeEditor-WhiteBoard.git
    cd CodeEditor-WhiteBoard
  2. ๐Ÿ“ฆ Install dependencies

    npm install
    cd frontend
    npm install
    cd ..
    cd backend
    npm install
  3. ๐ŸŽฏ Run the development server

    npm run dev

    Now open another terminal

    cd frontend
    npm run dev
  4. ๐ŸŒ Open your browser and navigate to http://localhost:3000

๐ŸŽฎ How to Use

  1. ๐Ÿ‘ฉโ€๐Ÿ’ป Code Editor Panel:

    • Select your programming language from the dropdown menu. ๐Ÿ—ƒ๏ธ
    • Start writing your code in the editor pane.
    • Click the "Run" โ–ถ๏ธ button to see the output in the preview panel.
  2. ๐Ÿ“ Whiteboard Panel:

    • Select a drawing tool (e.g., pen, rectangle, circle) from the toolbar. ๐Ÿ–Œ๏ธ๐Ÿ”ด๐ŸŸฆ
    • Choose your desired color ๐ŸŽจ and stroke width.
    • Start drawing on the canvas.
    • Use the eraser โœ๏ธ to correct mistakes or the clear ๐Ÿงน button to start over.
  3. ๐Ÿ’พ Share Your Work:

    • Use the "Share" ๐Ÿ“ค button on the code editor to share your code.

๐ŸŒ Live Demo

Check out the live application here: โžก๏ธ https://code-edfitor-whiteboard-3c5a-or2g8vmia.vercel.app/

๐Ÿ‘ฉโ€๐Ÿ’ป Author

Archana Prasad Nair

โญ๏ธ If you found this project helpful, don't forget to give it a star! โญ๏ธ

Untitled.video.-.Made.with.Clipchamp.mp4

About

๐Ÿ’ป๐ŸŽจ CollabCode Canvas: An integrated live code editor and collaborative digital whiteboard. Sketch your ideas and bring them to life with code, all in one tab! Features undo/redo and a rich color palette.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors