logo

Dewdrops – Turn your Git repo into a single Markdown file for LLMs

Posted by medunes |3 hours ago |4 comments

medunes 3 hours ago[1 more]

I wrote a small CLI tool in Go called Dewdrops to help with "context stuffing" (feeding codebases to Claude/GPT).

The Problem: Copy-pasting files manually is slow, and most existing scripts don't handle .gitignore logic correctly or include binary files that waste tokens.

The Solution: Dewdrops walks your directory tree, strictly respects your .gitignore rules (using git index logic), skips binaries/images, and outputs a formatted Markdown file.

Key Features:

Tree-First: Prints a tree structure at the top so the LLM understands architecture before reading code.

Go-based: Compiles to a single static binary (no npm/pip deps).

Air-Gap Ready: Runs entirely locally.

It’s open source (MIT). I’d love to hear your feedback on the traversal logic or formatting.