Skip to content

Kreijstal/chatrooom

Folders and files

NameName
Last commit message
Last commit date

Latest commit

9845d2b · Mar 24, 2025

History

13 Commits
Mar 24, 2025
Mar 24, 2025
Mar 24, 2025
Mar 21, 2025
Mar 21, 2025
Mar 21, 2025

Repository files navigation

Chatroom

A simple chatroom application with SQLite backend and WebSocket support.

Features

  • Real-time messaging using WebSockets
  • Persistent message history using SQLite
  • Simple and clean UI
  • Easy to install and run

Installation

npm install -g chatroom

Usage

Navigate to the directory where you want to store the chatroom database, then run:

npx chatroom

This will:

  1. Create a SQLite database in the current directory if it doesn't exist
  2. Start a web server on port 3000 (default)
  3. Open a WebSocket server for real-time communication

Then open your browser to http://localhost:3000 to use the chatroom.

Custom Port

You can specify a custom port using the PORT environment variable:

PORT=8080 npx chatroom

License

MIT

About

chatroom

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published