Skip to content

Personal

Metis: a terminal web browser

An experimental web browser that runs in the terminal on Linux machines without a desktop, written in Rust.

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

Have a project in mind?

Tell me what you are building. I reply by email, usually within two working days.

Start a conversation