Tool detail
glim.sh
Searches GitHub repositories, issues/PRs, discussions or code across 2.8M+ public repos using GitHub's own search syntax.
Categories: Code tools
Use when
- search GitHub code for a literal pattern or symbol
- find a repo by name or topic on GitHub
- search GitHub issues, PRs or discussions with qualifiers
Not for
- not private repositories — public GitHub only
- not license:, enterprise: or is:vendored filters in code search
Inputs
POST JSON body (required): query (string, ≤1000 chars, GitHub search syntax); optional: kind (enum: repos|conversations|code|discussions), repo, page, per_page.
Admitted input schema
{
"type": "object",
"properties": {
"kind": {
"type": "string",
"minLength": 0,
"maxLength": 4096,
"enum": [
"repos",
"conversations",
"code",
"discussions"
],
"description": "What to search: 'repos', 'conversations' (issues+PRs), 'discussions' (GitHub Discussions - a separate index from issues/PRs), or 'code' (literal/regex/symbol search across 2.8M+ public GitHub repos). Optional - inferred from the query: is:answered/category: implies discussions, is:/label:/author: implies conversations, path:/symbol:/content://regex/ implies code, stars:/topic:/in:readme implies repos, otherwise repos. type:code / type:repos / type:discussions in the query also works. A conversations search"
},
"page": {
"type": "integer",
"minimum": 1,
"maximum": 10,
"description": "Page number",
"default": 1
},
"per_page": {
"type": "integer",
"minimum": 1,
"maximum": 30,
"description": "Results per page",
"default": 20
},
"query": {
"type": "string",
"minLength": 1,
"maxLength": 1000,
"description": "Search query in full GitHub search syntax: qualifiers (repo:owner/name, org:/user:, language:, path: with globs, symbol:, content:, is:, stars:>N, label:, sort:stars), boolean AND/OR/NOT with parentheses, \"exact strings\", and /regex/. kind=repos: minimal distinctive keywords - the project/library name (GOOD: 'rtk', 'react query'; BAD: 'rtk rust token killer' - every extra word must ALL match and buries the real repo; filter with qualifiers, not prose). kind=code: ONE literal code pattern as it appears in fi"
},
"repo": {
"type": "string",
"minLength": 0,
"maxLength": 4096,
"description": "Scope to one repository. Accepts 'owner/name', a github.com URL, or a partial 'owner/' (code). Works with any kind; setting it with kind=repos routes the search to conversations, since repo-name search can't scope to one repo. Equivalent to a repo: qualifier in the query (if both are given they must match)."
}
},
"required": [
"query"
],
"additionalProperties": false
}Endpoint
- Method
POST- URL
https://glim.sh/api/v1/github/search
Payment
- Protocol
- x402
- Listed price
- $0.002 USDC per call on Solana
- 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
- Directory
- Coinbase x402 Bazaar
- Record
- POST https://glim.sh/api/v1/github/search
- Retrieved
- 2026-09-30T20:37:07.382Z
- Catalog file SHA-256
6837ccddf886f0007cf3727ea9d27faaa5047b51b4f425345c554ce1c271a524- Catalog built
- 2026-09-30T22:31:58.034Z