Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature request: Add include/exclude filter feature #13

Open
doggy8088 opened this issue Nov 12, 2024 · 5 comments
Open

Feature request: Add include/exclude filter feature #13

doggy8088 opened this issue Nov 12, 2024 · 5 comments

Comments

@doggy8088
Copy link

I use https://github.com/Microsoft/generative-ai-for-beginners as an example.

This repo contains translations folder in each chapter. If repo2txt has a feature that can include/exclude files by patterns, that will be awesome! 👍

@abinthomasonline
Copy link
Owner

Are you thinking of a text area where users could specify patterns in a .gitignore-style format?

I could reuse some code from the local version of the tool to parse and exclude files based on gitignore patterns. Dynamically updating the checkboxes could be a bit tricky, though.

Is this along the lines of what you're suggesting, or did you have something else in mind?

@thebobbyboy420
Copy link

i need to exclude node_modules

116.1 MiB (121,788,321)
7,177 files, 654 sub-folders

@abinthomasonline
Copy link
Owner

I'll implement a feature as explained above.
@elogicuk meanwhile you can add a .gitignore file with node_modules in the content root.

@thebobbyboy420
Copy link

I'll implement a feature as explained above. @elogicuk meanwhile you can add a .gitignore file with node_modules in the content root.

already have and its till doing this 👎

image

@abinthomasonline
Copy link
Owner

@elogicuk You still need to click 'Upload,' but only the filtered files will be displayed on the page.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants