@teamepilogue/openai-git
v1.0.2
Published
downloads every file in a repo individually over http instead of using git
Readme
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-gitUsage
ogit <repo-url>Works with any GitHub and Gitea/Forgejo instance.
ogit https://github.com/owner/repo
ogit https://git.eplg.services/epilogue/openai-gitFor GitHub, set GITHUB_TOKEN to avoid rate limits:
GITHUB_TOKEN=ghp_... ogit https://github.com/owner/repoOutput 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!
