repo2txt

repo2txt

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

Stars: 703

Visit
 screenshot

The GitHub Repo to Text Converter is a web-based tool that 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. The tool displays the GitHub repository structure, allows users to select files/directories to include, generates a formatted text file, enables copying text to clipboard, supports downloading generated text, and works with private repositories. It ensures data security by running entirely in the browser without server-side processing.

README:

GitHub Repo to Text Converter (Local Directory Supported)

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.

demo.gif

Features

  • 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

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

To do

  • Compile tailwind css (gh action maybe?)
  • python bindings

Contributing

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

License

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

For Tasks:

Click tags to check more tools for each tasks

For Jobs:

Alternative AI tools for repo2txt

Similar Open Source Tools

For similar tasks

For similar jobs