Skip to content

VanishText Self-Hosting

Websocket-based, anonymous and open source chatroom site.

Official EU instance: https://vanishtxt-eu.chjk.xyz/

Official US instance: https://vanishtxt-us.chjk.xyz/

Instance status: https://status.chjk.xyz/status/vanishtxt

IMPORTANT

Please update your instance’s install or run script if your instance is on version 1.2.0 or later due to a change in the file structure.

  • Node.js (>v18 LTS recommended)
  • NPM (v9+ recommended)
  • git

Install:

git clone https://github.com/Felixstro-dev/vanishtxt.git
cd vanishtxt
npm install

Start:

cd /path/to/your/install
npm run main

Update:

cd /path/to/your/install
git pull
npm install #just to be safe

(Not tested on windows)

VariableTypeDefaultDescription
PORTstring3500Port to run the server on
ENABLE_PROTECTIONbooleanfalseEnable password protection
PROTECTION_PASSWORDSstring-Comma-separated list of allowed passwords
ENABLE_IMAGESbooleantrueEnable image sharing
ENABLE_COMMANDSbooleantrueEnable ”/!” commands
NODE_ENVstring-if “production” all cross-origin requests are denied
ENABLE_RECONNECTbooleanfalseAutomatically reconnect to the last room on connection/disconnect (only supported on some frontends)

This setup focuses on the standard bundled frontend.

For a full technical breakdown, see VanishText More Info.