Repomix

Latest version: v0.2.2

Safety actively analyzes 723217 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 1 of 10

0.2.30

This release addresses a file system permission issue and adds support for more flexible configuration formats.

Improvements ⚡

Configuration Flexibility (346, 366)
- Added support for JSON5 in configuration files
- More flexible and developer-friendly configuration format
- Allows comments and trailing commas

Bug Fixes 🐛
File System Handling (372, 374)
- Removed unnecessary write permission check on source directories

How to Update

bash
npm update -g repomix


---

As always, if you encounter any issues or have suggestions, please let us know through our GitHub issues or join our [Discord community](https://discord.gg/wNYzTwZFku) for support.

0.2.29

This release introduces a major new feature for file uploads, along with improvements to library usage and default ignore patterns.

What's New 🚀

Website: File Upload Support (353, 310)
- Added support for uploading ZIP files directly through the web interface (https://repomix.com/)

<img width="962" alt="image" src="https://github.com/user-attachments/assets/58069431-7e45-487b-94df-c3eeb2ef8695" />

Special thanks to PaperBoardOfficial for implementing this significant feature!

Improvements ⚡

Enhanced Default Ignore Patterns (364)
- Improved subdirectory matching in default ignore patterns using `**/`

Library Usage Enhancement (363)
- Added additional exports to support using Repomix as a library

How to Update

bash
npm update -g repomix


---

As always, if you encounter any issues or have suggestions, please let us know through our GitHub issues or join our [Discord community](https://discord.gg/wNYzTwZFku) for support.

0.2.28

This release brings advanced code analysis capabilities through Tree-sitter integration, along with contributions from community members.

What's New 🚀

Code Compression with Tree-sitter (336)
- Added intelligent code compression feature for optimizing LLM prompts
- Implemented language-specific Tree-sitter queries for accurate code parsing
- Supports multiple languages including JavaScript/TypeScript, Python, Rust, Go, C/C++, C, Ruby, Java, PHP, and Swift

> [!NOTE]
> This is an experimental feature that we'll be actively improving based on user feedback and real-world usage
> Known issue: https://github.com/yamadashy/repomix/issues/359

Example
Using compression via CLI:
bash
repomix --compress


Before:
typescript
const calculateTotal = (items: ShoppingItem[]) => {
let total = 0;
for (const item of items) {
total += item.price * item.quantity;
}
return total;
}
interface Item {
name: string;
price: number;
quantity: number;
}


After compression:
typescript
const calculateTotal = (items: ShoppingItem[]) => {
interface Item {


Special thanks to huy-trn for the initial implementation of this feature! His groundwork with Tree-sitter integration laid the foundation for this powerful enhancement to Repomix.

How to Update

bash
npm update -g repomix


---

As always, if you encounter any issues or have suggestions, please let us know through our GitHub issues or join our [Discord community](https://discord.gg/wNYzTwZFku) for support.

0.2.26

This release brings feature enhancements, documentation improvements, and website updates, along with contributions from new community members.

What's New 🚀

Multiple Directory Support (338)
- Added ability to process multiple directories at once

Special thanks to rchatrath7 for implementing this feature!

CLI Quiet Mode Option (347)
- Added new `--quiet` option:
- Disables all stdout output
- Perfect for programmatic usage when using Repomix as a library

Improvements ⚡

Output Enhancement (341, 348)
- Removed generation timestamp for cleaner output
- This change reduces API costs by approximately 20-40% when using OpenAI/Anthropic APIs by preventing cache misses

Special thanks to PaperBoardOfficial for this improvement!

Website Enhancements: Git URL Parsing Support (343)
- Enhanced repository URL parsing capabilities:
- Direct support for branch URLs (`/tree/branch`)
- Direct support for commit URLs (`/commit/hash`)

For more details on remote repository features, see [Remote Repository Processing](https://github.com/yamadashy/repomix?tab=readme-ov-file#remote-repository-processing).

Documentation 📚

Documentation (344, 345)
- Added [German translation](https://repomix.com/de/) for website
- Added local development instructions for website
- Updated supported AI model list (ChatGPT, DeepSeek, Perplexity, Gemini, Gemma, Llama, Grok, and more)
- Improved existing translations

Special thanks to SpyC0der77 for keeping our documentation consistent!

How to Update

bash
npm update -g repomix


---

As always, if you encounter any issues or have suggestions, please let us know through our GitHub issues or join our [Discord community](https://discord.gg/wNYzTwZFku) for support.

0.2.25

This release brings significant improvements to output formatting and introduces flexible remote repository handling capabilities along with enhanced logging features.

Improvements ⚡

Remote Repository Enhancement (335)
- Added branch/tag parsing directly from repository URLs:
bash
repomix --remote https://github.com/yamadashy/repomix/tree/0.1.x

Functions identically to:
bash
repomix --remote https://github.com/yamadashy/repomix --remote-branch 0.1.x


Special thanks to huy-trn for implementing this user-friendly feature!

Enhanced Output Formatting (328, 329, 330)
- Added "End of Codebase" marker for better clarity in output
- Improved output header accuracy:
- Better representation of codebase scope
- Clear indication when using `--include` or `--ignore` options

Special thanks to gitkenan for adding the "End of Codebase" marker and reporting the header issue!

Path Pattern Support (337)
- Added support for special characters in paths:
- Handles parentheses in include patterns (e.g., `src/(categories)/**/*`)
- Improved escaping for `[]` and `{}`
- Essential for Next.js route groups and similar frameworks

Thank you matheuscoelhomalta for improving path pattern support!

How to Update

bash
npm update -g repomix


---

As always, if you encounter any issues or have suggestions, please let us know through our GitHub issues or join our [Discord community](https://discord.gg/wNYzTwZFku) for support.

0.2.24

This release significantly enhances configuration flexibility with comprehensive CLI flag support and expands default ignore patterns for better project scaffolding.

What's New 🚀

CLI Flags Revolution (324)
- New command-line configuration now available.


- `--no-gitignore`: Disable .gitignore file usage
- `--no-default-patterns`: Disable default patterns
- `--header-text <text>`: Custom text to include in the file header
- `--instruction-file-path <path>`: Path to a file containing detailed custom instructions
- `--include-empty-directories`: Include empty directories in the output


Special recognition to massdo for driving ecosystem growth.

Improvements ⚡

Enhanced Ignore Patterns (318, 322)
- Expanded default ignores for Rust projects:
- `target/`, `Cargo.lock`, build artifacts
- PHP, Ruby, Go, Elixir, Haskell: package manager lock files

To boralg for helping curate Rust-specific patterns!

How to Update
bash
npm update -g repomix


---

As always, if you encounter any issues or have suggestions, please let us know through our GitHub issues or join our [Discord community](https://discord.gg/wNYzTwZFku) for support.

Page 1 of 10

© 2025 Safety CLI Cybersecurity Inc. All Rights Reserved.