{"id":15519410,"url":"https://github.com/swanand01/collabcode","last_synced_at":"2025-04-23T04:28:54.966Z","repository":{"id":43353999,"uuid":"449031265","full_name":"Swanand01/CollabCode","owner":"Swanand01","description":"A collaborative, real-time, online coding environment for developers.","archived":false,"fork":false,"pushed_at":"2022-12-08T19:59:03.000Z","size":832,"stargazers_count":18,"open_issues_count":0,"forks_count":3,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-04-17T19:18:13.505Z","etag":null,"topics":["collaboration","javascript","realtime","webrtc","websocket"],"latest_commit_sha":null,"homepage":"https://collabcode.onrender.com/","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/Swanand01.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}},"created_at":"2022-01-17T19:57:56.000Z","updated_at":"2023-02-04T19:25:26.000Z","dependencies_parsed_at":"2023-01-25T17:46:14.529Z","dependency_job_id":null,"html_url":"https://github.com/Swanand01/CollabCode","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Swanand01%2FCollabCode","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Swanand01%2FCollabCode/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Swanand01%2FCollabCode/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Swanand01%2FCollabCode/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Swanand01","download_url":"https://codeload.github.com/Swanand01/CollabCode/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":250370492,"owners_count":21419404,"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":["collaboration","javascript","realtime","webrtc","websocket"],"created_at":"2024-10-02T10:21:28.598Z","updated_at":"2025-04-23T04:28:54.248Z","avatar_url":"https://github.com/Swanand01.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# CollabCode\n\nA collaborative, real-time, online coding environment for developers.\n\n\n\n## Features\n\n- Feature rich code editor\n  - The CollabCode code editor supports 7+ different languages, and comes with syntax highlighting and auto-complete.\n- In browser compiler\n  - Compile or run your code in the browser using the high performance CollabCode compiler.\n- Video and audio chat\n  - Chat with your fellow collaborators using the inbuilt video and audio chat.\n\n\n\n## Try it!\n\nTry out CollabCode [here](https://collabcode.onrender.com/).\n\n\n\n## Glimpse\n\n![](https://raw.githubusercontent.com/Swanand01/CollabCode/master/public/glimpse.png)\n\n\n\n## Tech\n\n**Server:** NodeJS, ExpressJS, SocketIO.\n\n**Client:** HTML, CSS, JS, ejs.\n\n**CollabCode Editor**: [Codemirror](https://codemirror.net/) and [Firepad](https://firepad.io/).\n\n**CollabCode Compiler**: [Piston](https://github.com/engineer-man/piston) API.\n\n**Video and audio chat**: [Agora](https://www.agora.io/en/).\n\n\n\n## Run locally\n\n1. Clone the repository\n\n   `https://github.com/Swanand01/CollabCode.git`\n\n2. Install dependencies\n\n   `npm install`\n\n3. Create a Agora project. [Agora Docs](https://docs.agora.io/en/Agora%20Platform/get_appid_token?platform=Web).\n\n4. Create a .env file in the root directory, and set the following constants:\n\n    `NODE_ENV = development`\n\n    `APP_ID = \"YOUR_AGORA_APP_ID\"`\n\n    `APP_CERTIFICATE = \"YOUR_AGORA_APP_CERTIFICATE\"`\n\n5. Create a [Firebase](https://console.firebase.google.com/) project.\n\n6. Create a Realtime database. Please make sure to select the location as US-Central.\n\n7. In `room.js` , set the following constants:\n\n   `const FIREBASE_KEY = 'YOUR_FIREBASE_KEY';`\n\n   `const DB_URL = 'YOUR_FIREBASE_DB_URL';`\n\n   `const AGORA_APP_ID = \"YOUR_AGORA_APP_ID\";`\n\n8. Run `npm run devStart` .\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fswanand01%2Fcollabcode","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fswanand01%2Fcollabcode","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fswanand01%2Fcollabcode/lists"}