Skip to content

Sahilagarwal623/CodeSphere

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

13 Commits
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

πŸ‘¨β€πŸ’» CodeSphere – Real-Time Collaborative Code Editor

πŸš€ A powerful and modern online code editor that supports both solo and collaborative coding experiences – built with the Monaco Editor, featuring real-time cursor sync, chat, and future-ready video call integration.


✨ Features

  • πŸ› οΈ Custom Rooms

    • Solo Mode – Create a personal coding space to write and execute code privately.
    • Collaborative Mode – Invite others to your room and code together in real-time.
  • πŸ” Secure User Authentication

    • JWT Authentication with Access & Refresh Tokens for secure login sessions.

    • Automatic token refresh without forcing users to log in repeatedly.

  • 🧠 Built with:

    • [JavaScript]
    • [Vite]
    • [Tailwind CSS]
    • [Docker]
    • [Monaco Editor]
  • πŸ’¬ Integrated Chat

    • Communicate with your collaborators directly inside the room using WebSocket-based chat.
  • πŸ–±οΈ Monaco Editor

    • Live cursor synchronization for multiple users.
    • IntelliSense, syntax highlighting, and theming powered by Monaco.
  • πŸ” Secure Deployment

    • Frontend deployed on [Render]
    • Backend hosted on AWS EC2 with SSL certificate and custom domain.
  • 🐳 Isolated Code Execution

    • Uses Docker containers to safely execute user code in a sandboxed environment.

πŸ”­ Future Plans

  • πŸŽ₯ Webcam Video Calling

    • Built-in video call feature inside collaborative rooms for smoother pair programming and team discussions.
  • πŸ“ Multi-file Support

    • Support for uploading folders and editing multiple files in a session.
  • πŸ“Š AI Code Assistant

    • Built-in AI to assist with code completion and debugging.

πŸ§ͺ Tech Stack

Layer Technology
Frontend JavaScript, Vite, Tailwind CSS
Editor Monaco Editor
Chat & Sync WebSockets
Backend Node.js, Express, AWS EC2
Execution Docker
Hosting Render (Frontend), AWS(Backend)
Domain Custom with SSL

πŸ§‘β€πŸ’» Getting Started (Dev Setup)

# Clone the repository
git clone https://github.com/Sahilagarwal623/CodeSphere.git
cd CodeSphere

# Install frontend dependencies
cd frontend
npm install

# Start frontend
npm run dev

# Start backend in a separate terminal
cd ../backend
npm install
nodemon index.js

About

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages