GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com β€” GitHub - Gilzone/messager: Self-hosted real-time web chat with 5-digit room codes, image sharing, and single-file standalone executable builds (Node.js + Socket.io)

BranchesTags
Open more actions menu

Latest commit

 

History

4 Commits
4 Commits

Folders and files

NameName
Last commit message
Last commit date
dist
dist
 
 
docs
docs
 
 
node_modules
node_modules
 
 
public
public
 
 
uploads
uploads
 
 
.DS_Store
.DS_Store
 
 
README.md
README.md
 
 
bun.lock
bun.lock
 
 
package-lock.json
package-lock.json
 
 
package.json
package.json
 
 
server.js
server.js
 
 

Repository files navigation

πŸ’¬ Messager β€” Self-Hosted Real-Time Room Chat

Node.js Express Socket.io Packaging License

A lightweight, private, self-hosted web chat application with real-time messaging, room PIN codes, and image sharing. Packaged for zero-dependency deployment as standalone single-file executables for Windows, macOS, and Linux.


✨ Features

  • ⚑ Real-Time Messaging: Instant message delivery powered by Socket.io WebSockets.
  • πŸ”‘ 5-Digit Room Codes: Create or join isolated rooms using simple PIN codes.
  • πŸ“Έ Rich Media Sharing: Share images by uploading, dragging-and-dropping, or pasting directly from the clipboard (Ctrl+V).
  • πŸ“± Mobile-First UI: Clean, responsive interface with dark theme and mobile device support.
  • πŸ“¦ Single-File Executables: Built with pkg into portable binariesβ€”run on Windows, macOS, or Linux without installing Node.js or npm!
  • πŸ”’ Self-Hosted Privacy: Uploaded media is saved in a local messager-uploads directory in your home folder.

πŸ“Έ Interface Preview

Messager Chat Room Interface


πŸš€ Quick Start

Running from Source

  1. Clone the repository:

    git clone https://github.com/Gilzone/messager.git
    cd messager
  2. Install dependencies:

    npm install
  3. Start the server:

    node server.js
  4. Open your browser and navigate to:

    http://localhost:3002
    

πŸ’» Building Standalone Executables (No Node.js Required)

You can package Messager into standalone executable files using pkg:

# Build for Windows (.exe)
npm run build:win

# Build for macOS
npm run build:mac

# Build for Linux
npm run build:linux

# Build all three platforms simultaneously
npm run build:all

The compiled binaries will be output to the dist/ folder:

  • dist/messager-win.exe
  • dist/messager-mac
  • dist/messager-linux

Run the generated binary directly on any system without installing dependencies!


πŸ“ Project Structure

messager/
β”œβ”€β”€ server.js          # Express server, Multer upload config & Socket.io logic
β”œβ”€β”€ public/            # Client web application
β”‚   β”œβ”€β”€ index.html     # Join/Create room landing page
β”‚   β”œβ”€β”€ room.html      # Main chat room interface
β”‚   β”œβ”€β”€ client.js      # Socket.io client & image paste listener
β”‚   └── style.css      # Responsive dark theme styles
β”œβ”€β”€ package.json       # Dependencies and build targets
└── dist/              # Compiled standalone binaries (generated)

βš™οΈ Configuration & Storage

  • Default Port: 3002 (configurable via PORT environment variable).
  • Uploaded Images: Stored locally in ~/messager-uploads/ on the host machine.
  • Ephemeral Rooms: Rooms are created dynamically when users join and cleaned up when everyone leaves.

πŸ“œ License

This project is licensed under the MIT License.

About

Self-hosted real-time web chat with 5-digit room codes, image sharing, and single-file standalone executable builds (Node.js + Socket.io)

Topics

chatexpressnodejspkgrealtime-chatself-hostedsingle-file-executablesocket-iowebsocket

Resources

Readme
Activity

Stars

0 stars

Watchers

0 watching

Forks

0 forks
Report repository

Releases

Packages

Contributors

Languages

You are visitor 01402775 β€” GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800Γ—600. No cookies required.