这是一个基于 WebContainer 技术的在线工具,可以将 GitHub 仓库中的文件转换为单一的 Markdown 文档。
- 🚀 在线转换:无需本地克隆,直接在浏览器中完成转换
- 🎯 灵活筛选:支持使用 glob 模式包含或排除特定文件
- 📝 实时预览:内置 Monaco 编辑器,支持 Markdown 实时预览和编辑
- 💾 一键下载:转换完成后可直接下载 Markdown 文件
- 🔍 文件列表:显示所有已处理的文件清单
- 访问网站,输入 GitHub 仓库的 URL(例如:https://github.com/owner/repo)
- 可选:设置文件包含模式(例如:
**/*.md
仅包含 markdown 文件) - 可选:设置文件排除模式(例如:
**/node_modules/**
排除 node_modules 目录) - 点击"转换"按钮开始处理
- 等待转换完成后,可以:
- 在编辑器中预览和编辑内容
- 点击"下载 Markdown"保存文件
- React + TypeScript
- Ant Design UI 组件库
- Monaco Editor 代码编辑器
- WebContainer API 用于在浏览器中执行 Git 操作
- Isomorphic Git 用于 Git 操作
- Fast Glob 用于文件匹配
- 由于使用了 WebContainer 技术,请确保在支持 SharedArrayBuffer 的现代浏览器中使用
- 建议在 HTTPS 或 localhost 环境下运行
- 对于大型仓库,转换过程可能需要一些时间,请耐心等待
This is an online tool based on WebContainer technology that converts GitHub repository files into a single Markdown document.
- 🚀 Online Conversion: Convert directly in your browser without local cloning
- 🎯 Flexible Filtering: Support glob patterns to include or exclude specific files
- 📝 Real-time Preview: Built-in Monaco editor with Markdown preview and editing
- 💾 One-click Download: Download the converted Markdown file instantly
- 🔍 File List: Display a list of all processed files
- Visit the website and enter a GitHub repository URL (e.g., https://github.com/owner/repo)
- Optional: Set file include patterns (e.g.,
**/*.md
to include only markdown files) - Optional: Set file exclude patterns (e.g.,
**/node_modules/**
to exclude node_modules directory) - Click the "Convert" button to start processing
- After conversion is complete, you can:
- Preview and edit content in the editor
- Click "Download Markdown" to save the file
- React + TypeScript
- Ant Design UI Components
- Monaco Editor
- WebContainer API for browser-based Git operations
- Isomorphic Git for Git operations
- Fast Glob for file matching
- Due to WebContainer technology, please ensure you're using a modern browser that supports SharedArrayBuffer
- The site should be run under HTTPS or localhost environment
- For large repositories, the conversion process may take some time, please be patient