Skip to content

Gilzone/messager

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Read file: package.json Read file: server.js Read file: public/index.html Read file: public/room.html Read file: public/style.css Read file: server.js

Here’s a draft for your README file, summarizing your project, installation, usage, and build instructions for GitHub. This is based on your code and previous requests:


Messager

A modern, real-time web chat application built with Node.js, Express, and Socket.io. Users can join chat rooms using a 5-digit code, send text and image messages, and enjoy a sleek, mobile-friendly interface.

Features

  • Real-time chat with Socket.io
  • Join rooms using a 5-digit code
  • Send images (upload or paste)
  • Modern, responsive UI
  • Cross-platform single-file executable builds (Windows, macOS, Linux)

Screenshots

(Add screenshots here if you wish)

Installation

1. Clone the repository

git clone https://github.com/yourusername/messager.git
cd messager

2. Install dependencies

npm install

3. Run the server

npm start

The server will start on http://localhost:3002.

Usage

  1. Open http://localhost:3002 in your browser.
  2. Enter a display name and a 5-digit room code to join or create a chat room.
  3. Start chatting! You can send text or images (via the camera button or by pasting).

Building Single-File Executables

This project supports building standalone executables for Windows, macOS, and Linux using pkg.

Build for all platforms

npm run build

The executables will be in the dist/ directory.

File Uploads

Uploaded images are stored in a messager-uploads directory in your home folder. Images are accessible only via the chat interface.

Project Structure

  • server.js – Main server and Socket.io logic
  • public/ – Static frontend files (HTML, CSS, JS)
  • uploads/ – (Served dynamically) Uploaded images

License

MIT

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published