Comment

Comment by medunes

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.

parent medunes 8 months ago

Discussion

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton