v0.1.3
Initial release of srcpack — a zero-config CLI for bundling code into LLM-optimized context files.
Features
- Semantic bundles — Split by domain (web, api, db) not arbitrary size
- Indexed output — File list with line numbers for easy LLM reference
- Safe defaults — Respects
.gitignore, excludes binaries and secrets - Zero config — Works out of the box, optional
srcpack.config.tsfor customization - Google Drive upload — Sync bundles to Drive for use with ChatGPT, Gemini, etc.
Usage
npx srcpack # Bundle all, upload if configured
npx srcpack web api # Bundle specific bundles only
npx srcpack init # Interactive config setup
npx srcpack login # Authenticate with Google DriveConfiguration
import { defineConfig } from "srcpack";
export default defineConfig({
bundles: {
web: "apps/web/**/*",
api: ["apps/api/**/*", "!**/*.test.ts"],
},
});