yamadashy / repomix

📦 Repomix (formerly Repopack) is a powerful tool that packs your entire repository into a single, AI-friendly file. Perfect for when you need to feed your codebase to Large Language Models (LLMs) or other AI tools like Claude, ChatGPT, and Gemini.
MIT License
4.36k stars 202 forks source link

How to include empty folders/files in the "Repository Structure" for more context? #161

Open abdallahmansour6 opened 3 weeks ago

abdallahmansour6 commented 3 weeks ago

First, thank you all for your work.

I was expecting the whole project structure to be included in the output file (even for empty folders and files, to give context to the LLM on how the project should evolve or what it should exactly work on).

yamadashy commented 2 weeks ago

@abdallahmansour6 Thanks for the suggestion!

You make a good point about including empty directories in the repository structure - it would indeed provide better context for LLMs about the complete project structure and organization.

I'll work on implementing this feature, likely as something like output.includeEmptyDirectories in the configuration.

Thanks for opening your issue!

iNerdStack commented 2 days ago

@yamadashy, has this been worked on? I am interested in working on it if you haven't or isn't assigned to anyone yet

yamadashy commented 2 days ago

@iNerdStack Thanks for offering to help with this feature! And as always, thank you for your continuous contributions!

I've assigned this issue to you - please feel free to work on it! I made several commits today, so it would be helpful if you could pull the latest main branch before starting.

Let me know if you have any questions about the implementation. Looking forward to your pull request!