Installation

Three ways to run KeyRouter. The dashboard serves on port 20131 by default.

codenpm (recommended for desktop)

Install the global CLI and run it. Or run directly without installing anything.

Install and run
npm install -g keyrouter
keyrouter
Run directly
npx keyrouter

The dashboard opens at http://localhost:20131. Add --port 8080 for a custom port, or --no-browser to skip opening the browser.

layersDocker (server / VPS)

Published images are available on Docker Hub and GHCR for amd64 and arm64. Mount $HOME/.keyrouter to persist data.

docker run
docker run -d --name keyrouter \
  -p 20131:20131 \
  -v "$HOME/.keyrouter:/app/data" \
  -e DATA_DIR=/app/data \
  keyzakyy-dev/keyrouter:latest

sourceFrom source

build from source
git clone https://github.com/keyzakyy-dev/keyrouter.git
cd keyrouter
cp .env.example .env
npm install
npm run build
npm run start

The dev server runs on port 20127; the production server runs on the configured PORT (20131 by default).