{"id":24075498,"url":"https://github.com/mdmassum/codetogether","last_synced_at":"2026-04-10T00:11:44.207Z","repository":{"id":268516984,"uuid":"904601082","full_name":"MdMassum/CodeTogether","owner":"MdMassum","description":"A virtual codespace for multiple coders to code simultaneously. Simultaneous work environment.","archived":false,"fork":false,"pushed_at":"2025-01-03T09:10:46.000Z","size":350,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-01-03T10:23:47.341Z","etag":null,"topics":["codemirror","docker","express","mongodb","nodejs","reactjs","redis","socket-io"],"latest_commit_sha":null,"homepage":"https://code-together-ashy.vercel.app","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/MdMassum.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2024-12-17T07:54:35.000Z","updated_at":"2025-01-03T09:11:05.000Z","dependencies_parsed_at":"2024-12-17T09:24:25.569Z","dependency_job_id":"520ae821-385c-429f-968f-d026445c1c27","html_url":"https://github.com/MdMassum/CodeTogether","commit_stats":null,"previous_names":["mdmassum/codetogether"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MdMassum%2FCodeTogether","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MdMassum%2FCodeTogether/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MdMassum%2FCodeTogether/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MdMassum%2FCodeTogether/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/MdMassum","download_url":"https://codeload.github.com/MdMassum/CodeTogether/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":240947648,"owners_count":19883029,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["codemirror","docker","express","mongodb","nodejs","reactjs","redis","socket-io"],"created_at":"2025-01-09T19:05:39.445Z","updated_at":"2025-12-30T18:57:48.050Z","avatar_url":"https://github.com/MdMassum.png","language":"JavaScript","readme":"# Code Together: Realtime Collaborative Code Editor\n\n## Introduction\n\nAre you tired of sending code snippets back and forth, struggling to debug and collaborate with your team? Look no further! **Code Together** 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 **Code Together**, you can code together, debug together, and ship faster, together.\n\n## Features\n\n- Multiple users can join a room and edit code together\n- Changes are reflected in real time\n- Copy button to copy the room id to clipboard\n- Leave button to leave the room\n- Supports syntax highlighting for different programming languages\n- Users can choose theme based on their preferences\n- Users can leave the room and rejoin later to continue editing\n- Joining \u0026 leaving of users is also reflected in real time\n\n### Prerequisites\n\n#### For running via Docker\n\n- Docker (25.0.4)\n- Docker Compose (1.29.2)\n\n#### For running locally\n\n- Node.js (v20.11.1)\n- npm (10.2.4)\n- pm2 (5.3.1) : run `npm i -g pm2` to install pm2 globally\n\n**Note:** I have used nvm (v0.39.7) to manage my node versions. View nvm official [documentation](https://github.com/nvm-sh/nvm) to install it.\n\n## Tech Stack\n\n- React.js\n- Node.js\n- Express.js\n- Socket.io\n- CodeMirror\n- React-Toastify\n\n## Installation\n\n### Running via building your own Docker Image\n\nTo run the app using docker, follow the steps below:\n\n1. Install [Docker](https://www.docker.com/) on your machine.\n2. Clone the project repository and Navigate to the project directory.\n3. Also you have to change ENV values in the Dockerfile\n4. Replace your username in docker-compose.yml file.\n5. Run the Docker Compose command: `docker-compose up -d`\n6. Go to `http://localhost:5173` to view the app\n7. Follow the steps 5-7 from the [Running via Docker Image]() section to create and join a room\n\n### DEMO\n..\n\n### Running Locally\n\n1. Clone this repository and cd into it\n2. Run `npm install` to install the dependencies\n3. Create .env file in the root folder and copy paste the content of example.env, and add necessary credentials.\n4. To start the react app client run `npm start` in one terminal\n5. To start the server run `npm dev:server` or `pm2 start server.js` in another terminal\n6. To start the react app and server both in one command run  `npm run dev` in the terminal.\n7. Go to `http://localhost:5173` to view the app\n8. Follow the steps 4-7 from the [Running via Docker Image]() section to create and join a room\n\n**Note:** To stop your server, press `Ctrl+c` in the terminal.\n\n\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmdmassum%2Fcodetogether","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmdmassum%2Fcodetogether","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmdmassum%2Fcodetogether/lists"}