repomix icon indicating copy to clipboard operation
repomix copied to clipboard

Share Your Experience with Repomix

Open JohnnyBonk opened this issue 1 year ago • 1 comments

Hi everyone! I’m new to coding and rely on Claude for a lot of guidance, so I find Repomix super helpful for providing project context. However, I only want the project structure—not the actual code—because including everything fills up my context window too quickly. Specifically, I need just the directory and file names under project/frontend/ and project/backend/ without going too deep. Is there a command to display this structure at a high level, showing just the folder and file names?

Thanks for the help!

JohnnyBonk avatar Nov 13 '24 16:11 JohnnyBonk

@BinkyTinky Thanks for your feedback from the discussion!

We don't currently have a way to output only the directory structure, but how to effectively pack large projects is something we're actively thinking about for the next steps of Repomix. This is similar to the issue raised here: https://github.com/yamadashy/repomix/issues/164

Just to clarify, are you looking to exclude the contents of files within specific folders like project/frontend/ and project/backend/ while still including the folder and file names? Adding an option for finer control using glob patterns might be a good approach. For example:

{
  "output": {
    "rules": [
      { "pattern": "project/frontend/**/*", "outputContent": false }
    ]
  }
}
```

We're exploring possible solutions.

yamadashy avatar Nov 16 '24 14:11 yamadashy