InsightOS (Port 8113, standalone cross-platform app with MIT license) turns messy .xlsx, .xlsm, .xls, .ods, .csv, and .tsv workbooks into a private, editable SQLite database application with zero preloaded data, zero graphics-card requirements, and zero silent drops. Every workbook starts clean—streaming large sheets into normalized tables, deduplicating re-imported sheets, unifying multi-year tabs, and exposing a review screen where every type inference, skipped summary row, and table link can be inspected or customized via a manual + Add link… builder. Pair it with the built-in read-only SQL Workbench, live filtered column summaries (Sum · Avg · Min–Max), positive/negative SVG & PNG charts, snapshots/undo, scheduled PDF/Excel reports, and verified double-checked NL-to-SQL backed by Local Ollama by default or opt-in schema-only Cloud AI (OpenAI, Google Gemini, Anthropic Claude, or any OpenAI-compatible API).
.xlsx (row-streaming), .xlsm, .xls, .ods, .csv, and .tsv files into SQLite—separating stacked tables on one sheet, preventing double-counting on re-imports, grouping yearly tabs into unified logical views, deduplicating people across sheets/years, and allowing custom cross-table joins via + Add link… preserved across schema refreshes.POST /api/ws/{ws}/sql) and AI-generated queries run behind three independent locks—a read-only SQLite connection, a database-level authorizer blocking writes and internal bookkeeping tables, and a single-SELECT AST parser with row and timeout caps. Click Edit SQL on any AI answer or Overview card to inspect, modify, re-run, pin, or export immediately.qwen2.5-coder:7b) and background warm-up progress ETA, or connects optionally to OpenAI, Google Gemini, Anthropic Claude, or any OpenAI-compatible endpoint (pure stdlib HTTP, 0600 local key storage, masked API responses). Cloud providers receive only table/column schemas, pick-list values, notes, and your question—never raw table rows or PII..zip workspace bundles, and scheduled PDF/Excel reports across 3 themes (Classic, Midnight, Executive).openpyxl/xlrd/.ods/CSV parser (ingest.py, model.py, store.py, crud.py, reimport.py, snapshots.py)guard.py), deterministic non-LLM query verifier (sqlcheck.py), double-checked query planner & clarifying disambiguation (nlq.py, knowledge.py), stdlib-HTTP Ollama + OpenAI/Gemini/Claude/OpenAI-compatible client (llm.py, appsettings.py)sql.js, ai_settings.js, charts.js, setup.js, data.js, ask.js, overview.js), custom zero-baseline SVG/PNG chart renderer, anomaly scanner (quality.py), Excel/PDF/ZIP bundle exporter & scheduled report engine (exporter.py, reports.py)pytest unit & live-HTTP API tests, 38-check self-test suite (selftest.py), 108-case chart geometry validator, and 7 Node/jsdom front-end journeys (62 steps)Most “chat with your spreadsheet” tools fail in practice for three reasons: they upload raw private rows to external APIs, let LLMs hallucinate column values or silently inflate totals via bad joins, and lock analysts out of inspecting or fixing the underlying SQL. InsightOS separates probabilistic query drafting from deterministic data execution. Spreadsheets are promoted into a real local SQLite schema with full provenance; the model sees only schema metadata and pick-lists; every generated query is validated by deterministic rules and optional second-draft double-checking inside a 3-layer read-only SQLite lock; and analysts can jump straight from any AI answer into the read-only SQL Workbench with one click—keeping data private, auditable, and 100% usable even with zero AI configured.