Incredible Tool for AI development (local or cloud)

Repomix

My full project:

βœ” Packing completed successfully!

πŸ“ˆ Top 5 Files by Token Count:
──────────────────────────────
1.  packages/accounts-base/accounts_server.js (15,171 tokens, 65,453 chars, 2.1%)
2.  imports/ui/styles/scss/animate/_animate.scss (12,265 tokens, 36,871 chars, 1.7%)
3.  localNpmModules/mui-tel-input/dist/index.d.ts (12,124 tokens, 49,810 chars, 1.7%)
4.  imports/api/collections/server/_Clubs/registrations/methods.js (9,374 tokens, 35,219 chars, 1.3%)
5.  client/main.css (8,601 tokens, 26,410 chars, 1.2%)

πŸ”Ž Security Check:
──────────────────
1 suspicious file(s) detected and excluded from the output:
1. package.json
   - 4 security issues detected

These files have been excluded from the output for security reasons.
Please review these files for potential sensitive information.


πŸ“Š Pack Summary:
────────────────
  Total Files: 972 files
 Total Tokens: 724,851 tokens
  Total Chars: 2,871,474 chars
       Output: repomix-output.xml

At 725k token (including all commented code and junk) there was no way to load it as context to a local LLM. Also not reasonable for a public paid service.

Regenerated only for the server side and fed it into a local model with the prompts from their repo starting from here: GitHub - yamadashy/repomix: πŸ“¦ Repomix 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, DeepSeek, Perplexity, Gemini, Gemma, Llama, Grok, and more.

Man, the quality of the documentation, specs, readme, suggestions for refactoring and improvement are just unbelievable for the 3 minutes I spent on this. Will need to test the … tests and see if they are good too.

Years back, as the small team that I am, it was a good decision not to spend time on TS-ing projects and writing endless tests. These are not human tasks … :slight_smile:

With the xml version of the code I can also ask any questions such as, who has access to …, how do I calculate the VAT, did I restrict the access for the role … to … some resource, any method attempts to insert or update a field that doesn’t exist on the respective DB schema.

1 Like

Interesting, I had a poor experience with claude code opus, good XP with gh copilot and having a great xp with codex
will give a change for this one

Repomix only creates an XML file of the existing code. You can use the file with any environment.

1 Like