Skip to content

theopenco/devpass-code

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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 & 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.

About

DevPass Code — the terminal coding agent for LLM Gateway (fork of opencode)

Resources

License

Contributing

Security policy

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors