Skip to content

0xtharun/socket-chat

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

3 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

Socket Chat

Real-time chat application with room support and location sharing

🌟 Features

  • Real-time messaging - Instant message delivery using Socket.IO
  • Chat rooms - Create and join different chat rooms
  • Location sharing - Share your current location with other users
  • Profanity filter - Blocks inappropriate messages
  • Auto-scroll - Automatically scrolls to new messages
  • User lists - Shows active users in each room
  • Clean UI - Minimalist and responsive design

πŸ› οΈ Tech Stack

πŸš€ Getting Started

  1. Install dependencies:
npm install
  1. Start development server:
npm run dev
  1. Open http://localhost:3000 in your browser

πŸ“ Usage

  1. Enter your name and room name to join
  2. Start chatting with others in the room
  3. Use "Send Location" to share your coordinates
  4. Messages are delivered instantly to all room members

πŸ”„ WebSocket Events

  • connection - New user connects
  • join - User joins a room
  • sendMessage - Send chat message
  • sendLocation - Share location
  • disconnect - User leaves

πŸ“± Responsive Design

  • Mobile-first approach
  • Clean and minimalist UI
  • Optimized for all screen sizes

About

Socket Chat is a real-time chat application built with Node.js and Socket.io

Topics

Resources

Stars

Watchers

Forks

Contributors 2

  •  
  •