Collaborate on code live with beautiful animations and smooth transitions.
- Real-Time Collaboration: Bi-directional updates via Socket.IO.
- Syntax Highlighting: Powered by Monaco Editor.
- Customizable Editor: Themes, auto-formatting, and code snippets integrated.
- Shareable Rooms: Instantly generate and share unique URLs.
- Light & Dark Mode: Seamless theme toggling with next-themes.
- Secure Auth: Login via NextAuth.js or Firebase.
- Smooth Animations: Engaging transitions with Framer Motion.
- Toast Notifications: Instant feedback using Sonner.
# Clone the repo
git clone https://github.com/IamJayPrakash/liveCodeShare.git
cd liveCodeShare
# Install dependencies
npm install
# Setup environment variables
# Create .env in project root:
NEXT_PUBLIC_SOCKET_URL=http://localhost:3001
# (Optional) Production socket URL:
# NEXT_PUBLIC_SOCKET_URL=https://livecodeshare-socket.onrender.com
# Start development server
npm run dev
Open http://localhost:3000 in your browser.
- Fork the repository π
- Create a feature branch:
git checkout -b feature/YourFeatureName
- Implement your feature and write tests π§ͺ
- Commit changes with clear messages π¬
- Push to your fork:
git push origin feature/YourFeatureName
- Open a Pull Request and wait for review π
See Code of Conduct for community guidelines.
# Lint and format
npm run lint
npm run format
# Run tests
npm run test
npm run test:coverage
Happy coding with LiveCodeShare! π