Federico Rinaldi
Selected work

OpenStream, a local-first reader for feeds, YouTube and podcasts

Feeds, YouTube channels and podcasts usually live in three different apps, each with its own account and a server that sees everything you read and listen to.

Client
Open source (MIT)
Role
Design & full build
Period
2026
Stack
Rust, Tauri 2, React, TypeScript, SQLCipher, Vite

Context

People who follow news sites, YouTube channels and podcasts usually juggle three apps. Each one wants an account, and each one runs on a server that knows exactly what you read and listen to.

OpenStream puts all three in one library on your own computer. There is no account and no server: what you read stays in a database encrypted with a passphrase only you know.

Decision

  • Stack: Rust and Tauri 2 for the desktop shell and the backend, React, TypeScript and Vite for the interface. Electron and a mandatory cloud service were ruled out from the start.
  • Storage: a SQLCipher database, encrypted from the first launch. A random data key is wrapped by a key derived from the passphrase with Argon2id; unlocking through the system keychain is optional, and there is never a key in clear on disk.
  • Network: a single Rust client handles every outgoing request. It blocks local and private addresses, protects against DNS rebinding, checks every redirect and caps the size of each feed after decompression. The interface itself makes no network requests.
  • Untrusted content: feed HTML is sanitised and rendered from a syntax tree, and remote images are always blocked, so a sender cannot tell when you read.
  • Process: every choice that touches the stack, security or licences has an architecture decision record, approved before the code. There are twelve so far.

Trade-off

Local-first has a price. There is no sync between computers, and a lost passphrase cannot be recovered: without keychain unlock, the library is gone. Moving to another computer goes through an encrypted backup.

SQLCipher is built with its own copy of OpenSSL instead of each system’s crypto library. Builds take longer and OpenSSL updates come through the project, but there is one configuration to verify on all three systems instead of three.

Outcome

A public beta, 0.1.2, released in November 2026:

  • macOS 12.3+ on Apple Silicon, signed and notarized;
  • Linux as deb, rpm and AppImage;
  • updates installed only when their signature is valid.

The code is MIT licensed: code.federicorinaldi.dev/federico/openstream.