No description
- TypeScript 94.2%
- JavaScript 5.8%
| bin | ||
| .gitignore | ||
| bun.lock | ||
| index.ts | ||
| package.json | ||
| README.md | ||
| tsconfig.json | ||
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!