Repository navigation
tmpmail 0.2.0
tmpmail 0.2.0 picks a provider from the TUI, works properly on Windows, and is now tested on Linux, macOS and Windows in CI. The crate can also be used as a library.
New
- Provider picker in the TUI: press
Nto choose a provider from a list and create an inbox there (no fallback, liketmpmail new -p). Maildrop is markedpublic.nstill creates one with the usual fallback order. - Library crate: tmpmail's core (providers, stored inboxes, the watcher loop, mail sanitizing) is available as
tmpmail::…. Usetmpmail = { version = "0.2", default-features = false }to leave out the CLI's dependencies (clap, ratatui, qrcode). The API isn't stable yet.
Windows
read --htmlandlinks --openopen the browser through Explorer's default handler when$BROWSERisn't set.watch --notifyshows a PowerShell toast notification.- Tools such as
lessandclip.exeare found throughPATHEXT(less.exeetc.). - The terminal size comes from crossterm, which also works in the Windows console, so long messages open in the pager.
- With no
pagerin the config, no$PAGERand nolessinstalled,readprints the message instead of failing.
Under the hood
- CI runs the tests and an offline run of the release binary on Linux, macOS and Windows, and the daily provider check creates inboxes from all three.
- The provider check (and
scripts/smoke.sh) fails only when every provider is down, since tmpmail falls back to the next one. - The crate is split into a core library and the
tmpmailbinary, behind a defaultclifeature. - The TUI's background polling and push now run on a shared watcher loop (
src/watcher.rs), which the upcoming desktop app also uses. - The crates.io badge in the README is static, and CI checks that it matches
Cargo.toml.
A desktop app is in development in gui/. It is not part of this release.
Install
cargo install tmpmail
cargo binstall tmpmail # prebuilt binary, no compiling
brew install qorvyx/tap/tmpmail # macOS or LinuxOr download a prebuilt binary below: Linux (x86_64, aarch64, fully static), macOS (Intel, Apple silicon) and Windows. Check it against SHA256SUMS, or verify its build attestation:
gh attestation verify tmpmail-0.2.0-x86_64-unknown-linux-musl.tar.gz --repo qorvyx/tmpmail