https://repo2txt.simplebasedomain.com/
This web-based tool converts GitHub repository (or local directory) contents into a formatted text file for Large Language Model (LLM) prompts. It streamlines the process of transforming repository data into LLM-friendly input.
- Display GitHub repository structure
- Select files/directories to include
- Filter files by extensions
- Generate formatted text file
- Copy text to clipboard
- Download generated text
- Support for private repositories
- Browser-based for privacy and security
- Download zip of selected files
- Local directory support
- Syntax highlighting for code preview
- Dark mode support
- Mobile responsive design
This tool runs entirely in the browser, ensuring data security without server-side processing.
- Next.js client-side implementation
- Enhanced file filtering options
- Custom formatting templates
- Code snippet highlighting
- Markdown preview support
- File size optimization
- Batch processing capabilities
- Integration with popular Git platforms
- Export in various formats (PDF, MD, TXT)
- Python bindings for programmatic access
# Using Python's built-in server
python -m http.server 8000
# Or using any static file server
Visit http://localhost:8000
in your browser.
Contributions are welcome! Please feel free to submit a Pull Request. Here are some ways you can contribute:
- Bug fixes
- Feature implementations
- Documentation improvements
- UI/UX enhancements
- Test coverage
This project is open source and available under the MIT License.