# jenslys/opencode-gemini-auth

Gemini auth plugin for opencode

Repository: https://github.com/jenslys/opencode-gemini-auth
Canonical: https://ross.abutalabs.com/products/opencode-gemini-auth
Homepage: https://npmjs.com/opencode-gemini-auth
Language: TypeScript
License: MIT
License Family: permissive
Topics: gemini, opencode, opencode-plugins
Last push: 2026-08-09T12:04:18+00:00

## Health v2 (maintenance only)
Score: 77/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 96, release rhythm 84, longevity 21
- inputs: {"age_days": 306, "days_push": 24, "days_rel": 104, "gap_med": 1, "n_releases_24m": 42}
- flags: none
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 1736, forks 117 (observed 2026-08-28T04:05:29.807374+00:00)

## What it is
A TypeScript plugin for the Opencode CLI that authenticates with Google via OAuth so users can use their existing Gemini plan and quotas (including the free tier) inside Opencode. It handles the OAuth browser flow, local callback capture, and Google Cloud project provisioning.

## Use cases
- authenticate opencode cli with my google gemini account
- use gemini code assist free tier in opencode
- log in to gemini via oauth instead of api key
- check my gemini code assist quota usage
- use google ai pro subscription with opencode

## When to choose
- you use Opencode and want to reuse an existing Gemini subscription or free-tier quota instead of paying per API key
- you prefer Google account OAuth login over managing API keys
- you need quota inspection for Gemini Code Assist

## When to avoid
- you rely on individual, Google AI Pro, or Google AI Ultra OAuth access, which Google deprecated in June 2026
- you want the lowest-risk option - use a Gemini API key directly instead, since third-party OAuth use may violate Google policy
- you don't use the Opencode CLI

## Facets
- artifact type: plugin
- maturity: active
- function: auth, llm-inference, plugin-system
- domain: developer-tools, large-language-models
- platform: cli, cross-platform
- tags: opencode, gemini, oauth, google-cloud, code-assist, command-line, nodejs

## Member repositories
- jenslys/opencode-gemini-auth (main) score 77

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:05:29.807374+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-30T03:30:41.351946+00:00, confidence not recorded.
  - readme: https://github.com/jenslys/opencode-gemini-auth (fetched 2026-08-28T04:05:29.807374+00:00, sha b689ce4bca33)
  - registry_npm: https://registry.npmjs.org/opencode-gemini-auth (fetched 2026-08-29T11:08:09.006104+00:00, sha 13109951565c)
- Data as of 2026-08-30T08:39:29.467469+00:00.
