A real-time room-based application with Lightning Network payment integration. Users can create or join rooms, submit content requests via Bitcoin Lightning payments, and interact through a live chat and request queue system.
- Node.js 20+
- pnpm (
corepack enable && corepack prepare pnpm@latest --activate)
packages/
frontend/ # React SPA (Vite + Tailwind)
server/ # WebSocket server (Express + ws)
shared/ # Shared types and utilities
Install dependencies:
pnpm install(if you made changes to the shared library)
pnpm buildRun both frontend and server in development mode:
pnpm devOr run them separately:
pnpm dev:frontend # Vite dev server at http://localhost:5173
pnpm dev:server # WebSocket server at ws://localhost:8080Build all packages:
pnpm buildBuild and run the container:
docker build -t mempool-band .
docker run -p 8080:8080 mempool-bandThe application will be available at http://localhost:8080.
Build all packages:
pnpm buildStart the server with static file serving:
cd packages/server
STATIC_DIR=../frontend/dist node dist/index.js| Variable | Description | Default |
|---|---|---|
PORT |
Server port | 8080 |
STATIC_DIR |
Path to frontend build directory | - |
VITE_WS_URL |
WebSocket URL override (frontend build-time) | Auto-detected |