Skip to content

A browser-based peer-to-peer LAN chat app using JavaScript and WebRTC. Chat privately with up to 10 users — no servers, no storage, just real-time messaging on your local network.

License

Notifications You must be signed in to change notification settings

saikishorr/chitlan

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

47 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

💬 ChitLAN – Talk freely on your local network

ChitLAN is a lightweight, peer-to-peer group chat application designed for local area networks (LAN). No server, no internet — just simple and secure real-time messaging with your friends on the same network.

License PeerJS Status Version Commits Last Commit Platform WebRTC Responsive


🚀 Features

  • ✅ Peer-to-peer chat using WebRTC via PeerJS
  • 👥 Supports up to 10 users per room
  • 🟢 Live online users list with status dots and count
  • 💬 Message alignment: your messages on the right, others on the left
  • 🔊 Notification sounds for new incoming messages
  • 🎨 Choose from 10 predefined user colors
  • 🌗 Dark mode toggle for better laptop and night viewing
  • 📱 Fully responsive UI for desktop and mobile screens

📦 Getting Started

1. Clone the Repository

git clone https://github.com/saikishorr/chitlan.git
cd chitlan
2. Open or Deploy
Open index.html in a browser locally OR

Host using GitHub Pages

👉 Click here to view the live app

⚠️ Note: All users must be connected to the same local network (LAN) for real-time communication.

🛠 Technologies Used

  • JavaScript (ES6)
  • HTML5 + CSS3
  • PeerJS for WebRTC peer-to-peer connectivity
  • Responsive design with custom dark mode

🧑‍💻 Development Notes

This project was built to allow offline, LAN-based communication with no backend or server setup. Useful for:

  • Homes, hostels, and school networks
  • LAN parties or gaming rooms
  • Intranet-based group communication

📢 Feedback / Issues

Found a bug or have a feature request? Feel free to open an issue.

🔐 Security Policy

Please refer to SECURITY.md for how to responsibly report security vulnerabilities.

📄 License

This project is licensed under the MIT License.

🙌 Acknowledgments

💡 ChitLAN – chitchat made simple over LAN. Enjoy secure, no-internet group messaging!

About

A browser-based peer-to-peer LAN chat app using JavaScript and WebRTC. Chat privately with up to 10 users — no servers, no storage, just real-time messaging on your local network.

Topics

Resources

License

Security policy

Stars

Watchers

Forks

Packages

No packages published