Technical architecture & tool roles
A partner’s guide to how a document enters fyndAll, becomes searchable and remains readable. Documented baseline: 23 November 2026; not a live infrastructure health check.
One document, several distinct operations
Arrows show principal data flows, not exact network endpoints. Worker/provider links include requests and results. Identity, developer tools and delivery services are detailed below.
1 · Add without filing
Scan, gallery, PDF or incoming share. Each import retains its own identity and owner, including within a batch.
2 · Preserve before reducing
Corrected clients send PDFs without destructive rasterization. The worker preserves native, signed or detected protected-structure PDFs. Only eligible image PDFs enter compression.
3 · Read, then classify
Native text is used where sufficient; otherwise Vision reads relevant pages. Mistral proposes metadata. A naming retry after a 503 reuses text without repeating OCR.
4 · Find and view
Text and metadata power search without an LLM call for each query. The stored file serves viewing and sharing; it is separate from images prepared for OCR.
Delivery is separate from document processing
OVH domain → Cloudflare DNS → the appropriate service. GitHub versions sources; GitHub Pages serves the public site and help. Cloudflare Pages delivers the Web client and administration. Railway runs server workloads. Xcode and Android tooling prepare apps distributed via TestFlight and Google Play. These are separate delivery cycles, not one universal deployment.
Tool inventory
| Tool / service | Role in fyndAll |
|---|---|
| Flutter / Dart | iPhone, iPad, Android and Web application: capture, search, viewing, editing and import coordination. |
| Supabase Auth | Identity and session management; Google/Apple sign-in and explicit linking to the document owner. |
| Supabase PostgreSQL / API / RPC | Metadata, permissions, categories, jobs, events and business rules. Server-side controls isolate owners. |
| Supabase Storage | Private document and asset storage with controlled access; separate from the local vault and off-site backups. |
| Supabase Edge Functions / Deno | Server functions for application operations, checks and selected email workflows. |
| Railway — worker documentaire | Runs the Python/FastAPI service: PDF inspection and eligible optimization, extraction, OCR, naming, classification and asset preparation. |
| Google Cloud Vision | Reads page images when native text is insufficient. Supplies text to downstream processing; not the user search engine. |
| Mistral | Default provider for new analyses for all users: proposes title, type, organization and date from text and relevant context. |
| OpenAI — réserve | Historical integration retained in reserve; no automatic OpenAI fallback when Mistral fails. |
| Resend | Transactional email delivery through server functions: archives, support and account events depending on the workflow. Not document storage. |
| OVHcloud | Management of the fyndall.app domain. DNS delegation to Cloudflare is evidenced by OVH’s 25 June 2026 notice; no OVH application hosting is established here. |
| Cloudflare DNS / Pages | DNS and delivery of the app.fyndall.app Web client; hosting of the internal control center. Separate from the GitHub Pages public site and Railway worker. |
| GitHub / GitHub Actions / Pages | Versions application, worker, administration and website sources. Actions/Pages publish the public site and help; GitHub does not store user documents. |
| Apple / Google — connexion | Identity providers used during sign-in. Separate from OCR, classification and application distribution. |
| Siri / App Intents / dictée | Search entry points on supported devices. Siri collects the query and passes it to fyndAll search; not a generative Mistral search. |
| Scanner natif / bibliothèques PDF | Mobile capture and framing; client libraries for PDF viewing. PyMuPDF and Pillow inspect and prepare PDFs/images in the worker. Components, not hosting providers. |
| Coffre local / stockage sécurisé système | Offline copy on eligible mobile devices: AES-GCM encrypted content and a key protected by device secure storage. No Web vault or additional cloud backup. |
| Railway — sauvegarde planifiée | Separate from document processing: generates and transfers scheduled encrypted backups and journals. A successful run alone does not prove full recovery. |
| age / rclone / Microsoft Graph / OneDrive | age encrypts archives; rclone/Graph transfer them to OneDrive. The private decryption key stays off-server. OneDrive also holds internal references, not the active user library. |
| Docker / Python / FastAPI / Uvicorn | Worker environment and server, deployment images and isolated recovery tests. |
| Xcode / Apple Developer / App Store Connect / TestFlight | iOS/iPadOS compilation, signing and test distribution; external review managed by Apple. |
| Android SDK / Gradle / R8 / Google Play Console | Android build, optimization and closed-track distribution; distribution signing through Play App Signing. |
| Control Center | Internal monitoring, support and diagnostics interface with dedicated permissions. Does not replace the user app or server-side controls. |
| Codex / outils de développement | Development assistance, audits and a periodic monitoring task. Outside the document-processing path; periodic review is not guaranteed continuous monitoring. |
Boundaries and evidence
Quality, size and signatures
The worker retains small PDFs below 1 MiB and protected or uncertain structures. Eligible image PDFs: 2400-pixel target, JPEG 80, no upscaling; savings must reach both 256 KiB and 15%. Scan/gallery/shared-image processing remains unchanged. Preserving signed PDF bytes is not cryptographic verification or certified archival. Explicit page editing may invalidate a signature.
Data entrusted to services
Supabase holds private documents and business data. Railway processes required files. Vision may receive page images; Mistral receives text and relevant context. Resend receives data needed for emails. This server processing is therefore not end-to-end encryption where only the user can read content. No secrets, account identifiers or recovery details are included in this map.
Recovery and monitoring
Import states and recovery mechanisms limit duplicates and unnecessary calls; they do not guarantee freedom from provider errors. Monitoring reviews events, failures and recoveries. Encrypted backups and recovery drills are separate evidence: full restoration and freshness of the off-site copy require separate verification.
Sources and scope
Synthesis of PCD 7.0, JDD 6.16 and index 1.0, Flutter sources, Python worker and Supabase functions. References: document_pdf_optimizer.dart, pdf_preservation.py, document-archive-emails and submit-support-request functions, local release and backup reports. OVH/DNS: 25 June 2026 notification and Cloudflare activation confirmation. Documented roles do not verify contracts, hosting regions or availability on the day of reading.