Paste any GitHub REST API JSON response and get TypeScript interfaces instantly. Works for repos, issues, pull requests, users, releases, workflow runs — any /api.github.com/* endpoint.
GitHub publishes an OpenAPI spec at github.com/github/rest-api-description, but it's huge, frequently lags behind the live API, and pulls in the full @octokit/types tree even when you only call a single endpoint. For one-off scripts, GitHub Actions, or internal dashboards that talk to a handful of endpoints, generating a TypeScript interface from a real JSON response is faster and produces a smaller, more readable surface area.
Paste the JSON returned by any /api.github.com/ endpoint — repos, issues, pull requests, runs, releases, users — and the converter walks the shape, merges arrays of objects into a single interface, marks fields optional when they're missing in any sample, and produces nested types for embedded objects like owner, license, or head/base. Drop the result into your script and you get autocomplete on every field GitHub actually returned.