<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>代码压缩 on Text Matrix</title><link>https://txtmix.com/tags/%E4%BB%A3%E7%A0%81%E5%8E%8B%E7%BC%A9/</link><description>Recent content in 代码压缩 on Text Matrix</description><generator>Hugo</generator><language>zh-cn</language><lastBuildDate>Sat, 23 May 2026 08:55:34 +0800</lastBuildDate><atom:link href="https://txtmix.com/tags/%E4%BB%A3%E7%A0%81%E5%8E%8B%E7%BC%A9/index.xml" rel="self" type="application/rss+xml"/><item><title>Repomix：11.4K Stars·代码库压缩成AI友好格式的利器</title><link>https://txtmix.com/posts/tech/repomix-ai-codebase-compression-guide/</link><pubDate>Sun, 12 Apr 2026 01:50:00 +0800</pubDate><guid>https://txtmix.com/posts/tech/repomix-ai-codebase-compression-guide/</guid><description>&lt;h1 id="repomix114k-stars代码库压缩成ai友好格式的利器">Repomix：11.4K Stars·代码库压缩成AI友好格式的利器&lt;/h1>
&lt;h2 id="学习目标">学习目标&lt;/h2>
&lt;ul>
&lt;li>理解 Repomix 的核心概念和使用场景&lt;/li>
&lt;li>掌握 CLI、Web、Web Extension 三种使用方式&lt;/li>
&lt;li>学会配置 repomix.config.json 实现定制化&lt;/li>
&lt;li>了解安全检查和压缩原理&lt;/li>
&lt;li>掌握在 GitHub Actions 中的集成方法&lt;/li>
&lt;li>学会将 Repomix 作为 Library 集成到自己的应用中&lt;/li>
&lt;/ul>
&lt;h2 id="项目概述">项目概述&lt;/h2>
&lt;p>Repomix 是一款强大的代码库压缩工具，能够将整个 Git 仓库打包成对 AI 模型友好的单一文件格式。当需要向 ChatGPT、Claude、DeepSeek、Gemini 等大语言模型提供代码上下文时，Repomix 可以帮助用户快速整理和压缩代码库，避免手动复制粘贴的繁琐。&lt;/p></description></item></channel></rss>