npm.io
1.17.13 • Published 17h ago

devpass-code-linux-x64-baseline

Licence
Version
1.17.13
Deps
0
Size
157.4 MB
Vulns
0
Weekly
0
Stars
1

LLM Gateway

DevPass Code — the terminal coding agent for LLM Gateway.

Repo License: MIT


DevPass Code is a rebranded fork of opencode that talks to a single upstream: the LLM Gateway OpenAI-compatible API. It ships with exactly two providers and a Claude-Code-style one-click terminal login — no per-provider API keys to juggle.

Providers

Provider Use it when…
LLM Gateway You pay as you go with credits / your own LLM Gateway API key.
LLM Gateway DevPass You have a DevPass coding subscription. Billing is handled automatically by the gateway.

Both route to https://api.llmgateway.io/v1 and send an x-source: devpass-code header so DevPass usage is attributed correctly.

Install

curl -fsSL https://raw.githubusercontent.com/theopenco/devpass-code/main/install | bash

Or with a package manager:

npm i -g devpass-code            # or: bun / pnpm / yarn
brew install theopenco/tap/devpass-code   # macOS & Linux
paru -S devpass-code-bin         # Arch Linux (AUR)

Run it with Docker:

docker run -it --rm ghcr.io/theopenco/devpass-code

Windows binaries (devpass-code-windows-*.zip) are attached to every GitHub release; npm i -g devpass-code works there too.

Already installed? Upgrade in place with devpass-code upgrade.

Run from source
bun install
bun run packages/devpass-code/src/index.ts --help
Authenticate
devpass-code auth login

Pick LLM Gateway or LLM Gateway DevPass, then choose Log in with browser. DevPass Code opens https://llmgateway.io/connect/cli, you approve the connection in your browser, and the freshly minted API key is handed back to a local loopback server on your machine — the terminal picks up right where it left off. Prefer to paste a key? Choose Paste an API key instead.

Credentials are stored at ~/.local/share/devpass-code/auth.json.

Configuration
  • DEVPASS_APP_URL / LLMGATEWAY_APP_URL — override the dashboard URL used for browser login (defaults to https://llmgateway.io).
  • LLMGATEWAY_API_KEY — provide an API key via the environment instead of logging in.

Credits & license

DevPass Code is a fork of opencode by the opencode authors, used under the MIT License. This fork rebrands the tool and restricts it to LLM Gateway. See LICENSE.