Architecture, Stylus Dynamics, Flow Maps, and Systematic Literature Synthesis
ResearchLoom is built from the ground up for high-throughput academic discovery, local privacy, and low-latency interaction.
graph TD
UI[Frontend: React 18 + Vite + Tailwind CSS]
Cap[Capacitor 6 Android Native Layer]
FastAPI[Backend: FastAPI + Python 3.12]
Vault[(SQLite Master Reference Vault)]
ExtAPIs[Academic APIs: OpenAlex, arXiv, Semantic Scholar, Unpaywall]
LLM[Multi-Provider LLM: Gemini, Groq, Claude, OpenAI]
UI -->|REST & WebSockets| FastAPI
UI -->|W3C Pointer Events| Cap
Cap -->|Native KeyCode Bridge 92/93| UI
FastAPI -->|Async HTTPX 6 Workers| ExtAPIs
FastAPI -->|Structured Pydantic Extraction| LLM
FastAPI -->|Persistent Storage| Vault
frontend/)#07080a, high contrast typography, zero generic neon gradients).backend/)fitz) slicing targeted introductory and concluding sections up to 8,000 characters to conserve context tokens.frontend/android/)MainActivity.java Hardware Interception:
KEYCODE_PAGE_UP 92, KEYCODE_PAGE_DOWN 93, BUTTON_STYLUS_PRIMARY, BUTTON_STYLUS_SECONDARY).window.handleStylusButton().