- Real-time messaging with WebSocket connections
- Public and private chat functionality
- AI-powered chat summarization using BART model
- User management with online status
- Responsive design for desktop and mobile
Demo: https://talky-chat-eight.vercel.app/
Note: The summarization feature is disabled on the live demo due to memory limitations. Run locally for full functionality.
- Frontend: React, WebSockets, CSS3
- Backend: Node.js, WebSocket Server
- AI Service: FastAPI, Transformers, BART model
- Clone repository
git clone https://github.com/sub-aina/live-chat.git
cd talky-chat- Frontend setup
cd client
npm install- Server setup
cd server
npm install uuid ws node-fetch- AI service setup
cd summarize
pip install fastapi uvicorn transformers torch pydanticRun these commands in separate terminals:
- Start AI service
cd summarize
python summarizer_api.py- Start WebSocket server
cd server
node index.js- Start frontend
cd client
npm run devPORT: Server port (default: 8001 for WebSocket, 8000 for API)SUMMARIZER_API_URL: Summarization API endpoint
Update WebSocket URL in client/src/components/Home.jsx:
const WS_URL = `ws://127.0.0.1:8001`;