A Flutter client for smol mail, a minimalist end-to-end encrypted mail protocol.
Find a file
2026-09-29 21:35:02 +03:00
android feat: adopt the sparkle as the app icon and splash 2026-09-29 21:21:59 +03:00
assets feat: adopt the sparkle as the app icon and splash 2026-09-29 21:21:59 +03:00
integration_test test: patrol flows for fetch cancel, rotation and unchanged-key refresh 2026-09-29 21:00:42 +03:00
lib fix: copy the master at each layer so zeroization stays local 2026-09-29 21:00:42 +03:00
linux feat: add Linux desktop build support 2026-09-27 00:09:11 +03:00
native test: patrol flows for fetch cancel, rotation and unchanged-key refresh 2026-09-29 21:00:42 +03:00
test test: patrol flows for fetch cancel, rotation and unchanged-key refresh 2026-09-29 21:00:42 +03:00
.gitignore feat: patrol on-device integration smoke test 2026-09-29 18:19:50 +03:00
.metadata feat: add Linux desktop build support 2026-09-27 00:09:11 +03:00
AI-DECLARATION.md feat: add AI-DECLARATION.md and MIT license badge 2026-09-29 20:35:15 +03:00
analysis_options.yaml feat: replace mail protocol with smolmail and rebuild the UI 2026-09-26 22:45:38 +03:00
devbox.json feat: patrol on-device integration smoke test 2026-09-29 18:19:50 +03:00
devbox.lock feat: patrol on-device integration smoke test 2026-09-29 18:19:50 +03:00
LICENSE.md docs: add copyright line for the smolmail-client derivative work 2026-09-26 22:51:35 +03:00
pubspec.lock feat: patrol on-device integration smoke test 2026-09-29 18:19:50 +03:00
pubspec.yaml feat: adopt the sparkle as the app icon and splash 2026-09-29 21:21:59 +03:00
README.md docs: README refactor 2026-09-29 21:35:02 +03:00

キラキラ kirakira

AI-DECLARATION: copilot License: MIT Powered by Mistral Flutter Forked from flash-mail

A mobile and desktop client for smolmail, a minimalist end-to-end encrypted mail protocol: one Ed25519 identity, five operations, sealed and signed messages over a Noise_NX transport.

kirakira began as FlashMail, a Flutter UI template for a disposable-email app built on mail.tm. Its protocol core is now fumi-core, the Rust library the reference CLI is built on: native/ wraps it into a C ABI and ships it in the APK as libsmol_mail_native.so (SQLite bundled), lib/native/ speaks that ABI over dart:ffi, and lib/smol/ is the thin facade the UI reads. The UI is Material 3 — dark navy and mint green by default, with a matching light theme — built from a single ColorScheme and AppColors extension rather than hardcoded colors per screen.

What it does

  • Create or restore an identity from a 32-byte seed — that's the only secret.
  • Pin a server's key, register or recall an address, then fetch and send sealed mail.
  • Trust-on-first-use for server and contact keys, with rotation support and on-screen warnings for anything unverified.
  • Export/import inbox, sent mail, contacts and server pins as one shareable backup file — never the seed.

Mail, contacts and pinned server keys live in fumi-core's SQLite store, bundled into the native library; the seed, read marks and settings stay app-side in Hive.

Layout

lib/native/        dart:ffi binding: handles, error codes, isolate plumbing
lib/smol/          thin facades over the binding: address, store, client
lib/presentation/  screens, widgets and theme (Riverpod + auto_route)
lib/data/          Riverpod providers
native/            Rust wrapper crate: the C ABI over fumi-core, pinned by rev
integration_test/  Patrol device tests against a live server
test/              store, recall, binding, interop and e2e tests

Run and verify

devbox run build-native-android   # the .so the APK loads — once per Rust change
devbox run analyze
devbox run test
flutter run --flavor prod

test/e2e_test.dart runs a live round-trip against the local bunshin on 127.0.0.1:1961 and skips itself when nothing's listening there. On-device flows are covered by the Patrol suite — devbox run test-integration builds the integration flavor (installed beside the real app, its data cleared between tests) and drives onboarding, registration, fetch cancellation, rotation and the unchanged-key refresh against the same server.

License

MIT — see LICENSE.md.