{"id":21077074,"url":"https://github.com/maran1947/codesocket","last_synced_at":"2026-02-23T02:33:59.581Z","repository":{"id":255629780,"uuid":"802368419","full_name":"Maran1947/codesocket","owner":"Maran1947","description":"CodeSocket is a real-time code editor with file explorer functionality and a code execution compiler.","archived":false,"fork":false,"pushed_at":"2024-09-21T14:15:07.000Z","size":432,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-02-05T07:45:35.064Z","etag":null,"topics":["code-editor","file-explorer","nextjs","real-time-code-editor","socket-io","typescript"],"latest_commit_sha":null,"homepage":"https://codesocket.vercel.app","language":"TypeScript","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/Maran1947.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-05-18T05:33:35.000Z","updated_at":"2024-10-02T19:28:28.000Z","dependencies_parsed_at":"2024-09-08T20:52:19.014Z","dependency_job_id":null,"html_url":"https://github.com/Maran1947/codesocket","commit_stats":null,"previous_names":["maran1947/codesocket"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Maran1947%2Fcodesocket","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Maran1947%2Fcodesocket/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Maran1947%2Fcodesocket/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Maran1947%2Fcodesocket/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Maran1947","download_url":"https://codeload.github.com/Maran1947/codesocket/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246281026,"owners_count":20752202,"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":["code-editor","file-explorer","nextjs","real-time-code-editor","socket-io","typescript"],"created_at":"2024-11-19T19:34:57.096Z","updated_at":"2025-10-03T13:09:33.836Z","avatar_url":"https://github.com/Maran1947.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# CodeSocket\nA real-time code editor with a file explorer functionality.\n\n![image](https://github.com/user-attachments/assets/d3499a78-7b85-4ad9-a4f8-e990d46a9b45)\n![image](https://github.com/user-attachments/assets/80a04fd2-f6ba-42e2-8204-5079420a83c5)\n\n## ⚙ Installation\n\nFollow these steps to set up Stockify locally:\n\n1. Fork and clone the repository: \n```\ngit clone https://github.com/your-username/codesocket.git\n```\n\n2. Install the required dependencies:\n```\ncd codesocket\n\ncd client\n  npm install\ncd server\n  npm install\n```\n\n3. Set up the configuration file:\n- Create an .env file in the client folder of the codesocket\n- Update the necessary environment variables in the `.env` and `.env.development` file.\n```\nclient\n.env.development\nNEXT_PUBLIC_BACKEND_URL=http://localhost:8000\n.env:\nNEXT_PUBLIC_BACKEND_URL=\u003cYOUR_HOSTED_BACKEND_URL\u003e\n\nserver\n.env\nMONGODB_URI=\u003cMONGODB_URI\u003e\n\n```\n\n4. Start the application:\n```\nFor client: npm run dev\nFor server: npm run dev \n```\n\n5. Access CodeSocket in your web browser at `http://localhost:3000`.\n\n## Ports Used\n* `:3000` - Client application runs on this port.\n* `:8000` - Server and WebSocket services are hosted on this port.\n\n## Docker Setup (Only for server)\n\n1. Build docker image\n```\ndocker build -t codesocket-server .\n```\n\n2. Run the Docker container\n```\ndocker run -d -p 8000:8000 -p 6379:6379 codesocket-server\n```    \n\n3. Stop the docker container\n```\ndocker stop \u003ccontainer_id\u003e\n```\n\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmaran1947%2Fcodesocket","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmaran1947%2Fcodesocket","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmaran1947%2Fcodesocket/lists"}