Skip to content

saikishorr/chitlan

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

90 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

πŸ’¬ ChitLAN – Real-Time Collaboration on Your Local Network

Latest Version: v2.0.0 – Real-Time Collaboration Edition

ChitLAN is a lightweight, browser-based peer-to-peer communication platform designed for Local Area Networks (LAN). It combines group messaging, voice chat, live screen sharing, and high-speed file transfers into a single applicationβ€”all without requiring servers, cloud services, or user accounts.

Built entirely with WebRTC and PeerJS, ChitLAN enables secure, direct communication between devices on the same network.


License PeerJS Status Version Commits Last Commit Platform WebRTC PWA Responsive


✨ Features

πŸ’¬ Real-Time Chat

  • βœ… Peer-to-peer group chat powered by WebRTC (PeerJS)
  • πŸ‘₯ Supports up to 10 users per room
  • πŸ’¬ Clean left/right message layout
  • ⌨️ Live typing indicators
  • πŸ•’ Message timestamps
  • πŸ”” Notification sounds for new messages
  • πŸ“‹ One-click Room ID copy
  • πŸ’Ύ Automatic chat history persistence
  • πŸŒ™ Dark Mode support
  • πŸ“± Fully responsive design

🎀 Voice Chat

  • πŸŽ™οΈ Real-time peer-to-peer voice communication
  • πŸ”‡ Mute / Unmute microphone
  • πŸšͺ Join or leave voice sessions anytime
  • πŸ‘₯ Live voice participant list
  • 🎧 Browser-based audio streaming
  • 🎀 Automatic microphone permission handling

πŸ–₯️ Screen Sharing

  • Share your screen in real time
  • Built-in screen viewer
  • One-click start and stop controls
  • Automatic notifications when screen sharing begins or ends
  • Peer-to-peer streaming using WebRTC

πŸ“ Advanced File Sharing

  • πŸ“€ Direct peer-to-peer file transfer
  • πŸ“¦ Supports files up to 100 GB
  • ⚑ Chunk-based transfer for improved reliability
  • πŸ“Š Live transfer progress bars
  • πŸš€ Transfer speed display
  • πŸ–ΌοΈ Image preview inside chat
  • πŸ“₯ Download links for received files
  • βœ”οΈ Automatic transfer completion confirmation
  • πŸ” File acknowledgement system

🌐 Network Features

  • 🌍 Automatic Public IP detection
  • πŸ”„ Automatic PeerJS reconnection
  • πŸ“‘ No server required for messaging or file transfers
  • 🏠 Designed for Local Area Networks (LAN)

πŸ“² Progressive Web App (PWA)

  • Install directly from supported browsers
  • Works like a native desktop application
  • Service Worker support
  • GitHub Pages compatible

πŸ”’ Reliability & Performance

  • HTML escaping for secure messages
  • Automatic cleanup of media streams
  • Improved connection recovery
  • Optimized large file transfers
  • Duplicate file chunk protection
  • Better memory management
  • Faster rendering and smoother scrolling

🌐 Live Demo

πŸš€ Launch ChitLAN

https://saikishorr.github.io/chitlan/

Note

All participants must be connected to the same Local Area Network (LAN) for peer-to-peer communication.


πŸ“¦ Getting Started

Clone the repository

git clone https://github.com/saikishorr/chitlan.git
cd chitlan

Open app.html in your browser or deploy the project using GitHub Pages.


πŸ› οΈ Technology Stack

  • HTML5
  • CSS3
  • JavaScript (ES6)
  • WebRTC
  • PeerJS
  • Service Workers
  • MediaDevices API
  • Web Audio API

πŸ“œ Version History

Version Highlights
v2.0.0 🎀 Voice Chat, πŸ–₯️ Screen Sharing, πŸ“ Advanced File Sharing, πŸ“² PWA Support, 🌍 Public IP Detection, πŸ’Ύ Chat History, πŸ”„ Auto Reconnection
v1.2.1 Fixed IP address detection
v1.2.0 File sharing, image previews, acknowledgements, large file support
v1.1.0 Multi-user support, improved UI, dark mode
v1.0.0 Initial release

πŸ“„ License

This project is licensed under the MIT License.


🀝 Contributing

Contributions, feature requests, bug reports, and pull requests are always welcome.

If you have ideas to improve ChitLAN, feel free to open an issue or submit a pull request.


⭐ Support the Project

If you found ChitLAN useful, please consider giving the repository a ⭐ on GitHub.

It helps others discover the project and motivates future development.

About

ChitLAN is a lightweight, browser-based peer-to-peer group chat and file sharing application designed for local area networks (LAN). No server. No cloud. No accounts. Just fast, private communication within your network.

Topics

Resources

License

Security policy

Stars

3 stars

Watchers

0 watching

Forks

Packages

 
 
 

Contributors