Skip to content

itsitgroup/repo2txt

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

42 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Repository Inspiration

This repository served as the foundation for Repo2Txt.com, a web-based tool designed to convert code repositories into formatted text files suitable for Large Language Model (LLM) prompts.

We expanded upon this concept to develop:

For more details, visit Repo2Txt.com.

GitHub Repo to Text Converter (Local Directory Supported)

https://repo2txt.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.

About

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

Topics

Resources

License

Stars

Watchers

Forks

Contributors

Languages

  • JavaScript 73.9%
  • HTML 26.1%