๐ฆ
Semantic Bundles
Split by domain (web, api, db) not arbitrary size. Keep related code together.
Bundle your code for LLMs. Get precise answers via ChatGPT, Grok, Gemini.

Pasting raw source code into LLMs doesn't work well.
Context windows fill up fast. Critical code gets cut off.
Lock files, configs, and boilerplate drown out your code.
LLMs struggle with long contexts. Important code gets ignored.
Define semantic bundles. Get indexed, LLM-ready output.
import { defineConfig } from "srcpack";
export default defineConfig({
bundles: {
web: ["app/**", "components/**"],
api: ["server/**", "routes/**"],
db: ["prisma/**", "migrations/**"],
},
});# srcpack: web
# Generated: 2025-01-17
## Files (12 files, 2,847 lines)
| # | File | Lines |
|---|------|-------|
| 1 | app/layout.tsx | 45 |
| 2 | app/page.tsx | 128 |
| 3 | components/Button.tsx | 67 |
...
## Contents
### [1] app/layout.tsx
```tsx
export default function RootLayout...
```Run a single command. Zero configuration required.
npx srcpack