/repo2txt

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

Primary LanguageJavaScriptMIT LicenseMIT

GitHub Repo to Text Converter

https://repo2txt.simplebasedomain.com/

This web-based tool converts GitHub repository contents into a formatted text file for Large Language Model (LLM) prompts. It streamlines the process of transforming repository data into LLM-friendly input.

demo.gif

Features

  • Display GitHub repository structure
  • Select files/directories to include
  • Generate formatted text file
  • Copy text to clipboard
  • Download generated text
  • Support for private repositories
  • Browser-based for privacy and security

This tool runs entirely in the browser, ensuring data security without server-side processing.

To do

  • Filter files by extension
  • Download zip of selected files
  • Support for local directories

Contributing

Contributions are welcome! Please feel free to submit a Pull Request.

License

This project is open source and available under the MIT License.