
Your entire GitHub repo, intelligently packaged into a single Markdown file.
The perfect tool for feeding codebases to LLMs, creating documentation, or for offline code analysis.
- LLM-Optimized Formatting: Outputs clean Markdown with language-annotated code blocks (
\
``typescript:src/app/page.tsx`), a format that models understand perfectly. - Intelligent Filtering: Automatically ignores binary files and common clutter (
.git
,node_modules
,dist/
, etc.) to keep your context clean. - Blazing Fast & Cached: Leverages a global edge network and Redis caching to deliver results quickly, even for large repositories.
- Simple & Free: No sign-up required. Just paste a URL and go.
Using gittomd
is as simple as it gets.
- Visit gittomd.com
- Paste a GitHub repository URL.
- Click Generate and copy the Markdown to your clipboard!
Alternatively, you can access the content directly via URL:
https://gittomd.com/<github-user>/<github-repo>
For example, to get the Markdown for the expressjs/express
repository:
https://gittomd.com/expressjs/express
This project is built with a modern, performant, and scalable stack:
- Framework: Next.js 15 (App Router & Turbopack)
- Styling: Tailwind CSS v4
- Caching: Upstash Redis
- GitHub API: Octokit
We welcome contributions of all kinds! Whether it's reporting a bug, suggesting a feature, or submitting a pull request, your help is appreciated.
-
Fork & Clone:
git clone https://github.com/OpenSpace-Dev/gittomd.git cd gittomd
-
Install Dependencies:
npm install
-
Set Up Environment Variables: Create a
.env.local
file by copying the example file:cp .env.example .env.local
You will need to fill in the following values:
- GitHub App Credentials: Create a GitHub App with
Read-only
permissions forContents
. This is the best way to handle API rate limits. - Upstash Redis Credentials: Create a free database on Upstash for caching.
- GitHub App Credentials: Create a GitHub App with
-
Run the Development Server:
npm run dev
The app will be available at http://localhost:3000
.
If you find gittomd
useful, please give it a ⭐️ on GitHub! It helps the project gain visibility and encourages further development.
A project by OpenSpace Dev