Toolpal

@toolpal/github-repo

public

v2.0published 2 downloads this weekMIT

Looks up live facts about a public GitHub repository: stars, forks, watchers, open issues, language breakdown, license, topics, latest release, and when it was created and last pushed to. Works without an API key; set GITHUB_TOKEN for higher rate limits.

manifest.json3.1 KBRaw
{
  "manifestVersion": 1,
  "name": "@toolpal/github-repo",
  "version": "1.0",
  "description": "Looks up live facts about a public GitHub repository: stars, forks, watchers, open issues, language breakdown, license, topics, latest release, and when it was created and last pushed to. Works without an API key; set GITHUB_TOKEN for higher rate limits.",
  "license": "MIT",
  "keywords": [
    "github",
    "repository",
    "git",
    "open-source",
    "developer",
    "stats"
  ],
  "entry": "dist/tool.mjs",
  "sdk": "0.1.0",
  "engines": {
    "node": ">=22.15.0"
  },
  "inputSchema": {
    "type": "object",
    "required": [
      "repo"
    ],
    "properties": {
      "repo": {
        "type": "string",
        "maxLength": 300,
        "description": "Repository as \"owner/name\" (e.g. facebook/react) or a github.com URL"
      }
    }
  },
  "outputSchema": {
    "type": "object",
    "required": [
      "fullName",
      "url",
      "stars",
      "forks",
      "watchers",
      "openIssuesAndPullRequests",
      "languages",
      "topics",
      "defaultBranch",
      "archived",
      "createdAt",
      "lastPushAt"
    ],
    "properties": {
      "fullName": {
        "type": "string"
      },
      "url": {
        "type": "string"
      },
      "description": {
        "type": "string"
      },
      "homepage": {
        "type": "string"
      },
      "stars": {
        "type": "integer"
      },
      "forks": {
        "type": "integer"
      },
      "watchers": {
        "type": "integer"
      },
      "openIssuesAndPullRequests": {
        "type": "integer"
      },
      "languages": {
        "type": "array",
        "items": {
          "type": "object",
          "required": [
            "name",
            "percent"
          ],
          "properties": {
            "name": {
              "type": "string"
            },
            "percent": {
              "type": "number"
            }
          }
        },
        "description": "Share of code by bytes, largest first"
      },
      "license": {
        "type": "string"
      },
      "topics": {
        "type": "array",
        "items": {
          "type": "string"
        }
      },
      "defaultBranch": {
        "type": "string"
      },
      "archived": {
        "type": "boolean"
      },
      "createdAt": {
        "type": "string"
      },
      "lastPushAt": {
        "type": "string"
      },
      "latestRelease": {
        "type": "object",
        "required": [
          "tag",
          "publishedAt",
          "url"
        ],
        "properties": {
          "tag": {
            "type": "string"
          },
          "name": {
            "type": "string"
          },
          "publishedAt": {
            "type": "string"
          },
          "url": {
            "type": "string"
          }
        }
      }
    }
  },
  "permissions": {
    "net": true,
    "env": [
      "GITHUB_TOKEN"
    ],
    "tmp": false
  },
  "limits": {
    "timeoutMs": 15000,
    "memoryMb": 128
  },
  "build": {
    "toolpal": "0.1.0",
    "esbuild": "0.28.2",
    "options": "sha256-tMpkndD8HsDUvZadrPbEAMGGIGK7nvmTGxMMlUxy9Fo="
  }
}