Adapter: TGStat

Abierto
#1,413 0 comentarios 0 reacciones 0 asignados Ver en GitHub

Los mantenedores suelen responder en 1 día

Nadie ha tomado este issue todavía.

Evaluación

Dificultad
3/5
Tiempo estimado
1-2 días
Aptitud para principiantes
75/100
Tipo de issue
Nueva funcionalidad
Claridad
Bien especificado
Estado de actividad
Activo
Stack tecnológico
typescript
Área
analytics, api

Línea de trabajo

Start with the six steps under Add an adapter in AGENTS.md, then run npm run adapter:new -- tgstat --region intl --auth QUERY_AUTH to generate the scaffold. Fill in the read-only tools (channel info, channel statistics, post search, post statistics) using the TGStat docs, and add intl/tgstat.live.spec.ts with static assertions. Done when node scripts/validate-adapters.mjs --warn adds no new warnings, scripts/regenerate-catalog.mjs has been run, and node scripts/adapter-count.mjs --check passes.

Escrito por el modelo de indexación a partir del texto del issue.

Descripción

adapter-request good first issue help wanted

👋 A self-contained first contribution: one JSON adapter file, a spec and a logo. No need to know the rest of the codebase.

Why this one

In the last 30 days, 2 different workspaces on AnythingMCP Cloud searched the catalog for TGStat and found nothing. People want it; nobody has built it yet.

The API

Suggested first tools (read-only)

get channel info, get channel statistics, search posts, get a post's statistics. Read-only tools are enough for a first version; write tools can follow in a later PR.

How

Follow the six steps in AGENTS.md → Add an adapter and docs/tool-definition.md. The scaffold command for this one:

npm run adapter:new -- tgstat --region intl --auth QUERY_AUTH

Then node scripts/validate-adapters.mjs --warn, node scripts/regenerate-catalog.mjs, a intl/tgstat.live.spec.ts (static assertions always, live calls behind RUN_TGSTAT_LIVE=1), node scripts/adapter-count.mjs --check and the logo. The walkthrough and past examples are in #982.

Done when

  • The adapter validates without new warnings and the catalog is regenerated.
  • Every tool has a description an AI can act on (what it returns, when to use it) and a response mapping that keeps the useful fields.
  • The PR says which calls you ran against a real account, or that you could not and built it from the docs.

Claim it

Comment here to claim it. A claim without a PR for 14 days goes back to the pool, no hard feelings. Sign the CLA when the bot asks.

Lenguaje dominante
TypeScript
Estrellas
856
Forks
82
Merge medio
6 h 34 min
PR fusionados (30 d)
362

Preparar el entorno

Este proyecto no incluye contenedor de desarrollo, Dockerfile ni guía de contribución, así que la configuración corre por tu cuenta: empieza por su README y consulta nuestra guía para la primera contribución para los pasos generales.

Primeros pasos

  1. Lee el issue completo y luego la guía de contribución del proyecto.
  2. Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
  3. Haz un fork del repositorio y trabaja en una rama.
  4. Abre un pull request que haga referencia al número del issue.

Más de HelpCode-ai/anythingmcp

Todos los issues de HelpCode-ai/anythingmcp

Issues similares

Más issues de TypeScript

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.