Are you tired of sending code snippets back and forth, struggling to debug and collaborate with your team? Look no further! CodeFusion is here to revolutionize the way you code together. This powerful and intuitive collaborative code editor is designed to empower developers, and teams to work seamlessly in real-time, regardless of their location. With CodeFusion, you can code together, debug together, and ship faster, together.
- Multiple users can join a room and edit code together
- Changes are reflected in real time
- Copy button to copy the room id to clipboard
- Leave button to leave the room
- Supports syntax highlighting for different programming languages
- Users can choose theme based on their preferences
- Users can leave the room and rejoin later to continue editing
- Joining & leaving of users is also reflected in real time
- Node.js (v20.11.1)
- npm (10.2.4)
- React.js
- Node.js
- Express.js
- Socket.io
- CodeMirror
- Clone this repository and cd into it
- Run
npm installto install the dependencies - Create .env file in the root folder and copy paste the content of example.env, and add necessary credentials.
- To start the react app client run
npm run devin one terminal - To start the server run
npm start - Go to
http://localhost:3000to view the app
Note: To stop your server, press Ctrl+c in the terminal.
- Added syntax highlighting for multiple languages
- Added support for multiple themes
- Added support for saving the last theme and language selected by the user in local storage
- Add support to accept or reject new users trying to join the room
- Add to implement video and voice chat feature inside the editor
- Add support for local code file uploading
If you want to make contribution to this projects, follow the steps below:
- Fork this repository
- Clone the forked repository
git clone https://github.com/your-github_username/Realtime-Collaborative-Code-Editor.git
- cd into the cloned repository
- Create a new branch
git checkout -b your_branch_name
- Make your changes
- Commit and push your changes
git add . <br>
git commit -m "your commit message" <br>
git push origin your_branch_name
- Finally, create a pull request by visiting your forked repository on GitHub
Note: Please make sure to use your own branch when contributing.