pdf-brain
π§ Local PDF knowledge base with vector search using libsql w/vectors
File Explorer
- .gitignore
- .local_version
- config.yaml
- issues.jsonl
- metadata.json
- README.md
- config.json
- README.md
- hivemind_find.marker
- hivemind_store.marker
- swarmmail_init.marker
- codeql.yml
- dependency-review.yml
- release-binaries.yml
- CODEOWNERS
- dependabot.yml
- issues.jsonl
- memories.jsonl
- pre-commit
- taxonomy.json
- agentic-cli-roadmap.md
- hdbscan-research.md
- partial-index-strategy.md
- add-compression.ts
- add-concept-embeddings.ts
- backfill-document-concepts.ts
- backfill-summaries.ts
- export-pg16.mjs
- import-pg17.ts
- pglite-to-libsql.ts
- recover-from-json.ts
- regenerate-embeddings.ts
- analyze-tags.ts
- benchmark-vector-search.ts
- bulk-ingest.ts
- compile.sh
- install.sh
- release-binaries.sh
- seed-taxonomy.ts
- setup.sh
- format.ts
- hints.test.ts
- hints.ts
- manifest.ts
- protocol.test.ts
- protocol.ts
- IngestProgress.tsx
- AutoTagger.test.ts
- AutoTagger.ts
- ClusterConceptMapper.test.ts
- ClusterConceptMapper.ts
- Clustering.test.ts
- Clustering.ts
- ClusterSummarizer.test.ts
- ClusterSummarizer.ts
- Database.ts
- DatabaseRegistry.test.ts
- DatabaseRegistry.ts
- EmbeddingProvider.ts
- EmbeddingQueue.test.ts
- EmbeddingQueue.ts
- Gateway.ts
- LibSQLDatabase.test.ts
- LibSQLDatabase.ts
- MarkdownExtractor.test.ts
- MarkdownExtractor.ts
- Migration.test.ts
- Migration.ts
- Ollama.test.ts
- Ollama.ts
- OpenAIEmbedding.test.ts
- OpenAIEmbedding.ts
- PDFExtractor.test.ts
- PDFExtractor.ts
- QdrantDatabase.test.ts
- QdrantDatabase.ts
- TaxonomyService.test.ts
- TaxonomyService.ts
- chunking.ts
- cli.contract.test.ts
- cli.test.ts
- cli.ts
- index.ts
- logger.ts
- types.config.test.ts
- types.test.ts
- types.ts
- updater.ts
- .env
- .gitattributes
- .gitignore
- .ralph-context.json
- .ralph-iterations.jsonl
- .secretlintrc.json
- AGENTS.md
- benchmark-before.json
- bun.lock
- CHANGELOG.md
- LICENSE
- package.json
- prd.json
- progress.txt
- README.md
- SECURITY_SUPPLY_CHAIN.md
- tsconfig.json
# Use via CDN
jsDelivrjsDelivr serves any public GitHub repository as a CDN with zero setup. Pick a version and a file to get a ready-to-paste link and snippet.
Command Glossary
Commands referenced in this DOCs, explained below.
brew install
View Details βΌ
brew install
Install a Homebrew formula or cask.
brew install {{formula|cask}}
Install a formula/cask:
brew install {{[-s|--build-from-source]}} {{formula}}
Build and install a formula from source (dependencies will still be installed from bottles):
brew install {{[-n|--dry-run]}} {{formula|cask}}
Download the manifest, print what would be installed but don't actually install anything:
bun install
View Details βΌ
bun install
Install JavaScript dependencies for a project from `package.json`.
bun {{[i|install]}}
Install all dependencies listed in `package.json`:
bun {{[i|install]}} {{package_name}}@{{version}}
Install a single package (this is an alias for `bun add`):
bun {{[i|install]}} {{[-g|--global]}} {{package_name}}
Install a package globally:
bun run
View Details βΌ
bun run
Execute a JavaScript/TypeScript file, or a script from `package.json`.
bun run {{script_name}}
Run a script defined in `package.json`:
bun run {{path/to/file.ts}}
Run a JavaScript or TypeScript file directly:
bun run --watch {{path/to/file.ts}}
Run a file in "watch" mode (restarts automatically when the file changes):
bun test
View Details βΌ
bun test
Run tests using Bun's built-in test runner.
It is a fast, Jest-compatible test runner that looks for `*.test.ts` (and similar) files.
bun test
Run all test files found in the project:
bun test {{path/to/file.test.ts}}
Run a specific test file or directory:
bun test --watch
Run tests in "watch" mode (re-runs automatically on file changes):
git clone
View Details βΌ
git clone
Clone an existing repository.
git clone {{remote_repository_location}} {{path/to/directory}}
Clone an existing repository into a new directory (the default directory is the repository name):
git clone --recursive {{remote_repository_location}}
Clone an existing repository and its submodules:
git clone {{[-n|--no-checkout]}} {{remote_repository_location}}
Clone only the `.git` directory of an existing repository:
lsof
View Details βΌ
lsof
List open files and the corresponding processes.
Note: Root privileges are required to list files opened by others.
lsof {{path/to/file}}
Find the processes that have a given file open:
lsof -i :{{port}}
Find the process that opened a local internet port:
lsof -t {{path/to/file}}
Only output the process ID (PID):
npm install
View Details βΌ
npm install
Install Node packages.
npm {{[i|install]}}
Install dependencies listed in `package.json`:
npm {{[i|install]}} {{package_name}}@{{version}}
Download a specific version of a package and add it to the list of dependencies in `package.json`:
npm {{[i|install]}} {{package_name}} {{[-D|--save-dev]}}
Download the latest version of a package and add it to the list of dev dependencies in `package.json`:
ollama
View Details βΌ
ollama
A large language model runner.
For a list of available models, see <https://ollama.com/library>.
ollama serve
Start the daemon required to run other commands:
ollama run {{model}}
Run a model and chat with it (will automatically download the model if it's not downloaded):
ollama run {{model}} --think=false "{{prompt}}"
Run a model with a single prompt and thinking turned off:
