Skip to content

IamJayPrakash/liveCodeShare

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

91 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

πŸš€ 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! πŸš€

Releases

No releases published

Sponsor this project

Packages

No packages published

Contributors 10