MCPInstall
JamPack logo

JamPack

by clicelee 15 stars clicelee/JamPack

Merge multiple code files into a single text file.

READMEmain

JamPack

JamPack icon

JamPack is a lightweight macOS utility that merges any number of code files into a single .txt file — ideal for feeding large projects into AI assistants like ChatGPT, Claude, Gemini, or archiving cleanly.

🔗 Click to download

✅ 100+ Users have downloaded JamPack
According to Google Analytics, JamPack has already helped over a hundred users streamline multi-file workflows for AI tools.


🚀 Why JamPack?

AI models like GPT-4, Claude 3, and Gemini 1.5 have context windows, file limits, and upload caps:

• ChatGPT allows up to 10 files per upload and caps each text file at 2 M tokens1
• Claude lets you attach 20 files per chat and still has a 200 K-token window23
• Even “long-context” models such as Gemini 1.5 (1-2 M tokens)4 or GPT-4o (128 K tokens)5 can choke on large multi-file projects.
JamPack flattens your project into a single, well-labeled text file, keeping filenames as in-file headers so the AI understands each part.

JamPack solves this. It flattens your project into one .txt file while preserving:

  • File structure
  • File names as readable headers
  • Language identity

So AI can still understand what's what — with zero confusion.


✨ Features

  • Drag & Drop multiple source files
  • Reorder files with simple drag handles
  • Exclude unwanted files individually
  • One-click export to a .txt file (named automatically)
  • Streaming-based merge system Efficient even with hundreds or thousands of files
  • Handles large content (gigabyte-scale) with minimal memory
  • Output file is auto-copied to clipboard
  • Choose save location (default: Downloads folder)
  • Instant folder opening after merge
  • Rejects unsupported file types (e.g., images, binaries)

⚙️ How It Works (Tech Details)

JamPack uses a streaming I/O model under the hood:

  • Instead of reading all files into memory at once, it uses FileHandle to process each file in chunks (32KB at a time).
  • This chunked reading and writing prevents memory crashes on large merges.
  • Files are prefixed and suffixed with Markdown-style code blocks (```filename) for readability.
  • The final merged .txt is stored efficiently and copied to your clipboard.
  • You can also automatically open the save folder after export.

This makes JamPack ideal for merging:

  • Large repositories
  • Notebook exports
  • Educational codebases
  • Long chat history logs

📄 Supported Languages

JamPack supports virtually all common code formats:

HTML, CSS, JavaScript, TypeScript, Python, Swift, Java, C, C++, C#, Go, Rust, PHP, Ruby, Kotlin, Lua, SQL, Perl, Scala, Sass, Vue, and more.

⚠️ Unsupported files like images, videos, or binaries are safely rejected.


💾 Installation

  1. Download JamPack.dmg
  2. Open the .dmg
  3. Drag JamPack into your Applications folder
  4. Launch from Launchpad or Spotlight

🖥 Requirements

  • macOS 12 (Monterey) or later

📜 License

MIT


Footnotes

  1. OpenAI Help Center – “File uploads FAQ”
    https://help.openai.com/en/articles/8555545-file-uploads-faq ↩

  2. Anthropic Help Center – “What kinds of documents can I upload to Claude.ai?”
    https://support.anthropic.com/en/articles/8241126-what-kinds-of-documents-can-i-upload-to-claude-ai ↩

  3. Anthropic Help Center – “Maximum prompt length”
    https://support.anthropic.com/en/articles/7996856-what-is-the-maximum-prompt-length ↩

  4. Google AI Developers – “Long context”
    https://ai.google.dev/gemini-api/docs/long-context ↩

  5. OpenAI API Docs – “GPT-4o” model card
    https://platform.openai.com/docs/models/gpt-4o ↩

More Developer Tools MCP servers

Similar servers from the same category.

Sourcebot

sourcebot-dev

Enables code search across multiple repository hosts including GitHub, GitLab, Gitea, Gerrit, and Bitbucket with advanced filtering options for exploring large codebases through natural language queries.

searchgit

CodeAlive

codealive-ai

Provides a bridge to CodeAlive's platform for semantic code search, repository exploration, and context-aware chat completions that leverage deep understanding of entire codebases including documentation and dependencies.

search

Provides a secure, sandboxed environment for executing Python, Node.js, and shell commands in ephemeral containers with file management capabilities for code testing, visualization, and data analysis.

filesystemdatabase

NovaCV

lightbaby

Integrates with NovaCV API to generate, analyze, and convert resumes in various formats without dealing with complex document formatting

PDFSupport+5