← 开源
abinthomasonline

repo2txt

Web-based tool converts GitHub repository contents into a single formatted text file

AI EngineeringPrompt & ScaffoldTypeScript
在 GitHub 打开
增长势头
+124 小时新增 Star+0.1%
1.84k
Star
222
Fork
+1
本周
1
贡献者
创建于 2024-09-23 · 更新于 2026-10-15 · 今日第 5290 名
主要开发者

abinthomasonline/repo2txt 排名第 5,290,有 1,838 个星标。

同类别比较

abinthomasonline/repo2txt 排名第 5,290,此处有 8 个同类条目;AgibotTech/agibot_x1_infer 排名第 5,291。

同类别比较
名称排名指标
ANYbotics/elevation_mapping5,263
语言:
C++
星标数:
1,890
分叉数:
509
简介:
Robot-centric elevation mapping for rough terrain navigation
Kosinkadink/ComfyUI-VideoHelperSuite5,265
语言:
Python
星标数:
1,879
分叉数:
388
简介:
Nodes related to video workflows
YouMind-OpenLab/nano-banana-pro-prompts-recommend-skill5,267
语言:
TypeScript
星标数:
1,878
分叉数:
201
Datus-ai/Datus-agent5,283
语言:
Python
星标数:
1,856
分叉数:
275
AgibotTech/agibot_x1_infer5,291
语言:
C++
星标数:
1,837
分叉数:
539
简介:
The inference module for AgiBot X1.
google-labs-code/stitch-sdk5,295
语言:
TypeScript
星标数:
1,832
分叉数:
134
简介:
Generate UI screens from text prompts and extract their HTML and screenshots programmatically.
Core-Mate/OpenGUI5,299
语言:
HTML
星标数:
1,817
分叉数:
114
简介:
OpenGUI is an Android GUI agent framework for phone-use AI that can see, plan, and operate real mobile apps through the GUI.
Mcp-Brasil/mcp-brasil5,305
语言:
Python
星标数:
1,809
分叉数:
286
简介:
MCP Server para 70 APIs públicas brasileiras
关键参数与规格
关键参数与规格
参数值
语言TypeScript
类别AI Engineering
子类别Prompt & Scaffold
星标数1,838
分叉数222
贡献者1
创建日期2024-09-23
更新日期2026-10-15
1 天星标数1
7 天星标数1
排名5,290
上次排名9,435
排名变化4,145
7 天星标排名9,596
上次 7 天星标排名12,336
7 天星标排名变化2,740
总星标排名6,817
上次总星标排名6,816
总星标排名变化-1
README 摘录

repo2txt 💡 **Looking for the classic version? ** Check out repo2txt-classic **Convert repositories to plain text for LLM prompts** Fast, browser-based tool for AI-assisted development 🔗 **Try it now →** ✨ Features 🔌 Multiple Sources **GitHub** - Public and private repositories with token support **Local Files** - Directory picker for your local projects **Zip Upload** - Drag & drop zip files **GitLab** (Beta) - GitLab repository support **Azure DevOps** (Beta) - Azure Repos integration 🎯 Smart Filtering **Extension Filter** - Select/deselect by file type **Gitignore Support** - Automatically respect . gitignore patterns

**Custom Patterns** - Add your own ignore patterns **Directory Selection** - Cherry-pick specific folders **File Tree Preview** - Visual file selection with virtual scrolling 🚀 Performance **Virtual Scrolling** - Handle repositories with 10,000+ files **Code Splitting** - Lazy-loaded providers for optimal bundle size **Web Workers** - Tokenization runs in background threads **Progressive Loading** - Stream file contents as they load **Smart Caching** - Efficient memory usage for large repos 🎨 Modern UX **Dark Mode** - System, light, and dark themes **Responsive Design** - Works on desktop, tablet, and mobile

**Token Counter** - Real-time GPT token counting **File Statistics** - Per-file token and line counts **Progress Indicators** - Clear feedback during loading 🔒 Privacy First **100% Browser-Based** - No server uploads, all processing is local **No Tracking** - Your code never leaves your device **Secure** - GitHub tokens stored in sessionStorage only **Open Source** - Fully auditable codebase 🚀 Quick Start Use Online Visit abinthomas. Run Locally Build for Production 📖 Usage GitHub Repository 1. Optionally add a personal access token for: Private repositories Higher rate limits

(5000 vs 60 requests/hour) 3. Select files using the tree or extension filters 5. Copy to clipboard or download as **Supported URL formats:** (default branch) Branch names with slashes: ✓ Local Files 1. Select your project folder or upload a zip 4. Same filtering and export options as GitHub 🛠️ Tech Stack **Framework**: React 19 + TypeScript **Build Tool**: Vite 5 **Styling**: Tailwind CSS 3 **State Management**: Zustand **File Handling**: JSZip **Tokenization**: gpt-tokenizer **Virtual Scrolling**: TanStack Virtual **Testing**: Vitest + Playwright **CI

/CD**: GitHub Actions 📊 Project Stats **Bundle Size**: ~330KB main chunk (gzipped) **First Load**: < 2s on 3G **Test Coverage**: 100% E2E test pass rate **Performance**: Lighthouse 95+ across all metrics **Compatibility**: Chrome 90+, Firefox 88+, Safari 14+, Edge 90+ 🤝 Contributing We welcome contributions! md - Development guide and architecture AGENT. md - Detailed design documentation for LLM agents Quick Contribution Guide 📝 License MIT License - see LICENSE for details 🙏 Acknowledgments Built with ❤️ by Abin Thomas Inspired by the need for better LLM context preparation

Thanks to all contributors 🔗 Links **Website**: abinthomas. in/repo2txt **Issues**: GitHub Issues **Discussions**: GitHub Discussions **Changelog**: Releases ⭐ Star History If you find this project helpful, please consider giving it a star!

常见问题

记录了多少星标和分叉?

abinthomasonline/repo2txt 有 1,838 个星标和 222 个分叉。

仓库排名是多少?

abinthomasonline/repo2txt 排名第 5,290。

记录的语言和类别是什么?

abinthomasonline/repo2txt 有 1,838 个星标,语言为 TypeScript,类别为 AI Engineering。

哪个仓库排名最接近?

abinthomasonline/repo2txt 与 AgibotTech/agibot_x1_infer 比较,后者排名第 5,291,有 1,837 个星标。

README

repo2txt

💡 Looking for the classic version? Check out repo2txt-classic

Convert repositories to plain text for LLM prompts Fast, browser-based tool for AI-assisted development

🔗 Try it now →

✨ Features

🔌 Multiple Sources

  • GitHub - Public and private repositories with token support
  • Local Files - Directory picker for your local projects
  • Zip Upload - Drag & drop zip files
  • GitLab (Beta) - GitLab repository support
  • Azure DevOps (Beta) - Azure Repos integration

🎯 Smart Filtering

  • Extension Filter - Select/deselect by file type
  • Gitignore Support - Automatically respect .gitignore patterns
  • Custom Patterns - Add your own ignore patterns
  • Directory Selection - Cherry-pick specific folders
  • File Tree Preview - Visual file selection with virtual scrolling

🚀 Performance

  • Virtual Scrolling - Handle repositories with 10,000+ files
  • Code Splitting - Lazy-loaded providers for optimal bundle size
  • Web Workers - Tokenization runs in background threads
  • Progressive Loading - Stream file contents as they load
  • Smart Caching - Efficient memory usage for large repos

🎨 Modern UX

  • Dark Mode - System, light, and dark themes
  • Responsive Design - Works on desktop, tablet, and mobile
  • Token Counter - Real-time GPT token counting
  • File Statistics - Per-file token and line counts
  • Progress Indicators - Clear feedback during loading

🔒 Privacy First

  • 100% Browser-Based - No server uploads, all processing is local
  • No Tracking - Your code never leaves your device
  • Secure - GitHub tokens stored in sessionStorage only
  • Open Source - Fully auditable codebase

🚀 Quick Start

Use Online

Visit abinthomas.in/repo2txt - no installation needed!

Run Locally

# Clone the repository
git clone https://github.com/abinthomasonline/repo2txt.git
cd repo2txt

# Install dependencies
npm install

# Start dev server
npm run dev

# Open http://localhost:5173/repo2txt/

Build for Production

npm run build
# Output in ./dist folder

📖 Usage

GitHub Repository

  1. Paste a GitHub URL: https://github.com/facebook/react
  2. Optionally add a personal access token for:
    • Private repositories
    • Higher rate limits (5000 vs 60 requests/hour)
  3. Click "Load Repository"
  4. Select files using the tree or extension filters
  5. Click "Generate Output"
  6. Copy to clipboard or download as .txt

Supported URL formats:

  • https://github.com/owner/repo (default branch)
  • https://github.com/owner/repo/tree/branch-name
  • https://github.com/owner/repo/tree/branch-name/path/to/folder
  • Branch names with slashes: feature/test/branch-name ✓

Local Files

  1. Switch to "Local" provider
  2. Choose "Directory" or "Zip File"
  3. Select your project folder or upload a zip
  4. Same filtering and export options as GitHub

🛠️ Tech Stack

  • Framework: React 19 + TypeScript
  • Build Tool: Vite 5
  • Styling: Tailwind CSS 3
  • State Management: Zustand
  • File Handling: JSZip
  • Tokenization: gpt-tokenizer
  • Virtual Scrolling: TanStack Virtual
  • Testing: Vitest + Playwright
  • CI/CD: GitHub Actions

📊 Project Stats

  • Bundle Size: ~330KB main chunk (gzipped)
  • First Load: < 2s on 3G
  • Test Coverage: 100% E2E test pass rate
  • Performance: Lighthouse 95+ across all metrics
  • Compatibility: Chrome 90+, Firefox 88+, Safari 14+, Edge 90+

🤝 Contributing

We welcome contributions! Please see:

Quick Contribution Guide

# Fork and clone
git clone https://github.com/YOUR_USERNAME/repo2txt.git

# Create branch
git checkout -b feature/amazing-feature

# Make changes and test
npm run test:unit
npm run test:e2e

# Commit and push
git commit -m "Add amazing feature"
git push origin feature/amazing-feature

# Open pull request

📝 License

MIT License - see LICENSE for details

🙏 Acknowledgments

  • Built with ❤️ by Abin Thomas
  • Inspired by the need for better LLM context preparation
  • Thanks to all contributors

🔗 Links

⭐ Star History

If you find this project helpful, please consider giving it a star! It helps others discover the tool.


Made with 🤖 for AI developers

排名相邻
同类项目