An open API service indexing awesome lists of open source software.

https://github.com/02muskan/code-sync

Code Sync is a full-stack, real-time collaborative coding platform where multiple users can code together, chat live, and collaborate seamlessly.
https://github.com/02muskan/code-sync

docker expressjs nodejs react react-router socket-io tailwind-css tyoescript

Last synced: about 2 months ago
JSON representation

Code Sync is a full-stack, real-time collaborative coding platform where multiple users can code together, chat live, and collaborate seamlessly.

Awesome Lists containing this project

README

          

## ๐Ÿ”ฎ Features

- ๐Ÿ’ป Real-time collaboration on code editing across multiple files
- ๐Ÿ“ Create, open, edit, save, delete, and organize files and folders
- ๐Ÿ’พ Option to download the entire codebase as a zip file
- ๐Ÿš€ Unique room generation with room ID for collaboration
- ๐ŸŒ Comprehensive language support for versatile programming
- ๐ŸŒˆ Syntax highlighting for various file types with auto-language detection
- ๐Ÿš€ Code Execution: Users can execute the code directly within the collaboration environment
- โฑ๏ธ Instant updates and synchronization of code changes across all files and folders
- ๐Ÿ“ฃ Notifications for user join and leave events
- ๐Ÿ‘ฅ User presence list with online/offline status indicators
- ๐Ÿ’ฌ Real-time group chatting functionality
- ๐ŸŽฉ Real-time tooltip displaying users currently editing
- ๐Ÿ’ก Auto suggestion based on programming language
- ๐Ÿ”  Option to change font size and font family
- ๐ŸŽจ Multiple themes for personalized coding experience
- ๐ŸŽจ Collaborative Drawing: Enable users to draw and sketch collaboratively in real-time
- ๐Ÿค– Copilot: An AI-powered assistant that generates code, allowing you to insert, copy, or replace content seamlessly within your files.

## ๐Ÿš€ Live Preview

You can view the live preview of the project [here](https://code-sync-live.vercel.app/).

## ๐Ÿ’ป Tech Stack

![React](https://img.shields.io/badge/React-20232A?style=for-the-badge&logo=react&logoColor=61DAFB)
![TypeScript](https://img.shields.io/badge/TypeScript-007ACC?style=for-the-badge&logo=typescript&logoColor=white)
![React Router](https://img.shields.io/badge/React_Router-CA4245?style=for-the-badge&logo=react-router&logoColor=white)
![Tailwind CSS](https://img.shields.io/badge/Tailwind_CSS-38B2AC?style=for-the-badge&logo=tailwind-css&logoColor=white)
![NodeJS](https://img.shields.io/badge/Node.js-43853D?style=for-the-badge&logo=node.js&logoColor=white)
![ExpressJS](https://img.shields.io/badge/Express.js-404D59?style=for-the-badge)
![Socket io](https://img.shields.io/badge/Socket.io-ffffff?style=for-the-badge)
![Git](https://img.shields.io/badge/GIT-E44C30?style=for-the-badge&logo=git&logoColor=white)
![GitHub](https://img.shields.io/badge/GitHub-100000?style=for-the-badge&logo=github&logoColor=white)
![Vercel](https://img.shields.io/badge/Vercel-000000?style=for-the-badge&logo=vercel&logoColor=white)
![Docker](https://img.shields.io/badge/Docker-2496ED?style=for-the-badge&logo=docker&logoColor=white)

## โš™๏ธ Installation

### Method 1: Manual Installation

1. **Fork this repository:** Click the Fork button located in the top-right corner of this page.
2. **Clone the repository:**
```bash
git clone https://github.com//Code-Sync.git
```
3. **Create .env file:**
Inside the client and server directories create `.env` and set:

Frontend:

```bash
VITE_BACKEND_URL=
```

Backend:

```bash
PORT=3000
```

4. **Install dependencies:**
```bash
npm install # Run in both client and server directories
```
5. **Start the servers:**
Frontend:
```bash
cd client
npm run dev
```
Backend:
```bash
cd server
npm run dev
```
6. **Access the application:**
```bash
http://localhost:5173/
```

### Method 2: Docker Installation

1. **Install Docker Desktop:**

- Download and install **Docker Desktop** from [Dockerโ€™s official website](https://www.docker.com/products/docker-desktop/).
- Verify installation:
```bash
docker --version
```

```

```

2. **Access the application:**
```bash
http://localhost:5173/
```

## ๐Ÿ”ฎ Features for Next Release

- **Admin Permission:** Implement an admin permission system to manage user access levels and control over certain platform features.

## ๐Ÿค Contribute

We welcome contributions to make Code Sync even better! Follow the [contribution guidelines](CONTRIBUTING.md) to get started.

## ๐ŸŒŸ Support Us

If you find this helpful or valuable, please consider ๐ŸŒŸ starring the repository. It helps us gain visibility and encourages further development.

## ๐Ÿงพ License

This project is licensed under the [MIT License](LICENSE).

## ๐ŸŒŸ Appreciation for Resources

Special thanks to:

- EMKC for providing the Piston API:

- [Piston Repository](https://github.com/engineer-man/piston)
- [Piston Docs](https://piston.readthedocs.io/en/latest/api-v2/)

- Tldraw contributors:

- [Tldraw Repository](https://github.com/tldraw/tldraw)
- [Tldraw Documentation](https://tldraw.dev/)

- Pollinations AI:
- [Pollinations Repository](https://github.com/pollinations/pollinations)
- [Pollinations Docs](https://pollinations.ai/)

## โœ๏ธ About Developer




-->
Muskan Agarwal