caucus
A Real Time Collaborative Editor with an embedded compiler
Explore the project ยป
View Demo
ยท
Report Bug
ยท
Request Feature
Table of Contents
๐ฃ Latest Announcements
About The Project
Demonstration
Collaborative Code Editor
Login Page | Navigate Rooms Page |
---|---|
Built With
Written in TypeScript
Getting Started
Follow the instructions to set up the project on your local machine.
Prerequisites
This is an example of how to list things you need to use the software and how to install them.
-
npm
npm install npm@latest -g
Installation
-
Fork the repo(required), a star is also appretiated but optional :P
-
Clone the forked repo
git clone https://github.com/{your-github-username}/caucus.git
example :
git clone https://github.com/Rishabh-malhotraa/caucus.git
-
Install NPM packages
npm run install-modules
-
Start the react and nodejs server concucrrently
npm run dev
Setting up DATABASE
To setup the database with mockdata, follow this guide
Execute Code
To allow cuacus to execute code, you need to get your api keys from JDoodle and add them to the .env
file
Update: 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
JDOODLE_CLIENTID=get_your_key
JDOOLDE_CLIENTSECRET=get_your_key
Roadmap
See the open issues for a list of proposed features (and known issues).
Things To do
- Inital Login Page
- Database hookup with login from oAuth
- Chat Application
- Video Chat Application (the main chunk of work)
- Collaborative Editing (the main chunk of work)
- Resizable Panes
- Code Running (Easy need to just hookup with an api)
- Database with all the leetcode question and sorted based on tags.
- IMP: Sync code using localstorage or sockets when a new person joins in the room, with defaultvalue prop on the monaco editor instance.
- Add SSL certificate to the docker container, andd get rid of the current bootleg shenanigans D: (LetsEncrypt or Cloudflare)
- Add codeforce problem using webscraping thingy
- Add Vim Keybinds
- Add intellisense using Language Server Protocal for atleast C++ and JAVA
- Make a public api to fetch questions, based on scraped data
- Add a full-screen Zen Mode
- Change Hosting from Heroku to GCP or Digital Ocean
- Change Heroku PSQL DB to either
MongoDB or FirebaseSQLITE. - Add Autoformating keybind.
-
Fix the number of users in the room. -
REACH: Add video call functionality (using WEBRTC or something propieteary like Twilo proprietary) -
Add ability to add different tabs on the editor instance just like that on VSCODE -
Integrate the random quote thingy on loading screen from forticodes API -
Fix why the loader gets frozen on intial render -_-
Contributing
Contributions are what make the open source community such an amazing place to learn, inspire, and create. Any contributions you make are greatly appreciated.
- Fork the Project
- Create your Feature Branch (
git checkout -b feature/AmazingFeature
) - Commit your Changes (
git commit -m 'Add some AmazingFeature'
) - Push to the Branch (
git push origin feature/AmazingFeature
) - Open a Pull Request
Refer to this article if you have any difficulty in making a pull request
License
Distributed under the MIT License. See LICENSE
for more information.
Contact
Rishabh malhotraa - @rish_bishhh - [email protected]
Discord : rishabh.malhotra#4193
Project Link: https://caucus-app.herokuapp.com/
Stargazers over time
Acknowledgements
โจ
Contributors Thanks goes to these wonderful people (emoji key):
This project follows the all-contributors specification. Contributions of any kind welcome!