Skip to content

fiveone7/liveCodeShare

 
 

🚀 LiveCodeShare

Live Demo CI Status Tests Coverage MIT License

Collaborate on code live with beautiful animations and smooth transitions.


🔥 Features

Real-time Collaboration

  • 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.

🛠️ Tech Stack & Tools

Next.js Tailwind CSS TypeScript Monaco Editor Socket.IO Framer Motion Sonner Zod Faker


🚀 Installation

# 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.


🤝 Contributing

  1. Fork the repository 🔀
  2. Create a feature branch: git checkout -b feature/YourFeatureName
  3. Implement your feature and write tests 🧪
  4. Commit changes with clear messages 💬
  5. Push to your fork: git push origin feature/YourFeatureName
  6. Open a Pull Request and wait for review 🚀

Alt

See Code of Conduct for community guidelines.


🧪 Testing & Linting

# Lint and format
npm run lint
npm run format

# Run tests
npm run test
npm run test:coverage

📄 License

LiveCodeShare Demo


Happy coding with LiveCodeShare! 🚀

About

Real-time code sharing platform

Resources

Code of conduct

Contributing

Security policy

Stars

Watchers

Forks

Packages

No packages published

Languages

  • TypeScript 95.2%
  • JavaScript 2.8%
  • CSS 2.0%