What OneSource does
OneSource bundles a local project into a directory tree and text file blocks for review or AI context. It supports glob filters, ignore rules, reusable profiles, clipboard output, dry-run previews and per-path diagnostics. Normal bundling stays local; installation and self-update contact GitHub.
Suggested reading order
If you are new, install first and complete Getting started. Then choose the topic by the problem you want to solve. Each topic provides its own starting files and steps; you do not need to finish the previous topic. CLI reference remains the place to look up exact types, defaults and command syntax.
All documentation
- Installation — Get the correct executable onto PATH and verify it.
- Getting started — Create a first bundle and inspect what you will share.
- CLI reference — Look up an argument, alias, type or default quickly.
- Filtering files — Include useful files and find why others are excluded.
- Directory tree — Show a broad project map while attaching less content.
- Configuration and profiles — Reuse settings and learn merge versus replacement.
- Diagnose with explain — Diagnose a missing file, fix its rule and verify again.
- Output and statistics — Choose a path or clipboard, then interpret counts and tokens.
- Updating and source builds — Choose the update route appropriate to your installation.
- Troubleshooting and limits — Work from an error to checks, correction and validation.