Repository navigation
v0.1.0a1 - first public pre-release
Pre-release
Pre-release
First public pre-release of Sugo, a local, offline-first tool that converts documents, screenshots and images into compact Markdown for RAG systems and LLMs.
Published on PyPI as sugo-cli — the name sugo was already registered by an unrelated project. The installed command is unaffected: it is still sugo.
pip install sugo-cli
sugo --helpWhat's in this pre-release
- Intermediate representation (IR) and offline token metrics, with provider image-cost baselines.
lite-level image pipeline: safe loading, classifier, preprocessing, offline OCR with hash-checked models, reading-order reconstruction.- Screenshot chat/code detection, UI chrome cleaning and core cleaning decisions.
- Markdown serializer with adaptive tables.
- PDF extraction (PyMuPDF) in an isolated worker, header/footer/page-number removal, and a two-level SQLite page cache.
- Section chunker and Markdown/JSONL (schema v1) exporters.
sugoCLI (stats,clip,doctor) and MCP server (convert_document,estimate_savings).- Text normalisation and tracking-URL cleaners.
- Basic layered TOML configuration.
- Italian interface, with automatic language selection from the system locale.
- Light Office readers (DOCX, XLSX, PPTX, pictures via OCR) and generic XML, each isolated in its own worker process.
- Wider MCP secret exclusions; documents holding private keys are refused.
- Local web UI (
sugo ui): single file, Markdown, tokens, removals, chunks, settings, questions. - Synthetic-corpus and EUR-Lex benchmarks, with results in the README.
Known issues
- OCR is noticeably slower than the other stages on low-end hardware (see the 2010-desktop measurements in
docs/TESTING.md); expected at thelitelevel.
Full details: CHANGELOG.md (pending merge in #47).