gh0st

Files & Local Search

Local-first file processing, lexical retrieval, and current CLI encrypted storage

Supported Formats

TypeExtensionsProcessing
Text.txt, .md, .json, .csv, .js, .ts, .py, .html, .css, .xml, .yamlFull text extraction
PDF.pdfText extraction via pdf-parse
Documents.docxText extraction via mammoth
Images.png, .jpg, .webp, .gifBase64 for multimodal

Processing Pipeline

1File read locally (no upload)
2Text extracted (where applicable)
3CLI encrypted with AES-256-GCM
4Stored in CLI encrypted vault
5Chunked for retrieval (1000 tokens, 200 overlap)
6Lexical search index built locally

File Privacy

At rest
CLI AES-256-GCM encrypted; native integration pending
In transit
TLS 1.3 to xAI only
Search index
Local module; CLI encryption path available
xAI transmission
Only selected chunks sent

Lexical Search

  • • Token-based inverted index built locally
  • • No vector database, no embeddings, no external service
  • • Search never leaves your device
  • • Chunk retrieval: 1000 tokens, 200 overlap
  • • CLI encrypted index path; native integration pending