Things I’ve built

Repo2Txt.

Web app · TypeScript

Repo2Txt
CC BY-NC 4.0 licensed
Reads private repos with a personal access token

Problem solved

Giving a model the contents of a repository means opening files one at a time and pasting them. This takes a GitHub URL and hands back one text file.

What I built

Paste a public GitHub repository URL and it loads the directory structure in the browser. You pick the files or whole folders you want, filter them by extension, and download the lot as a single concatenated text file to feed a language model. Private repositories work with a GitHub personal access token, which also raises the API rate limit. Built with Next.js, TypeScript and Tailwind CSS.

Timeline

Oct 2024 – Sep 2026

Tech stack

Next.jsTypeScriptTailwind CSSReactGitHub APIVercelFile treeSyntax highlighting
16 / 16