Skip to content
onelayer.
All tools

Tool detail

glim.sh

Fetches GitHub data from a URL or owner/repo ref: repo metadata, README, files, commits, PRs, issues, or discussions.

Categories: Code tools, Social media

Use when

  • get a repo's README and metadata from its URL
  • fetch a specific PR, issue, or commit's details
  • list a repo's file tree or commit history

Not for

  • not GitHub search across all repos beyond the /topics shorthand

Inputs

POST JSON body: { ref: string (required) - GitHub URL or owner/repo }; optional: page (default 1), per_page (default 30, max 100)

Admitted input schema

{
  "type": "object",
  "properties": {
    "page": {
      "type": "integer",
      "minimum": 1,
      "maximum": 100,
      "description": "Page number for paginated results",
      "default": 1
    },
    "per_page": {
      "type": "integer",
      "minimum": 1,
      "maximum": 100,
      "description": "Results per page",
      "default": 30
    },
    "ref": {
      "type": "string",
      "minLength": 1,
      "maxLength": 2048,
      "description": "GitHub URL or 'owner/repo' shorthand. A repo URL or owner/repo returns metadata + README; /pull/N -> PR (with comments + changed files), /issues/N -> issue, /discussions/N -> discussion (with threaded replies), /blob/<ref>/<path> -> file (raw.githubusercontent.com URLs work too), /tree/<ref>[/<path>] -> file tree (optionally scoped to a subdirectory), /commit/<sha> -> one commit with diff, /commits[/<ref>/<path>] -> history (optionally for one file), /branches, /releases (or /releases/tag/<tag> | /releases/"
    }
  },
  "required": [
    "ref"
  ],
  "additionalProperties": false
}

Endpoint

Method
POST
URL
https://glim.sh/api/v1/github/get

Payment

Protocol
x402
Listed price
2000 units of asset EPjFWdd5...Dt1v per call on Solana (decimals not stated)
Payment method
exact
Network
solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp
Asset
EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v

Listed terms are catalog metadata. The caller supplies inputs and calls the tool outside Onelayer. If payment is required, the caller uses a compatible wallet to pay.

Source

Record
POST https://glim.sh/api/v1/github/get
Retrieved
2026-09-30T20:37:07.382Z
Catalog file SHA-256
6837ccddf886f0007cf3727ea9d27faaa5047b51b4f425345c554ce1c271a524
Catalog built
2026-09-30T22:31:58.034Z