Skip to content

kunaldasx/code-connect

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

65 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation


code connect
Code Connect

Code Connect is a browser-based collaborative development platform that enables real-time coding, live previews, shared terminals, video communication, and collaborative note-taking.

Key FeaturesHow To UseHow To ContributeTechnologiesLicense

preview

🌐 Live Demo🔗 codeconnect-dev.vercel.app

Key Features

  • Real-time Collaboration - Code together in real-time with cursor sharing, highlighting, and follow mode

  • Shared Terminal –Execute code and see results together with over 80 supported languages (local Piston setup required)

  • Live Preview – Preview UI changes instantly with loaded libraries like Tailwind CSS, and more

  • GitHub Integrated – Save your work and open files from your repositories

  • Shared Notepad – Take notes together in real-time with rich text and markdown support

  • Video & Voice – Communicate with your team using video and voice chat

Project Structure

CodeConnect
├── client/             # Frontend Next.js application
│   ├── public/         # Static assets
│   └── src/            # Source code
│       ├── app/        # Next.js app router pages and API routes
│       ├── components/ # React components
│       ├── hooks/      # Custom React hooks
│       └── lib/        # Utility functions and services
└── server/             # Backend Socket.IO server
    └── src/            # Source code
        ├── service/    # Backend services
        └── utils/      # Utility functions

How To Use

To clone and run this application, you'll need Git and Node.js (which comes with npm) installed on your computer. From your command line:

Clone this repository
$ git clone https://github.com/kunaldasx/code-connect
$ cd code-connect
Frontend setup (Terminal 1)
$ cd client
$ npm install
$ cp .env.example .env # Configure variables
$ npm run dev
Backend setup (Terminal 2)
$ cd server
$ npm install
$ cp .env.example .env  # Configure variables
$ npm run dev
Optional: Enable Local Code Execution

Code execution is disabled in the hosted demo. To enable the shared terminal and code runner locally, you'll need to run a self-hosted Piston instance.

# Clone Piston
$ git clone https://github.com/engineer-man/piston
$ cd piston

# Start the API
$ docker compose up -d api

# Install CLI dependencies
$ cd cli
$ npm install

# Install runtimes
$ node index.js ppman install python
$ node index.js ppman install node
$ node index.js ppman install typescript
$ node index.js ppman install java

Configure the client environment:

PISTON_API_URL=http://localhost:2000/api/v2/execute

Once configured, Code Connect will be able to execute code through your local Piston instance.

The Application will be available at:

How to Contribute

  1. Clone repo and create a new branch: $ https://github.com/kunaldasx/code-connect -b name_for_new_branch.
  2. Make changes and test
  3. Submit Pull Request with comprehensive description of changes

Emailware

Code Connect is an emailware. Meaning, if you liked using this app or it has helped you in any way, I'd like you send me an email at kunaldasx@gmail.com about anything you'd want to say about this software. I'd really appreciate it!

Technologies

This software uses the following technologies:

  • Frontend: Next.js 15, React 19, TypeScript, TailwindCSS, shadcn.ui, Monaco Editor (code editor), Socket.IO Client, MDXEditor (notepad), simple-peer (WebRTC), Radix Form

  • Backend: Node.js, Express, Socket.IO (binded to µWebSockets.js server)

  • Build & DevOps: GitHub Actions (CI/CD), Vercel (frontend deployment), Render (backend deployment)

  • External Services: Piston (code execution), GitHub REST API (repository management)

Support

If you like this project and think it has helped in any way, consider buying me a coffee!

Buy Me A Coffee

License

MIT


🌐 Visit my website →
🖥️ GitHub  ·  💼 LinkedIn  ·  🐦 Twitter / X  · 

About

Code Connect is a browser-based collaborative development platform that enables real-time coding, live previews, shared terminals, video communication, and collaborative notepad..

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors