Skip to content
PluginStats

@chat-adapter/github weekly downloads statistics

By chat-adapter (14 listings) · npm · AI SDKs

GitHub adapter for Chat SDK — respond to @mentions in pull request and issue comment threads

View on npm Fresh · Oct 18, 2026

@chat-adapter/github has 100,665 recorded weekly downloads on npm, an increase of 120% over the past 30 days, ranking #474 of 2,322 tracked listings.

Weekly downloads
100,665
Official API · Oct 18, 2026
7-day growth
-25.8%
-35.1K weekly downloads
30-day growth
+120%
+54.9K weekly downloads
90-day growth
+275%
+73.8K weekly downloads
Rank
#474
Among tracked npm listings

About @chat-adapter/github

GitHub adapter for Chat SDK

@chat-adapter/github

npm package: @chat-adapter/github

Agent Stack MIT License

GitHub adapter for Chat SDK. Respond to @mentions in PR and issue comment threads.

The GitHub adapter treats issue and pull request comments as messages, and issues/PRs as threads.

Documentation: chat-sdk.dev/adapters/official/github · Guides: vercel.com/kb/chat-sdk

Installation

pnpm add @chat-adapter/github

Scaffold with the CLI

To scaffold a new GitHub bot with this adapter preselected:

npx create-chat-sdk@latest my-bot --adapter github memory

Visit the adapters directory to see other available official and vendor-official adapters.

Quick start

For managed credentials and webhook verification, see Vercel Connect.

The adapter auto-detects credentials from GITHUB_TOKEN (or GITHUB_APP_ID/GITHUB_PRIVATE_KEY), GITHUB_WEBHOOK_SECRET, and GITHUB_BOT_USERNAME environment variables:

import { Chat } from "chat";
import { createGitHubAdapter } from "@chat-adapter/github";

const bot = new Chat({
  userName: "my-bot",
  adapters: {
    github: createGitHubAdapter(),
  },
});

bot.onNewMention(async (thread, message) => {
  await thread.post("Hello from GitHub!");
});

Configuration

All options are auto-detected from environment variables when not provided.

OptionRequiredDescription
tokenNo*Personal Access Token. Auto-detected from GITHUB_TOKEN
appIdNo*GitHub App ID. Auto-detected from GITHUB_APP_ID
privateKeyNoGitHub App private key (PEM). Auto-detected from GITHUB_PRIVATE_KEY
installationIdNoInstallation ID (omit for multi-tenant). Auto-detected from GITHUB_INSTALLATION_ID
installationTokenNo*Vercel Connect mode: installation access token, or a () => string | Promise<string> resolver invoked per API call. Skips the App JWT exchange.
webhookSecretNo**Webhook secret. Auto-detected from GITHUB_WEBHOOK_SECRET
webhookVerifierNo**Custom verifier (request, body) => unknown | Promise<unknown> used in place of webhookSecret. Takes precedence over webhookSecret/GITHUB_WEBHOOK_SECRET. Required in Connect mode
userNameNoBot username for @mention detection. Auto-detected from GITHUB_BOT_USERNAME (default: "github-bot")
botUserIdNoBot's numeric user ID (auto-detected if not provided)
apiUrlNoOverride the GitHub API base URL (e.g. for GitHub Enterprise Server). Auto-detected from GITHUB_API_URL
loggerNoLogger instance (defaults to ConsoleLogger("info"))

*One of token/GITHUB_TOKEN, appId+privateKey/GITHUB_APP_ID+GITHUB_PRIVATE_KEY, or installationToken (Vercel Connect) is required.

**Either webhookSecret (via config or GITHUB_WEBHOOK_SECRET) or a webhookVerifier is required. When webhookVerifier is set it takes precedence and the secret is ignored.

Authentication

Option A — Vercel Connect

Use Vercel Connect to source installation access tokens at runtime instead of storing a GitHub App private key. The installationToken resolver supplies the token the adapter sends directly (skipping the App JWT exchange), and webhookVerifier verifies Connect trigger-forwarded webhooks via a Vercel OIDC token instead of a webhook secret.

The simplest path is the connectGitHubAdapter() helper from @vercel/connect/chat:

import { createGitHubAdapter } from "@chat-adapter/github";
import { connectGitHubAdapter } from "@vercel/connect/chat";

createGitHubAdapter({
  ...connectGitHubAdapter("github/acme-github"),
  userName: "my-bot[bot]",
});

Or wire the fields yourself:

import { getToken } from "@vercel/connect";

createGitHubAdapter({
  installationToken: () =>
    getToken("github/acme-github", { subject: { type: "app" } }),
  webhookVerifier: myConnectWebhookVerifier,
  userName: "my-bot[bot]",
});

installationToken accepts a string or () => string | Promise<string> resolver invoked per API call, so it composes with Connect's short-lived tokens. When webhookVerifier is set it takes precedence over webhookSecret and GITHUB_WEBHOOK_SECRET.

Freshness: OIDC verification replaces GitHub's signature check, so request freshness relies on the short-lived OIDC token's expiry rather than a signed timestamp, and there is no built-in nonce/delivery-id de-duplication. Keep your webhook handlers idempotent (GitHub may also redeliver events).…

Description from the npm listing.

  • chat
  • chat-sdk
  • chatbot
  • github
  • github-bot
  • github-app
  • bot
  • adapter
  • pull-request
  • issue
  • code-review
  • ai-agent
  • ai-sdk
  • vercel

README badge

Show your rank in a README or on your website. The badge updates automatically.

Charts

Images: 30d · 1y · all time · 1600×900 dark

Adoption over time

@chat-adapter/github weekly downloads on npm, last 90 days: 100,665 weekly downloads as of Oct 18, 2026, +275% over 90 days.@chat-adapter/githubWeekly downloads on npm · Last 90 days100,665downloads / week+275% over 90 days050K100K150K200KJul 20Aug 4Aug 19Sep 3Sep 18Oct 3Oct 18downloads / weekobservedarchived (Internet Archive)no observationsJul 22, 2026 – Oct 18, 2026 · 89 observations · Updated Oc…pluginstats.com
@chat-adapter/github weekly downloads on npm, last 90 days: 100,665 weekly downloads as of Oct 18, 2026, +275% over 90 days.

7/30/90-day growth

@chat-adapter/github weekly downloads growth on npm: -25.8% over 7 days, +120% over 30 days, +275% over 90 days.@chat-adapter/githubWeekly downloads growth on npm100,665downloads / week now7-day growth-35,051 weekly downloads-25.8%30-day growth+54,894 weekly downloads+120%90-day growth+73,840 weekly downloads+275%Growth vs. nearest observation to each baseline date · Updated Oct 18, 2026pluginstats.com
@chat-adapter/github weekly downloads growth on npm: -25.8% over 7 days, +120% over 30 days, +275% over 90 days.

Ranking history

@chat-adapter/github npm ranking history: currently #474 (by weekly downloads).@chat-adapter/githubnpm ranking · by weekly downloads · Last 90 days#474current rank#470#480#490#500#510#520#530Jul 22Aug 6Aug 21Sep 5Sep 20Oct 5Oct 20rankOct 18, 2026 – Oct 20, 2026 · 3 observations · Updated Oct 18, 2026pluginstats.com
@chat-adapter/github npm ranking history: currently #474 (by weekly downloads).

Listing placement

All npm2,320 listings · 116 pages · 1,162 shown · page 24, #14 (overall #474)
All npm: every listing in weekly downloads order

Listing placement

AI SDKs259 listings · 13 pages · page 2, #2 (overall #22)
AI SDKs: every listing in weekly downloads order

Filled points are observed values; hollow points come from Internet Archive snapshots of the listing page. Dashed segments span periods with no observations — values between points are not interpolated.

Each band is one page of 20. Weekly downloads on a linear scale. Placement is projected from weekly downloads, so it can differ from the marketplace's own sort order. Hover a dot to see the listing.

Recent observations

Full history (122)
Recent weekly downloads observations for @chat-adapter/github
Date (UTC)Weekly downloadsChange vs. previous
100,665+41.2K
59,488-14.7K
74,161+5.7K
68,446-27.2K
95,681-28.6K
124,2430
124,243-11.5K
135,716-13.8K
149,466-13.2K
162,686-3.5K
166,169-4.1K
170,252+6.3K
163,987-29.5K
193,517—

Data source

Weekly downloads (trailing 7 complete days) come from the official npm downloads API. Downloads include CI and mirrors and are not equivalent to installs or users. npm publishes no ratings.

Listing: https://www.npmjs.com/package/@chat-adapter/github. First seen Oct 16, 2026; last successful collection Oct 20, 2026. See the methodology.