{
 "schema_version": 1,
 "generated": "2026-10-20",
 "repo": "Sinholms/setup-gateway",
 "name": "setup-gateway",
 "owner": "Sinholms",
 "slug": "sinholms-setup-gateway",
 "github": "https://github.com/Sinholms/setup-gateway",
 "what": "A zero-dependency Node.js CLI that points Claude Code, OpenCode, and Codex CLI at any OpenAI-compatible gateway, with automatic backups and a restore command.",
 "why": "",
 "language": "JavaScript",
 "requirements": [
  "Node.js 18 or newer installed",
  "A gateway base URL that exposes /v1 and an API key for it",
  "A model id the gateway serves, or access to GET /v1/models so the picker can list them",
  "For Codex: a gateway that serves the Responses API (/v1/responses)"
 ],
 "audience_note": "Developers and platform engineers who run Claude Code, OpenCode, or Codex CLI against a company proxy, LiteLLM, OpenRouter, or a local gateway and need repeatable setup.",
 "risk": "sensitive",
 "section": "earlier",
 "weekly_rank": null,
 "category": "Software and DevOps",
 "url": "https://dedupedai.com/use-cases/sinholms-setup-gateway/",
 "use_case_count": 4,
 "use_cases": [
  {
   "id": "sinholms-setup-gateway--point-claude-code-at-gateway",
   "title": "Point Claude Code at your own OpenAI-compatible gateway",
   "best": true,
   "url": "https://dedupedai.com/use-cases/sinholms-setup-gateway/point-claude-code-at-gateway/",
   "json": "https://dedupedai.com/use-cases/u/sinholms-setup-gateway/point-claude-code-at-gateway.json"
  },
  {
   "id": "sinholms-setup-gateway--set-up-codex-cli-model-picker",
   "title": "Set up Codex CLI with gateway models in the /model picker",
   "best": false,
   "url": "https://dedupedai.com/use-cases/sinholms-setup-gateway/set-up-codex-cli-model-picker/",
   "json": "https://dedupedai.com/use-cases/u/sinholms-setup-gateway/set-up-codex-cli-model-picker.json"
  },
  {
   "id": "sinholms-setup-gateway--roll-back-broken-tool-config",
   "title": "Restore the last working config after a bad gateway change",
   "best": false,
   "url": "https://dedupedai.com/use-cases/sinholms-setup-gateway/roll-back-broken-tool-config/",
   "json": "https://dedupedai.com/use-cases/u/sinholms-setup-gateway/roll-back-broken-tool-config.json"
  },
  {
   "id": "sinholms-setup-gateway--run-selftest-before-release",
   "title": "Run the built-in selftest in CI before publishing a release",
   "best": false,
   "url": "https://dedupedai.com/use-cases/sinholms-setup-gateway/run-selftest-before-release/",
   "json": "https://dedupedai.com/use-cases/u/sinholms-setup-gateway/run-selftest-before-release.json"
  }
 ],
 "disclaimer": "Third-party repos we don't own or vouch for. AI-generated use cases can be wrong: review everything and run at your own risk."
}
