Skip to content

eimsound/co-coding

Folders and files

NameName
Last commit message
Last commit date

Latest commit

3c753b1 · Feb 5, 2025

History

26 Commits
Feb 5, 2025
Feb 5, 2025
Feb 5, 2025
Dec 20, 2024
Dec 20, 2024
Jan 14, 2025
Dec 20, 2024
Dec 24, 2024
Dec 24, 2024
Dec 20, 2024
Dec 20, 2024
Dec 20, 2024
Dec 20, 2024
Feb 5, 2025
Feb 5, 2025
Dec 20, 2024
Dec 20, 2024
Jan 8, 2025
Feb 5, 2025
Jan 22, 2025
Dec 20, 2024
Dec 20, 2024

Repository files navigation

Co-Coding

Project Introduction

Co-Coding is a meme project inspired by this video. Don't you think collaborating with your friends to solve algorithm problems is incredibly cool? This project is built with Next.js and uses the Monaco Editor.

Key Features:

  • Two-Person Algorithm Adventure: A unique collaboration mechanism where two people solve algorithm problems together.
  • Switch on Enter: When one user presses Enter, editing permissions automatically switch to the other user, creating an alternating input experience.
  • Collaborative Completion: Both users must work together, taking turns to complete the code logic.
  • Real-Time Updates: Uses WebSockets for real-time synchronization, seamlessly displaying the other user's input.

Tech Stack

  • Frontend: Next.js, React, TypeScript
  • Backend: Node.js, Express
  • Real-Time Communication: Socket.IO
  • Code Editor: Monaco Editor
  • Containerization: Docker

Quick Start

npm run dev
# or
yarn dev
# or
pnpm dev
# or
bun dev

Open http://localhost:3000 in your browser to see the app in action.

TODO

  • Support for multiple languages in the editor
  • Enable collaboration for more users
  • Integration with LeetCode problems
  • More customizable rules
  • Support for custom string constraints