Skip to content

Idea: output only related files command #478

@lord007tn

Description

@lord007tn

Problem:
code bases tend to grow enormously, especially frontend code.
And sometimes you don't need the whole code base to send to LLMS

200K context and even 1M context window aren't enough

Solution:
have a repomix command that tells the repomix to read current directory files and imported files also and bundle them in one codebase

I am expecting to have server/actions/users.ts
This file also imports several functions from apps/utils/users.ts, apps/db/queries/users.ts

The final output will have the code from actions and related files, from utils and associated files from queries

Also have the feature to set a list of files or directories to be always included, no matter what, like ai_instructions.md

I know that this behaviour can be reached by tweaking the include and ignore in the repomix config. But it takes a lot of time to do it each time

Metadata

Metadata

Assignees

Labels

enhancementNew feature or requestneeds discussionIssues needing discussion and a decision to be made before action can be taken

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions