A web application which uses sockets to enable real-time code sharing, chatting and canvas sketching all at once. Live hosted website: https://collab-code-edit.fly.dev/ (deployed using fly.io)
- Download Docker and start Docker engine
- Register for HackerEarth API v4 (free tier) and copy
CLIENT_SECRET
, paste it inDockerfile
- In project directory with
Dockerfile
, rundocker build -t collabcode .
- Run the docker image using
docker run -p 8000:8000 collabcode
- Access application on
localhost:8000
- Install Python 3.7
- Register for HackerEarth API v4 and copy
CLIENT_SECRET
- Run
pip install -r requirements.txt
- Run
python3 manage.py migrate
to set up your local database tables - Run
CLIENT_SECRET=<VALUE COPIED EARLIER> python3 manage.py runserver
- Access application on
localhost:8000
- Password protection for chat and live code editing
- Canvas screen (to draw) which is shared
- UI improvements (chatroom)
- FIX: New users can't access chat
- Synchronization fixes (check every few seconds maybe)
- Ability to run code
- Zombie rooms removal (in case server crashes and rooms are still occupied)
- Resize code window and chat window partition
- FIX: Different canvas sizes cause problems
- Change code to be run in sandbox environment only (or use third party API)
- Replace SQLite as database