Skip to main content

fats/
lib.rs

1//! `fats`: web pages and documents → small, clean, cached Markdown for AI agents.
2//! Module map (one crate for now): lang (argv + the only printer) · html (html5ever → node arena) · clean (prune, loss
3//! guard, doc; `kind_of` = what a body is) · text (text documents) · pdf (PDF text, page budget) · setup (the key menu
4//! and the local key form) · provider (plain, Bright Data, Oxylabs, Decodo) · fetch (router, content check) · outline
5//! (sections, reads) · search (filter ladder) · cache (ids, sessions, snapshots) · stats (status, stats, config, dry) ·
6//! cli (dispatch) · mcp (`fats mcp`, one tool) · settings (every knob + source) · tables (generated data) · telemetry
7//! (notice, update check, weekly counts).
8
9#![forbid(unsafe_code)]
10
11pub mod cache;
12pub mod clean;
13pub mod cli;
14pub mod fetch;
15pub mod html;
16pub mod lang;
17pub mod mcp;
18pub mod outline;
19pub mod pdf;
20pub mod provider;
21#[cfg(test)]
22mod scratch;
23pub mod search;
24pub mod settings;
25pub mod setup;
26pub mod stats;
27pub mod tables;
28pub mod telemetry;
29pub mod text;