Skip to content

🐙 Your entire GitHub repo, intelligently packaged into a single Markdown file. Ideal for LLM context, documentation, and offline code analysis.

Notifications You must be signed in to change notification settings

OpenSpace-Dev/gittomd

Repository files navigation

gittomd Logo

gittomd

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.

Deploy Status License: MIT GitHub issues GitHub stars

gittomd - Your GitHub repo, packaged into a single Markdown file | Product Hunt


✨ Key Features

  • 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.

🛠️ How to Use

gittomd Demo GIF

Using gittomd is as simple as it gets.

  1. Visit gittomd.com
  2. Paste a GitHub repository URL.
  3. 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

💻 Tech Stack

This project is built with a modern, performant, and scalable stack:

🤝 Contributing & Running Locally

We welcome contributions of all kinds! Whether it's reporting a bug, suggesting a feature, or submitting a pull request, your help is appreciated.

Setup Instructions

  1. Fork & Clone:

    git clone https://github.com/OpenSpace-Dev/gittomd.git
    cd gittomd
  2. Install Dependencies:

    npm install
  3. 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 for Contents. This is the best way to handle API rate limits.
    • Upstash Redis Credentials: Create a free database on Upstash for caching.
  4. Run the Development Server:

    npm run dev

The app will be available at http://localhost:3000.

❤️ Show Your Support

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

About

🐙 Your entire GitHub repo, intelligently packaged into a single Markdown file. Ideal for LLM context, documentation, and offline code analysis.

Topics

Resources

Stars

Watchers

Forks