📦 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.
81 matches across 9 categories. Click a row to expand file-level details.
| Severity | File | Line | Snippet |
|---|---|---|---|
| HIGH | tests/core/treeSitter/parseFile.dart.test.ts | 18 | print('Hello, $name!'); |
| HIGH | tests/core/treeSitter/parseFile.dart.test.ts | 147 | print('walking'); |
| HIGH | tests/core/treeSitter/parseFile.dart.test.ts | 162 | print('nickname is $value'); |
| HIGH | tests/core/treeSitter/parseFile.swift.test.ts | 42 | print("Circle deinitialized") |
| HIGH | tests/core/treeSitter/parseFile.swift.test.ts | 92 | print("Total area: \\(totalArea)") |
| HIGH | tests/core/file/fileManipulate.test.ts | 293 | return True |
| HIGH | tests/core/file/fileManipulate.test.ts | 305 | return True |
| HIGH | tests/core/file/fileManipulate.test.ts | 342 | return True |
| HIGH | tests/core/file/fileManipulate.test.ts | 351 | return True |
| HIGH | tests/core/file/fileManipulate.test.ts | 363 | return True |
| HIGH | tests/core/file/fileManipulate.test.ts | 371 | return True |
| HIGH | tests/core/file/fileManipulate.test.ts | 405 | return True |
| HIGH | tests/core/file/fileManipulate.test.ts | 417 | return True |
| HIGH | tests/core/file/fileManipulate.test.ts | 580 | return True |
| HIGH | tests/core/file/fileManipulate.test.ts | 589 | return True |
| HIGH | tests/core/file/fileManipulate.test.ts | 732 | print('Hello'); |
| HIGH | tests/core/file/fileManipulate.test.ts | 740 | print('Hello'); |
| HIGH | tests/core/file/fileRead.test.ts | 38 | print("Hello, World!") |
| Severity | File | Line | Snippet |
|---|---|---|---|
| LOW | website/server/tests/packEventSchema.test.ts | 1 | import * as v from 'valibot'; |
| LOW | website/server/src/middlewares/turnstile.ts | 41 | isProduction: () => boolean; |
| LOW | website/server/src/middlewares/turnstile.ts | 61 | // - siteverify success: false → 403 with `outcome: turnstile_failed`. |
| LOW | website/server/src/utils/clientInfo.ts | 41 | |
| LOW | website/server/src/actions/packEventSchema.ts | 1 | import * as v from 'valibot'; |
| LOW | website/client/composables/useTurnstile.ts | 1 | import { onBeforeUnmount, ref } from 'vue'; |
| LOW | website/client/composables/useTurnstile.ts | 41 | // copy and the timeout/callback closures verify it before mutating shared |
| LOW | website/client/composables/useTurnstile.ts | 101 | pendingReject(new Error(`Turnstile error: ${errorCode}`)); |
| LOW | website/client/composables/turnstileSubmit.ts | 1 | // Helpers for translating Turnstile token-acquisition outcomes into the |
| LOW | website/client/composables/usePreMintDebounce.ts | 1 | import { onBeforeUnmount, type Ref, watch } from 'vue'; |
| LOW | website/client/composables/useTurnstileTokenCache.ts | 1 | // Token cache for Cloudflare Turnstile. Decoupled from widget lifecycle so |
| LOW | website/client/composables/useTurnstileScript.ts | 21 | size?: 'normal' | 'compact' | 'flexible'; |
| LOW | website/client/.vitepress/config.ts | 1 | import { defineConfig } from 'vitepress'; |
| LOW | website/client/.vitepress/config/configShard.ts | 301 | |
| LOW | website/client/utils/botDetect.ts | 1 | import { isbot } from 'isbot'; |
| LOW | website/client/components/api/client.ts | 61 | } |
| LOW | tests/core/file/dotIgnoreSpec.test.ts | 1 | import fs from 'node:fs/promises'; |
| LOW | tests/core/file/emptyDirectorySpec.test.ts | 1 | import fs from 'node:fs/promises'; |
| LOW | tests/core/file/binaryDetectionSpec.test.ts | 1 | import fs from 'node:fs/promises'; |
| LOW | tests/core/file/processOrderSpec.test.ts | 1 | import { describe, expect, it, vi } from 'vitest'; |
| LOW | tests/core/file/processOrderSpec.test.ts | 61 | output: { showLineNumbers: true }, |
| LOW | tests/core/file/fileRead.test.ts | 141 | // Regression: prior to the UTF-8-first reorder, certain valid-UTF-8 |
| LOW | tests/core/file/fileSearch.gitignoreSpec.test.ts | 1 | import fs from 'node:fs/promises'; |
| LOW | tests/core/security/securityScanSpec.test.ts | 21 | import type { TaskRunner } from '../../../src/shared/processConcurrency.js'; |
| LOW | tests/core/packager/multiRootSpec.test.ts | 21 | // appeared under multiple roots (e.g. `packages/a/README.md` and |
| LOW | tests/testing/vitestSetup.ts | 1 | // Disable the token-count disk cache by default for the entire test suite so |
| LOW | scripts/bench-cores.sh | 1 | #!/bin/bash |
| LOW | src/core/metrics/tokenCountCache.ts | 221 | * cannot leave a torn JSON file. Caller should await this so newly produced |
| LOW | src/core/file/fileRead.ts | 81 | // This halves the number of I/O operations per file. |
| LOW | src/core/security/workers/securityCheckWorker.ts | 1 | import perf_hooks from 'node:perf_hooks'; |
| LOW | src/core/security/workers/securityCheckWorker.ts | 21 | // of pure profiler bookkeeping per worker with zero functional benefit — |
| LOW | src/core/security/workers/securityCheckWorker.ts | 41 | // other code in the main process that relies on the Node built-in. By |
| Severity | File | Line | Snippet |
|---|---|---|---|
| LOW | website/server/src/middlewares/cloudflareGuard.ts | 15 | export function cloudflareGuardMiddleware() { |
| LOW | website/server/src/middlewares/cloudflareGuard.ts | 16 | return async function cloudflareGuardMiddleware(c: Context, next: Next) { |
| LOW | website/client/composables/useTurnstileTokenCache.ts | 34 | export function createTurnstileTokenCache(mint: () => Promise<string>): TurnstileTokenCache { |
| LOW | website/client/components/Home/TryIt.vue | 201 | function updateUrlFromCurrentState() { |
| LOW | website/client/components/Home/TryItPackOptions.vue | 43 | function handleIncludePatternsUpdate(patterns: string) { |
| LOW | website/client/components/Home/TryItPackOptions.vue | 49 | function handleIgnorePatternsUpdate(patterns: string) { |
| LOW | website/client/components/Home/TryItPackOptions.vue | 61 | function handleDirectoryStructureToggle(enabled: boolean) { |
| LOW | website/client/components/Home/TryItPackOptions.vue | 67 | function handleRemoveCommentsToggle(enabled: boolean) { |
| LOW | website/client/components/Home/TryItPackOptions.vue | 73 | function handleRemoveEmptyLinesToggle(enabled: boolean) { |
| LOW | website/client/components/Home/TryItPackOptions.vue | 79 | function handleShowLineNumbersToggle(enabled: boolean) { |
| LOW | website/client/components/Home/TryItPackOptions.vue | 85 | function handleOutputParsableToggle(enabled: boolean) { |
| LOW | …src/vi/guide/development/using-repomix-as-a-library.md | 228 | async function processAndModifyOutput() { |
| LOW | browser/entrypoints/content.ts | 23 | function isRepomixButtonAlreadyExists(): boolean { |
| LOW | src/core/treeSitter/languageConfig.ts | 220 | export function getLanguageConfigByExtension(extension: string): LanguageConfig | undefined { |
| LOW | src/mcp/tools/attachPackedOutputTool.ts | 184 | function extractFileMetricsMarkdown(content: string): { filePaths: string[]; fileCharCounts: Record<string, number> } { |
| Severity | File | Line | Snippet |
|---|---|---|---|
| LOW | src/core/skill/packSkill.ts | 218 | // Step 1: Generate skill references (summary, structure, files, tech-stacks) |
| LOW | src/core/skill/packSkill.ts | 237 | // Step 2: Calculate metrics from files section to get accurate token count |
| LOW | src/core/skill/packSkill.ts | 249 | // Step 3: Generate SKILL.md with accurate token count |
| LOW | src/cli/actions/initAction.ts | 23 | // Step 1: Ask if user wants to create a config file |
| LOW | src/cli/actions/initAction.ts | 26 | // Step 2: Ask if user wants to create a .repomixignore file |
| LOW | src/cli/prompts/skillPrompts.ts | 53 | // Step 1: Ask for skill location |
| LOW | src/cli/prompts/skillPrompts.ts | 77 | // Step 2: Check if directory exists and ask for overwrite |
| Severity | File | Line | Snippet |
|---|---|---|---|
| MEDIUM | .github/workflows/benchmark.yml | 116 | # Run comprehensive memory test |
| MEDIUM | src/core/git/gitLogHandle.ts | 7 | // Null character used as record separator in git log output for robust parsing |
| MEDIUM | src/core/git/gitLogHandle.ts | 33 | // This is more robust than splitting by double newlines, as commit messages may contain newlines |
| Severity | File | Line | Snippet |
|---|---|---|---|
| MEDIUM | tests/core/treeSitter/parseFile.ruby.test.ts | 38 | # Create a module method |
| MEDIUM | tests/core/treeSitter/parseFile.ruby.test.ts | 48 | # Create a user and greet |
| Severity | File | Line | Snippet |
|---|---|---|---|
| HIGH | .agents/agents/reviewer-code-quality.md | 79 | - **Do not flag**: Formatting, style, import ordering, naming conventions (unless genuinely misleading), TODOs (unless i |
| Severity | File | Line | Snippet |
|---|---|---|---|
| LOW | website/client/src/hi/guide/custom-instructions.md | 136 | { "id": 1, "name": "John Doe" }, |
| LOW | tests/mcp/tools/grepRepomixOutputTool.test.ts | 286 | expect(matches[0].line).toBe('user@example.com'); |
| Severity | File | Line | Snippet |
|---|---|---|---|
| LOW | scripts/bench-cores.sh | 5 | # Usage: |