Skip to content

v0.1.3

Choose a tag to compare

@koistya koistya released this 17 Jan 22:31
· 10 commits to main since this release

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.ts for 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 Drive

Configuration

import { defineConfig } from "srcpack";

export default defineConfig({
  bundles: {
    web: "apps/web/**/*",
    api: ["apps/api/**/*", "!**/*.test.ts"],
  },
});