GPTGitHub
LLM-Ready MarkdownPreserves Structure & Metadata

Transform GitHub Content for LLMs

Convert any GitHub content into clean, LLM-friendly markdown format. Just add gpt before your GitHub URL and get structured, readable content instantly. Use it without signing in, or sign in to use your own GitHub rate limits and access private repos and organizations.

View Examples

Sign-in is optional. Public content works without it.

How It Works

Transform any GitHub URL into LLM-friendly content with just one simple change

Public data: no sign-in needed. Sign in for private repos and personal rate limits.

Just add gpt to the start of your URL:
gptgithub.com/openai/codex/issues/224
What LLMs see from GitHub
<html lang="en" data-color-mode="dark" data-light-theme="light" data-dark-theme="dark" data-a11y-animated-images="system" data-a11y-link-underlines="true"> <style> :root { --fontStack-monospace: "Monaspace Neon", ui-monospace, SFMono-Regular, SF Mono, Menlo, Consolas, Liberation Mono, monospace !important; } .Link--primary { color: #2f81f7; }
... 2000+ lines of HTML/CSS/JS ...
What LLMs see from GPTGitHub
# Issue #123: Fix authentication bug
Repo: owner/repo | Status: open | Labels: bug, auth
Created: Jan 15, 2024 | Author: alice

## Description
Users receive 401 when logging in via OAuth on mobile.
Affects versions: v1.3.0 - v1.3.2

## Environment
- iOS 17.5, Safari
- Backend: Node 20, Postgres 15

## Steps to Reproduce
1. Open the app and log out
2. Click "Login with GitHub"
3. Approve OAuth and return to app
4. Observe error

## Expected
User session established and grayirected to dashboard

## Actual
401 from /api/session with message "token missing"

## Stack Trace
POST /api/session 401 Error: Missing OAuth token at createSession (src/auth/session.ts:42) at handler (src/pages/api/session.ts:19)

## Comments (3)
- alice (Jan 16): I can reproduce on iOS and Android.
- bob (Jan 17): Likely cookie domain mismatch after OAuth grayirect.
- carol (Jan 18): PR #456 adds secure cookie fix.

## Proposed Fix
Set cookie on same-site grayirect and persist token server-side.
// next.config.js
{ experimental: { serverActions: true }, cookies: { secure: true, sameSite: 'lax' } }

## Affected Files
- src/auth/session.ts
- src/pages/api/session.ts
- next.config.js

## Patch Summary
- Set SameSite=Lax and Secure for cookies
- Store OAuth token server-side, not in client
- Add regression test for mobile OAuth

## Related
- PR: #456 Secure cookie handling for OAuth
- Issue: #122 Session regression on iOS

## Checklist
- [x] Repro added
- [ ] Tests updated
- [ ] Changelog entry

## Notes for LLMs
- Summarize root cause in 1-2 sentences
- Propose alternative approaches with tradeoffs
- Generate a test plan focusing on cookie behavior

Everything GitHub, LLM-Ready

Access all GitHub content types in clean, structured format perfect for AI. Sign in to use your own rate limits and unlock private repos and orgs.

Issues & Discussions
Get clean text from GitHub issues and discussions without UI clutter
Pull Requests
Extract PR details, descriptions, and conversations in markdown format
File Contents
Access any file content directly with proper formatting and syntax
Repository Info
Get repository details, README, and structure information
Commit Details
Extract commit messages, changes, and metadata in clean format
Private Repos + Orgs
Sign in to access private repositories and organizations
Optional Sign-In