mirror of
https://github.com/rickbarrette/simple-aircraft-manager-rails.git
synced 2026-11-17 23:50:36 -05:00
Search inside documents: PDF text, Tesseract OCR for scans (in the image), optional Claude; nightly catch-up
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
2953b9a18d
commit
08ba017c7e
14 files changed
+271
-6
No files matched your search
@@ -43,6 +43,7 @@ If single sign-on is broken and `PASSWORD_LOGIN=false` is set, remove that setti
|
||||
|
||||
- **Uploads**: the largest file anyone can upload. A proxy in front of the app may have its own smaller limit.
|
||||
- **Backups**: how many nightly database copies to keep, on the server and in Google Drive.
|
||||
- **Document search**: read scanned documents with Tesseract (free, on the server) or Claude (better on handwriting, needs `ANTHROPIC_API_KEY`, costs API credit). PDFs with text are read directly either way.
|
||||
|
||||
## About
|
||||
|
||||
|
||||
@@ -6,6 +6,10 @@ The **Documents** tab keeps scans and files: registration, airworthiness certifi
|
||||
- **Bulk upload**: many files at once. Each becomes its own document named after the file; files with the same name are combined, in order, as pages of one document.
|
||||
- **+ Collection** groups documents (for example *Engine logbook* or *Annual 2026*). Collections start collapsed, showing how many documents they hold; click one to open it.
|
||||
|
||||
## Searching inside documents
|
||||
|
||||
The text on each document's pages is read in the background so **Search** can find it: a PDF's own text when it has one, otherwise OCR of the scan (Tesseract, on the server). Printed text reads well; handwriting much less so. An admin can switch scans to Claude (Admin → Settings → Document search), which reads handwriting far better but uses the Anthropic API. New uploads are read within a minute or so; existing documents are caught up overnight.
|
||||
|
||||
## Expiry
|
||||
|
||||
Give a registration, insurance policy or similar an expiration date and it shows on the airworthiness status as it approaches. An expired registration grounds the aircraft (91.203(a)(2)).
|
||||
|
||||
Reference in new issue
Block a user