Skip to content

freenet/freenet-email

Repository files navigation

Freenet Email

A decentralized email client that runs on Freenet — no servers, no accounts, end-to-end encrypted, and rate-limited by Anti-Flood Tokens instead of a central authority.

Messages are stored in per-user inbox contracts on the Freenet network, encrypted with the recipient's RSA public key. The UI is a Dioxus web app served from a signed web-container contract under a deterministic, reproducible contract id.

Status: pre-alpha. The protocol and contract ids will change. Don't use this for anything you'd mind losing.

Try it

  1. Install Freenet. Follow the Freenet quickstart to get a network-connected node running.

  2. Open the webapp in a browser at the published contract id:

    http://127.0.0.1:50509/contract/web/<contract-id>/
    

    The latest committed contract id lives at published-contract/contract-id.txt in this repo. The 50509 port and /contract/web/ path are the defaults for the Freenet HTTP gateway — adjust for your setup.

  3. Create an identity in the app. Your private keys never leave the browser.

  4. Send a message. The first send burns one Anti-Flood Token, minted automatically by your local node.

How it works

Three contracts and a delegate make up the full system:

  • Web container contract — hosts the compiled Dioxus UI. Signed with an ed25519 key committed to test-contract/ for sandbox builds, and with an offline-generated production key for real releases.
  • Inbox contract — one per user. Stores encrypted messages keyed by an RSA public key, with signature verification for ownership.
  • Anti-Flood Token contracts — mint/burn tokens that gate each message send, preventing spam without a central authority.
  • Identity delegate — holds the user's private keys inside the Freenet delegate sandbox, never in the browser's localStorage.

Contributing

See AGENTS.md for the developer guide: build setup, feature-flag matrix, publishing pipeline, Playwright tests, and the manual E2E checklist.

See RELEASING.md for the release runbook.

License

TBD (see Cargo.toml).

About

Decentralized email application built on Freenet

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors