# Sketch to SAP BTP Turn a rough architecture idea into a polished **SAP BTP architecture diagram** in seconds. Feed it either a hand-drawn/whiteboard **sketch (image)** or a **Mermaid diagram**, and it produces a clean draw.io XML diagram (plus an inline SVG preview) styled in SAP's official BTP solution-diagram visual language — complete with an LLM-generated architecture review calling out gaps, risks, and suggestions. ## Two ways in - **Image sketch** — upload a photo or screenshot of a whiteboard sketch; the vision model reads the shapes, labels, and connections and maps them to the matching SAP BTP services/icons. - **Mermaid** — paste a Mermaid diagram and get the same SAP BTP-styled draw.io output without needing to draw anything by hand. Every conversion is saved to a local history so past diagrams and their review notes can be revisited later, exported again, or refined further. ## Access note This app has **no built-in authentication** of its own — access control is handled at the edge (Authentik SSO via the homeserver's forward-auth gate). Anyone who reaches the app through the gate can drive the full pipeline. ## Dependencies Requires a reachable Ollama-compatible LLM endpoint (configured via the "Ollama URL" field) with the configured vision and validator models available. An optional Brandfetch API key enables looking up third-party brand logos for non-SAP components in a diagram.