DEV Community

sakshsky
sakshsky

Posted on

repomeld ๐Ÿ”ฅ โ€“ Turn Your Entire Repo into One Clean File for AI & Reviews

Tired of copy-pasting dozens of files when talking to AI or doing code reviews?

repomeld fixes that in seconds.

It scans your project, skips all the noise (node_modules, .git, dist, .env, lock files, etc.), and merges everything into one single readable file.

How to Use (Super Simple)

npm install -g repomeld

cd your-project
repomeld
Enter fullscreen mode Exit fullscreen mode

Done. Youโ€™ll get a clean repomeld_output.txt with a Table of Contents and clear file separators.

Best Features

  • AI-Friendly Mode: Use --style markdown to get perfect fenced code blocks for ChatGPT, Claude, Cursor, etc.
  • Auto-numbered outputs (repomeld_output__2.txt, etc.) โ€” never overwrites old files
  • Smart defaults โ€” ignores junk automatically
  • Flexible filtering: --ext, --include, --exclude, --max-size, etc.
  • Dry-run mode to preview first
  • Custom ignores via repomeld.ignore.json

Quick Examples

# Markdown style for AI
repomeld --style markdown --output context.md

# Only TypeScript files
repomeld --ext ts tsx

# Skip tests and large files
repomeld --exclude test --max-size 200
Enter fullscreen mode Exit fullscreen mode

Who It's For

  • Developers feeding large codebases to AI models
  • Teams doing code reviews
  • Freelancers sharing projects quickly

Try it now:

npm install -g repomeld
repomeld --style markdown
Enter fullscreen mode Exit fullscreen mode

โ†’ https://www.npmjs.com/package/repomeld


Built by Susheel โ€” currently open to freelance & full-time opportunities.

Got a project? Reach out: susheelhbti@gmail.com

Top comments (0)