Context
Browsing from a Linux machine with no desktop, while keeping untrusted HTML, CSS and JavaScript away from the host system.
Approach
- Two crates: `metis` (terminal UI with ratatui/crossterm, profiles, SQLite storage, network broker with reqwest and rustls, sandbox control) and `metis-engine` (HTML/CSS layout, forms, QuickJS with a bounded DOM).
- Untrusted pages are parsed in a worker sandboxed with Bubblewrap, without access to the host home or network; rendering stops if the sandbox cannot start.
- Each profile has its own SQLite history, bookmarks and cookies; the cookie policy handles public suffixes, Secure prefixes and SameSite.
- Enforces CSP directives, nonces/hashes and Subresource Integrity, with resource limits (tabs, HTML size, JavaScript heap and time per operation).
Outcome
- Alpha release v0.1.0-alpha.1 with release notes.
- CI, cargo-audit and checks on Ubuntu, Debian, Fedora and Arch are recorded in the repository.
- Python test scripts for security, memory and fuzzing of the sandboxed worker.
- Role
- Sole developer
- Period
- Nov 2026 – Present
- Stack
- RustratatuireqwestrustlsSQLiteQuickJSBubblewrapGitHub Actions