No description
  • TypeScript 94.2%
  • JavaScript 5.8%
Find a file
2026-06-10 19:35:41 +02:00
bin init 2026-06-10 19:31:49 +02:00
.gitignore init 2026-06-10 19:31:49 +02:00
bun.lock init 2026-06-10 19:31:49 +02:00
index.ts init 2026-06-10 19:31:49 +02:00
package.json chore: bump version 2026-06-10 19:34:40 +02:00
README.md init 2026-06-10 19:31:49 +02:00
tsconfig.json init 2026-06-10 19:31:49 +02:00

openai-git

Downloads every file in a git repo individually over HTTP instead of using git. Replicates the approach allegedly used by OpenAI (and Grok) to scrape public repositories.

Disclaimer: This is obviously satire. Git instance operators likely get the joke. Disclaimer 2: Do not run this on any other instance than your own and git.eplg.services. This stresses the git server by an insane amount.

Install

Requires Bun.

bun i -g @teamepilogue/openai-git

Usage

ogit <repo-url>

Works with any GitHub and Gitea/Forgejo instance.

ogit https://github.com/owner/repo
ogit https://git.eplg.services/epilogue/openai-git

For GitHub, set GITHUB_TOKEN to avoid rate limits:

GITHUB_TOKEN=ghp_... ogit https://github.com/owner/repo

Output is written to ./{repo-name}/ in the current directory.

Why

GPTBot seems to prefer downloading repositories over HTTP each file on its own. This enables normal people to behave like bots too!