π Live Chat Support Starter Kit β Open Source!
Hey everyone! π
Iβm excited to share something Iβve been building:
a full live chat support starter kit β built with Next.js App Router, Socket.IO, Zustand, and TailwindCSS!
β¨ What It Does
- π΄ Real-time messaging between visitor and admin
- π©βπ» Separate admin and visitor UIs
- πΎ Persistence with sessionStorage/localStorage
- π Admin can end conversations, visitor can resume later
- β‘ Deploy-ready: Vercel (frontend) + Railway (backend)
β Lightweight, fast, customizable β and open-source!
πΈ Demo
π οΈ Tech Stack
- Frontend: Next.js (App Router), Zustand, TailwindCSS
- Backend: Express.js + Socket.IO
- Persistence: LocalStorage + SessionStorage
- Deployment: Vercel + Railway
π Project Repo
π GitHub β unjica/live-chat-support-demo
π― Why I Built It
I wanted to create a clean starter kit for developers that shows:
- Real-time Socket.IO communication
- Simple yet structured backend architecture
- Lightweight state management with Zustand
- Developer-first deployability (no database needed to start)
π₯ Future Plans
- Database persistence (MongoDB or PostgreSQL)
- Authentication for Admin panel (NextAuth.js)
- Multi-agent support (for multiple admins)
- Typing indicators with avatars
π§ How AI Helped
I used AI tools like Cursor and ChatGPT to:
- Structure the modular backend faster
- Improve Socket.IO error handling
- Draft early versions of the README and documentation
π Feedback Welcome
If you:
- Have ideas π‘
- Want to contribute π₯
- Find it useful π
Feel free to open an issue, PR, or leave a comment!
Would love to hear your thoughts.
Thanks for reading! π
π Tags
plaintext
#opensource #nextjs #socketio #webdev
Top comments (1)
Happy to answer any questions or hear ideas for future improvements! π