ResearchLoom (Samhita) Documentation & Wiki

Architecture, Stylus Dynamics, Flow Maps, and Systematic Literature Synthesis


Project maintained by sohamsans Hosted on GitHub Pages — Theme by mattgraham

Architecture & System Overview

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

1. Core Subsystems

A. Frontend Layer (frontend/)

B. Backend Engine (backend/)

C. Android Tablet Native Bridge (frontend/android/)