{"id":13599751,"url":"https://github.com/Rishabh-malhotraa/caucus","last_synced_at":"2025-04-10T17:32:19.828Z","repository":{"id":43414858,"uuid":"342166629","full_name":"Rishabh-malhotraa/caucus","owner":"Rishabh-malhotraa","description":"Realtime Collaborate Editor with Embedded Compiler","archived":false,"fork":false,"pushed_at":"2024-05-01T07:29:07.000Z","size":5538,"stargazers_count":296,"open_issues_count":28,"forks_count":69,"subscribers_count":3,"default_branch":"main","last_synced_at":"2024-08-02T17:38:33.117Z","etag":null,"topics":["codeforces","codemirror","hacktoberfest","leetcode","opensource","react","realtime-collaboration","remote-code-execution","yjs"],"latest_commit_sha":null,"homepage":"https://caucus.rishabhmalhotra.in/","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Rishabh-malhotraa.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.txt","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":"2021-02-25T07:59:52.000Z","updated_at":"2024-07-16T08:49:07.000Z","dependencies_parsed_at":"2024-04-30T19:43:14.868Z","dependency_job_id":"4dff5e0e-fa9e-46dc-acde-0632a041402a","html_url":"https://github.com/Rishabh-malhotraa/caucus","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/Rishabh-malhotraa%2Fcaucus","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Rishabh-malhotraa%2Fcaucus/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Rishabh-malhotraa%2Fcaucus/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Rishabh-malhotraa%2Fcaucus/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Rishabh-malhotraa","download_url":"https://codeload.github.com/Rishabh-malhotraa/caucus/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":223442627,"owners_count":17145807,"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":["codeforces","codemirror","hacktoberfest","leetcode","opensource","react","realtime-collaboration","remote-code-execution","yjs"],"created_at":"2024-08-01T17:01:10.665Z","updated_at":"2024-11-07T01:30:41.389Z","avatar_url":"https://github.com/Rishabh-malhotraa.png","language":"TypeScript","funding_links":[],"categories":["TypeScript"],"sub_categories":[],"readme":"\u003c!-- PROJECT SHIELDS --\u003e\n\n[![Contributors][contributors-shield]][contributors-url]\n[![Forks][forks-shield]][forks-url]\n[![Stargazers][stars-shield]][stars-url]\n[![Issues][issues-shield]][issues-url]\n[![MIT License][license-shield]][license-url]\n[![LinkedIn][linkedin-shield]][linkedin-url]\n[![All Contributors][all-contributors-shield]](#contributors-)\n\n\u003c!-- PROJECT LOGO --\u003e\n\u003cbr /\u003e\n\u003cp align=\"center\"\u003e\n  \u003ca href=\"https://caucus-app.herokuapp.com/\"\u003e\n    \u003cimg src=\"images/logo.png\" alt=\"Logo\" width=\"256\" height=\"256\"\u003e\n  \u003c/a\u003e\n\n  \u003cstrong\u003e\n    \u003ch3 align=\"center\" \u003ecaucus\u003c/h3\u003e\n  \u003c/strong\u003e\n  \u003cp align=\"center\"\u003e\n    A Real Time Collaborative Editor with an embedded compiler\n    \u003cbr /\u003e\n    \u003ca href=\"https://github.com/Rishabh-malhotraa/caucus/tree/main/src\"\u003e\u003cstrong\u003eExplore the project »\u003c/strong\u003e\u003c/a\u003e\n    \u003cbr /\u003e\n    \u003cbr /\u003e\n    \u003ca href=\"https://caucus-app.herokuapp.com/\"\u003eView Demo\u003c/a\u003e\n    ·\n    \u003ca href=\"https://github.com/Rishabh-malhotraa/caucus/issues\"\u003eReport Bug\u003c/a\u003e\n    ·\n    \u003ca href=\"https://github.com/Rishabh-malhotraa/caucus/issues\"\u003eRequest Feature\u003c/a\u003e\n  \u003c/p\u003e\n\u003c/p\u003e\n\n\u003c!-- TABLE OF CONTENTS --\u003e\n\u003cdetails open=\"open\"\u003e\n  \u003csummary\u003eTable of Contents\u003c/summary\u003e\n  \u003col\u003e\n    \u003cli\u003e\n      \u003ca href=\"#about-the-project\"\u003eAbout The Project\u003c/a\u003e\n      \u003cul\u003e\n        \u003cli\u003e\u003ca href=\"#built-with\"\u003eBuilt With\u003c/a\u003e\u003c/li\u003e\n      \u003c/ul\u003e\n    \u003c/li\u003e\n    \u003cli\u003e\n      \u003ca href=\"#getting-started\"\u003eGetting Started\u003c/a\u003e\n      \u003cul\u003e\n        \u003cli\u003e\u003ca href=\"#prerequisites\"\u003ePrerequisites\u003c/a\u003e\u003c/li\u003e\n        \u003cli\u003e\u003ca href=\"#installation\"\u003eInstallation\u003c/a\u003e\u003c/li\u003e\n      \u003c/ul\u003e\n    \u003c/li\u003e\n    \u003cli\u003e\u003ca href=\"#roadmap\"\u003eRoadmap\u003c/a\u003e\u003c/li\u003e\n    \u003cli\u003e\u003ca href=\"#contributing\"\u003eContributing\u003c/a\u003e\u003c/li\u003e\n    \u003cli\u003e\u003ca href=\"#license\"\u003eLicense\u003c/a\u003e\u003c/li\u003e\n    \u003cli\u003e\u003ca href=\"#contact\"\u003eContact\u003c/a\u003e\u003c/li\u003e\n    \u003cli\u003e\u003ca href=\"#acknowledgements\"\u003eAcknowledgements\u003c/a\u003e\u003c/li\u003e\n  \u003c/ol\u003e\n\u003c/details\u003e\n\n## 📣 Latest Announcements\n\n🆕 5-10-2021: We now have a discussions form, if you want any new feature to be implemented you can [discuss here](https://github.com/Rishabh-malhotraa/caucus/discussions/50)\n\n🆕 28-09-2021: Caucus is participating in Hacktoberfest 2021 🥳\n\n## About The Project\n\n### Demonstration\n\n[![Product Demonstation][product-demo]](https://caucus-app.herokuapp.com/)\n\n\u003cbr/\u003e\n\n### Collaborative Code Editor\n\n[![Product Name Screen Shot][product-screenshoti]](https://caucus-app.herokuapp.com/)\n\n|                                       Login Page                                       |                                   Navigate Rooms Page                                   |\n| :------------------------------------------------------------------------------------: |    :-------------------------------------------------------------------------------------: |\n| [![Product Name Screen Shot][product-screenshotii]](https://caucus-app.herokuapp.com/) | [![Product Name Screen Shot][product-screenshotiii]](https://caucus-app.herokuapp.com/) |\n\n\u003cbr /\u003e\n\n### Built With\n\n- [React](https://reactjs.org/docs/getting-started.html)\n- [Material UI](https://material-ui.com/getting-started/installation/)\n- [yjs](https://yjs.dev/)\n\nWritten in TypeScript ♥\n\n## Getting Started\n\nFollow the instructions to set up the project on your local machine.\n\n### Prerequisites\n\nThis is an example of how to list things you need to use the software and how to install them.\n\n- npm\n\n  ```sh\n  npm install npm@latest -g\n  ```\n\n### Installation\n\n1. Fork the repo(required), a star is also appretiated but optional :P\n\n2. Clone the forked repo\n\n   ```sh\n   git clone https://github.com/{your-github-username}/caucus.git\n   ```\n\n   example : `git clone https://github.com/Rishabh-malhotraa/caucus.git`\n\n3. Install NPM packages\n\n   ```sh\n   npm run install-modules\n   ```\n\n4. Start the react and nodejs server concucrrently\n\n   ```sh\n   npm run dev\n   ```\n\n### Setting up DATABASE\n\nTo setup the database with mockdata, follow this [guide](/Setting%20up%20Database.md)\n\n### Execute Code\n\nTo allow cuacus to execute code, you need to get your api keys from [JDoodle](https://www.jdoodle.com/) and add them to the `.env` file\nUpdate: I have included API keys from a dummy account, you can get your own also from JDoodle, the keys are restricited to 200 executions per day, and is visible to everyone, you can get your own private key at JDOODLE\n\n``` text\nJDOODLE_CLIENTID=get_your_key\nJDOOLDE_CLIENTSECRET=get_your_key\n```\n\n## Roadmap\n\nSee the [open issues](https://github.com/Rishabh-malhotraa/caucus/issues) for a list of proposed features (and known issues).\n\n### Things To do\n\n- [x] Inital Login Page\n- [x] Database hookup with login from oAuth\n- [x] Chat Application\n- [x] Video Chat Application (the main chunk of work)\n- [x] Collaborative Editing (the main chunk of work)\n- [x] Resizable Panes\n- [x] Code Running (Easy need to just hookup with an api)\n- [x] Database with all the leetcode question and sorted based on tags.\n- [x] IMP: Sync code using localstorage or sockets when a new person joins in the room, with defaultvalue prop on the monaco editor instance.\n- [x] Add SSL certificate to the docker container, andd get rid of the current bootleg shenanigans D: (LetsEncrypt or Cloudflare)\n- [x] Add codeforce problem using webscraping thingy\n- [x] Add Vim Keybinds\n- [x] Add intellisense using Language Server Protocal for atleast C++ and JAVA\n- [x] Make a public api to fetch questions, based on scraped data\n- [ ] Add a full-screen Zen Mode\n- [ ] Change Hosting from Heroku to GCP or Digital Ocean\n- [ ] Change Heroku PSQL DB to either ~~MongoDB or Firebase~~ SQLITE.\n- [ ] Add Autoformating keybind.\n- [ ] ~~Fix the number of users in the room.~~\n- [ ] ~~REACH: Add video call functionality (using WEBRTC or something propieteary like Twilo proprietary)~~\n- [ ] ~~Add ability to add different tabs on the editor instance just like that on VSCODE~~\n- [ ] ~~Integrate the random quote thingy on loading screen from forticodes API~~\n- [ ] ~~Fix why the loader gets frozen on intial render -\\_-~~\n\n## Contributing\n\nContributions are what make the open source community such an amazing place to learn, inspire, and create. Any contributions you make are **greatly appreciated**.\n\n1. Fork the Project\n2. Create your Feature Branch (`git checkout -b feature/AmazingFeature`)\n3. Commit your Changes (`git commit -m 'Add some AmazingFeature'`)\n4. Push to the Branch (`git push origin feature/AmazingFeature`)\n5. Open a Pull Request\n\nRefer to this [article](https://medium.com/swlh/guide-to-git-a-practical-approach-27926a1ff564?sk=b54ca413a142c275f5d2901d0384a0db) if you have any difficulty in making a pull request\n\n## License\n\nDistributed under the MIT License. See [`LICENSE`][license-url] for more information.\n\n---\n\n## Contact\n\nRishabh malhotraa - [@rish_bishhh](https://twitter.com/rish_bishhh) - rishabhmalhotraa01@gmail.com\n\nDiscord : rishabh.malhotra#4193\n\nProject Link: [https://caucus-app.herokuapp.com/](https://caucus-app.herokuapp.com/)\n\n---\n\n## Stargazers over time\n\n[![Stargazers over time](https://starchart.cc/rishabh-malhotraa/caucus.svg)](https://starchart.cc/rishabh-malhotraa/caucus)\n\n---\n\n## Acknowledgements\n\n- [Heroku](https://www.heroku.com/)\n- [Azure](https://azure.microsoft.com/en-us/)\n- [notistack](https://www.npmjs.com/package/notistack/)\n- [axios](https://www.npmjs.com/package/axios)\n- [dog-names](https://www.npmjs.com/package/dog-names)\n- [Best-README-Template](https://github.com/othneildrew/Best-README-Template)\n- [MIT License](https://opensource.org/licenses/MIT)\n- [SVG Backgrounds](https://www.svgbackgrounds.com/)\n\n\u003c!-- https://www.markdownguide.org/basic-syntax/#reference-style-links --\u003e\n\n[all-contributors-shield]: https://img.shields.io/badge/all_contributors-8-orange.svg?style=for-the-badge\n[contributors-shield]: https://img.shields.io/github/contributors/Rishabh-malhotraa/caucus.svg?style=for-the-badge\n[contributors-url]: https://github.com/Rishabh-malhotraa/caucus/graphs/contributors\n[forks-shield]: https://img.shields.io/github/forks/Rishabh-malhotraa/caucus.svg?style=for-the-badge\n[forks-url]: https://github.com/Rishabh-malhotraa/caucus/network/members\n[stars-shield]: https://img.shields.io/github/stars/Rishabh-malhotraa/caucus.svg?style=for-the-badge\n[stars-url]: https://github.com/Rishabh-malhotraa/caucus/stargazers\n[issues-shield]: https://img.shields.io/github/issues/Rishabh-malhotraa/caucus.svg?style=for-the-badge\n[issues-url]: https://github.com/Rishabh-malhotraa/caucus/issues\n[license-shield]: https://img.shields.io/github/license/Rishabh-malhotraa/caucus.svg?style=for-the-badge\n[license-url]: https://github.com/Rishabh-malhotraa/caucus/blob/main/LICENSE.txt\n[linkedin-shield]: https://img.shields.io/badge/-LinkedIn-black.svg?style=for-the-badge\u0026logo=linkedin\u0026colorB=555\n[linkedin-url]: https://www.linkedin.com/in/rishabh-malhotra-4536a418b\n[product-demo]: images/caucus-demonstation.gif\n[product-screenshoti]: images/code-editor.png\n[product-screenshotii]: images/login-page.png\n[product-screenshotiii]: images/navigation-page.png\n\n## Contributors ✨\n\nThanks goes to these wonderful people ([emoji key](https://allcontributors.org/docs/en/emoji-key)):\n\n\u003c!-- ALL-CONTRIBUTORS-LIST:START - Do not remove or modify this section --\u003e\n\u003c!-- prettier-ignore-start --\u003e\n\u003c!-- markdownlint-disable --\u003e\n\u003ctable\u003e\n  \u003ctr\u003e\n    \u003ctd align=\"center\"\u003e\u003ca href=\"https://rishabh-malhotraa.github.io/Rishabh-Portfolio-main/\"\u003e\u003cimg src=\"https://avatars.githubusercontent.com/u/54576074?v=4?s=140\" width=\"140px;\" alt=\"\"/\u003e\u003cbr /\u003e\u003csub\u003e\u003cb\u003eRishabh Malhotra\u003c/b\u003e\u003c/sub\u003e\u003c/a\u003e\u003cbr /\u003e\u003ca href=\"#infra-Rishabh-malhotraa\" title=\"Infrastructure (Hosting, Build-Tools, etc)\"\u003e🚇\u003c/a\u003e \u003ca href=\"https://github.com/Rishabh-malhotraa/caucus/commits?author=Rishabh-malhotraa\" title=\"Code\"\u003e💻\u003c/a\u003e \u003ca href=\"#design-Rishabh-malhotraa\" title=\"Design\"\u003e🎨\u003c/a\u003e\u003c/td\u003e\n    \u003ctd align=\"center\"\u003e\u003ca href=\"https://github.com/MarufSharifi\"\u003e\u003cimg src=\"https://avatars.githubusercontent.com/u/59383482?v=4?s=140\" width=\"140px;\" alt=\"\"/\u003e\u003cbr /\u003e\u003csub\u003e\u003cb\u003eMaruf\u003c/b\u003e\u003c/sub\u003e\u003c/a\u003e\u003cbr /\u003e\u003ca href=\"#infra-MarufSharifi\" title=\"Infrastructure (Hosting, Build-Tools, etc)\"\u003e🚇\u003c/a\u003e \u003ca href=\"https://github.com/Rishabh-malhotraa/caucus/commits?author=MarufSharifi\" title=\"Code\"\u003e💻\u003c/a\u003e\u003c/td\u003e\n    \u003ctd align=\"center\"\u003e\u003ca href=\"https://github.com/swikars1\"\u003e\u003cimg src=\"https://avatars.githubusercontent.com/u/20171676?v=4?s=140\" width=\"140px;\" alt=\"\"/\u003e\u003cbr /\u003e\u003csub\u003e\u003cb\u003eSwikar Sharma\u003c/b\u003e\u003c/sub\u003e\u003c/a\u003e\u003cbr /\u003e\u003ca href=\"https://github.com/Rishabh-malhotraa/caucus/commits?author=swikars1\" title=\"Documentation\"\u003e📖\u003c/a\u003e\u003c/td\u003e\n    \u003ctd align=\"center\"\u003e\u003ca href=\"https://www.linkedin.com/in/iamdevvalecha/\"\u003e\u003cimg src=\"https://avatars.githubusercontent.com/u/71969867?v=4?s=140\" width=\"140px;\" alt=\"\"/\u003e\u003cbr /\u003e\u003csub\u003e\u003cb\u003eDev Valecha\u003c/b\u003e\u003c/sub\u003e\u003c/a\u003e\u003cbr /\u003e\u003ca href=\"#talk-iamdevvalecha\" title=\"Talks\"\u003e📢\u003c/a\u003e\u003c/td\u003e\n    \u003ctd align=\"center\"\u003e\u003ca href=\"https://github.com/HarrisonMayotte\"\u003e\u003cimg src=\"https://avatars.githubusercontent.com/u/48367813?v=4?s=140\" width=\"140px;\" alt=\"\"/\u003e\u003cbr /\u003e\u003csub\u003e\u003cb\u003eHarrison Mayotte\u003c/b\u003e\u003c/sub\u003e\u003c/a\u003e\u003cbr /\u003e\u003ca href=\"#infra-HarrisonMayotte\" title=\"Infrastructure (Hosting, Build-Tools, etc)\"\u003e🚇\u003c/a\u003e \u003ca href=\"https://github.com/Rishabh-malhotraa/caucus/pulls?q=is%3Apr+reviewed-by%3AHarrisonMayotte\" title=\"Reviewed Pull Requests\"\u003e👀\u003c/a\u003e\u003c/td\u003e\n  \u003c/tr\u003e\n  \u003ctr\u003e\n    \u003ctd align=\"center\"\u003e\u003ca href=\"https://bit.ly/adityaarya1\"\u003e\u003cimg src=\"https://avatars.githubusercontent.com/u/52771727?v=4?s=140\" width=\"140px;\" alt=\"\"/\u003e\u003cbr /\u003e\u003csub\u003e\u003cb\u003eAditya Arya\u003c/b\u003e\u003c/sub\u003e\u003c/a\u003e\u003cbr /\u003e\u003ca href=\"#design-Aditya9111\" title=\"Design\"\u003e🎨\u003c/a\u003e\u003c/td\u003e\n    \u003ctd align=\"center\"\u003e\u003ca href=\"https://github.com/mthakur7\"\u003e\u003cimg src=\"https://avatars.githubusercontent.com/u/89182004?v=4?s=140\" width=\"140px;\" alt=\"\"/\u003e\u003cbr /\u003e\u003csub\u003e\u003cb\u003eManju Thakur\u003c/b\u003e\u003c/sub\u003e\u003c/a\u003e\u003cbr /\u003e\u003ca href=\"#design-mthakur7\" title=\"Design\"\u003e🎨\u003c/a\u003e\u003c/td\u003e\n    \u003ctd align=\"center\"\u003e\u003ca href=\"https://apexweb.me\"\u003e\u003cimg src=\"https://avatars.githubusercontent.com/u/68195580?v=4?s=140\" width=\"140px;\" alt=\"\"/\u003e\u003cbr /\u003e\u003csub\u003e\u003cb\u003eApex Web\u003c/b\u003e\u003c/sub\u003e\u003c/a\u003e\u003cbr /\u003e\u003ca href=\"#design-chirag3003\" title=\"Design\"\u003e🎨\u003c/a\u003e\u003c/td\u003e\n    \u003ctd align=\"center\"\u003e\u003ca href=\"https://github.com/GaganpreetKaurKalsi\"\u003e\u003cimg src=\"https://avatars.githubusercontent.com/u/54144759?v=4?s=140\" width=\"140px;\" alt=\"\"/\u003e\u003cbr /\u003e\u003csub\u003e\u003cb\u003eGaganpreet Kaur Kalsi\u003c/b\u003e\u003c/sub\u003e\u003c/a\u003e\u003cbr /\u003e\u003ca href=\"https://github.com/Rishabh-malhotraa/caucus/commits?author=GaganpreetKaurKalsi\" title=\"Code\"\u003e💻\u003c/a\u003e \u003ca href=\"#design-GaganpreetKaurKalsi\" title=\"Design\"\u003e🎨\u003c/a\u003e\u003c/td\u003e\n    \u003ctd align=\"center\"\u003e\u003ca href=\"https://pavankalyan-codes.github.io/\"\u003e\u003cimg src=\"https://avatars.githubusercontent.com/u/35896290?v=4?s=140\" width=\"140px;\" alt=\"\"/\u003e\u003cbr /\u003e\u003csub\u003e\u003cb\u003ePavan kalyan C\u003c/b\u003e\u003c/sub\u003e\u003c/a\u003e\u003cbr /\u003e\u003ca href=\"https://github.com/Rishabh-malhotraa/caucus/commits?author=pavankalyan-codes\" title=\"Code\"\u003e💻\u003c/a\u003e\u003c/td\u003e\n  \u003c/tr\u003e\n  \u003ctr\u003e\n    \u003ctd align=\"center\"\u003e\u003ca href=\"https://github.com/taksuparth\"\u003e\u003cimg src=\"https://avatars.githubusercontent.com/u/13138123?v=4?s=140\" width=\"140px;\" alt=\"\"/\u003e\u003cbr /\u003e\u003csub\u003e\u003cb\u003eParth Bhavesh Shah\u003c/b\u003e\u003c/sub\u003e\u003c/a\u003e\u003cbr /\u003e\u003ca href=\"https://github.com/Rishabh-malhotraa/caucus/commits?author=taksuparth\" title=\"Code\"\u003e💻\u003c/a\u003e\u003c/td\u003e\n  \u003c/tr\u003e\n\u003c/table\u003e\n\n\u003c!-- markdownlint-restore --\u003e\n\u003c!-- prettier-ignore-end --\u003e\n\n\u003c!-- ALL-CONTRIBUTORS-LIST:END --\u003e\n\nThis project follows the [all-contributors](https://github.com/all-contributors/all-contributors) specification. Contributions of any kind welcome!\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FRishabh-malhotraa%2Fcaucus","html_url":"https://awesome.ecosyste.ms/projects/github.com%2FRishabh-malhotraa%2Fcaucus","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FRishabh-malhotraa%2Fcaucus/lists"}