Catalog npm
PACKAGE EXPLORERView in registry

1router

npm

1Router AI router with Windsurf provider support

Versions collected4
Direct dependencies36From release 1.0.2
Last observed20 Oct, 18:37 UTC

README

Current package documentation

1Router

1Router is a local AI routing gateway with a dashboard, OpenAI-compatible endpoints, and Windsurf provider support.

Install

npm install -g 1router
1router

The dashboard starts at:

http://localhost:20128/dashboard

Default local runtime data is stored in:

~/.1router/data

On Windows this still respects DATA_DIR if you set it explicitly.

CLI

The 1router command opens an interactive launcher similar to the original router CLI:

Web UI (Open in Browser)
Terminal UI (Interactive CLI)
Hide to Tray (Background)
Exit

Useful flags:

1router --port 20128
1router --host 0.0.0.0
1router --tray
1router --skip-update
1router --log

Update checks read from the npm package 1router.

Windsurf

Windsurf support uses the local Windsurf installation/session on the machine where 1Router is running. The npm package does not include private account tokens, .env files, local databases, or Windsurf session state.

Primary Windsurf model ids currently exposed by the mod:

ws/claude-sonnet-4.6
ws/claude-opus-4.6
ws/claude-haiku-4.5
ws/gpt-5.4

Environment

PORT=20128 DATA_DIR=/path/to/data INITIAL_PASSWORD=your-password 1router

Runtime secrets are generated locally on first launch under ~/.1router/runtime-secrets.json.

OpenAI-Compatible Endpoint

Base URL: http://localhost:20128/v1
API key: use a key from the dashboard, or the local default shown by the app

Downloads & popularity

Awaiting observations

No metric observations yet

Download counts and popularity will appear here as the collector receives them.

Versions 4

Collected releases
VersionPublishedDirect dependenciesOpen version
1.0.2Registry latest24 Apr 202636
1.0.123 Apr 202636
1.0.023 Apr 202636
0.3.9623 Apr 202635

Package advisories

0
No matching advisories collected

This describes our collected data; it is not a security assessment.

Metadata history

Meaningful changes
Current collected state Current

Observed since 20 Oct, 18:37 UTC

No superseded metadata states collected. Unchanged observations do not create new revisions.

Record identity

package:f129193982957a81cd8e5dcfceaaf636b9fc13a53410448276a941d99fb44ef7