[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"project-115802":3},{"id":4,"name":5,"fullName":6,"owner":7,"repo":5,"description":8,"homepage":9,"htmlUrl":10,"language":11,"languages":10,"totalLinesOfCode":10,"stars":12,"forks":13,"watchers":14,"openIssues":15,"contributorsCount":16,"subscribersCount":16,"size":16,"stars1d":17,"stars7d":18,"stars30d":18,"stars90d":16,"forks30d":16,"starsTrendScore":19,"compositeScore":20,"rankGlobal":10,"rankLanguage":10,"license":21,"archived":22,"fork":22,"defaultBranch":23,"hasWiki":22,"hasPages":22,"topics":24,"createdAt":10,"pushedAt":33,"updatedAt":34,"readmeContent":35,"aiSummary":36,"trendingCount":16,"starSnapshotCount":16,"syncStatus":37,"lastSyncTime":38,"discoverSource":39},115802,"openwren","VinceGHER\u002Fopenwren","VinceGHER","A modern, fast, privacy-first email client that keeps your mail on your computer. Free and open source, for Linux, macOS and Windows. Built with Rust and React.","https:\u002F\u002Fopenwren.app",null,"TypeScript",189,17,1,4,0,13,134,49,93.77,"Apache License 2.0",false,"main",[25,26,27,28,29,30,31,32],"email","gmail","imap","linux","mail-client","privacy","rust","tauri","2026-11-23 20:41:19","2026-11-23 17:22:22","\u003Cp align=\"center\">\n  \u003Cimg src=\"docs\u002Fcover.png\" alt=\"OpenWren: mail that stays yours. A modern, privacy-first, open-source mail app, built with Rust and React.\">\n\u003C\u002Fp>\n\n# OpenWren\n\nA modern, fast, privacy-first mail app that keeps your mail on your computer. Free\nand open source, for [Linux, Windows and macOS](https:\u002F\u002Fopenwren.app\u002Fdownload\u002F).\nIt is built with **Rust** (the engine: sync, search, encryption) and **React**\n(the interface), which makes it small and fast: a 14 MB download that starts in\nabout half a second.\n\nGmail and any IMAP account, one inbox for all of them, search that reaches back\nyears, and protection against trackers and phishing built in.\n\n**If you like it, please star it.** It is the simplest way to help the project\nget found.\nIf you rely on it, you can also [sponsor it](https:\u002F\u002Fgithub.com\u002Fsponsors\u002FVinceGHER):\nit keeps OpenWren free and maintained.\n\n\u003Ca href=\"https:\u002F\u002Fwww.star-history.com\u002F?repos=vincegher%2Fopenwren&type=date&legend=top-left\">\n \u003Cpicture>\n   \u003Csource media=\"(prefers-color-scheme: dark)\" srcset=\"https:\u002F\u002Fapi.star-history.com\u002Fchart?repos=vincegher\u002Fopenwren&type=date&theme=dark&legend=top-left\" \u002F>\n   \u003Csource media=\"(prefers-color-scheme: light)\" srcset=\"https:\u002F\u002Fapi.star-history.com\u002Fchart?repos=vincegher\u002Fopenwren&type=date&legend=top-left\" \u002F>\n   \u003Cimg alt=\"Star history chart\" src=\"https:\u002F\u002Fapi.star-history.com\u002Fchart?repos=vincegher\u002Fopenwren&type=date&legend=top-left\" \u002F>\n \u003C\u002Fpicture>\n\u003C\u002Fa>\n\n| Light | Dark |\n| --- | --- |\n| ![The inbox with a message open](docs\u002Finbox.png) | ![The inbox in the dark theme](docs\u002Finbox-dark.png) |\n\n## Why OpenWren\n\n- **Free.** No price, no account with us, no ads.\n- **Open source.** Apache-2.0. Every line is public: read it, build it, fork it.\n- **Built because I could not find a mail app for Linux that I liked.** I wanted\n  something modern, fast and private, so I wrote it.\n- **Private.** Mail is stored encrypted on your computer. Trackers are removed\n  and suspicious mail is flagged before you click.\n\n## Fast\n\nMeasured on this project's own benchmarks, on an encrypted mailbox of 200,000\nmessages (Intel Core Ultra 7 155H laptop, Ubuntu 26.04):\n\n| | |\n| --- | --- |\n| Start the app until the inbox is on screen | **0.6 s** |\n| Open a folder | **0.1 ms** |\n| Open a message | **0.05 ms** |\n| Search for a word found in a few hundred messages | **30 ms** |\n| Search for a word found in most of the mailbox | 185 ms |\n| Sync from a local server | 2,750 headers and 540 message texts per second |\n| Processor use while idle in the tray | 0.2% of one core |\n| Memory with the inbox open | 288 MB, mostly the system web view |\n| Download | 14 MB |\n\nFolder and message times are the database work in the Rust engine; drawing\nthem on screen comes on top. Start-up, memory and idle use were measured on a\n50,000-message mailbox.\n\nMethod, all numbers and how to rerun them: [docs\u002Fbenchmarks.md](docs\u002Fbenchmarks.md).\n\n## Install\n\nOpenWren runs on Linux, Windows and macOS. The same\nsteps, with copy buttons, are on the [download page](https:\u002F\u002Fopenwren.app\u002Fdownload\u002F).\n\n### Linux\n\nThe apt and dnf repositories deliver updates through your normal system\nupdates, and OpenWren tells you when a new version is out.\n\n**Debian, Ubuntu and derivatives**\n\n```bash\ncurl -fsSL https:\u002F\u002Fpackages.openwren.app\u002Fkey.gpg | sudo tee \u002Fusr\u002Fshare\u002Fkeyrings\u002Fopenwren.gpg > \u002Fdev\u002Fnull\n```\n\n```bash\necho \"deb [arch=amd64 signed-by=\u002Fusr\u002Fshare\u002Fkeyrings\u002Fopenwren.gpg] https:\u002F\u002Fpackages.openwren.app\u002Fapt stable main\" | sudo tee \u002Fetc\u002Fapt\u002Fsources.list.d\u002Fopenwren.list\n```\n\n```bash\nsudo apt update && sudo apt install openwren\n```\n\n**Fedora and other dnf systems**\n\n```bash\nsudo curl -fsSL -o \u002Fetc\u002Fyum.repos.d\u002Fopenwren.repo https:\u002F\u002Fpackages.openwren.app\u002Frpm\u002Fopenwren.repo\n```\n\n```bash\nsudo dnf install openwren\n```\n\n**AppImage:** download [OpenWren-linux-x86_64.AppImage](https:\u002F\u002Fpackages.openwren.app\u002Flatest\u002FOpenWren-linux-x86_64.AppImage), make it executable and run it. It updates itself from inside the app.\n\nThe repositories are signed with the OpenWren key, fingerprint\n`8991 7136 148C 9676 F3A5 1B21 4B8A FB6E 4238 18E0`.\n\n### Windows\n\nFor 64-bit Windows 10 and 11. Tested on Windows 11.\n\n1. Download [OpenWren-windows-x64-setup.exe](https:\u002F\u002Fpackages.openwren.app\u002Flatest\u002FOpenWren-windows-x64-setup.exe) and run it.\n2. The installer is not signed with a certificate yet, so Windows may show\n   \"Windows protected your PC\": choose **More info**, then **Run anyway**.\n3. Follow the installer. It installs for your user only and needs no\n   administrator rights.\n\nOpenWren tells you when a new version is out and installs it for you.\n\n### macOS\n\nFor all Macs, Apple silicon and Intel, with macOS 11 or later. Tested on\nmacOS 14 with an Intel processor; not yet tried on Apple silicon.\n\n1. Download [OpenWren-macos-universal.dmg](https:\u002F\u002Fpackages.openwren.app\u002Flatest\u002FOpenWren-macos-universal.dmg), open it and drag OpenWren into Applications.\n2. Open OpenWren. The app is not signed with an Apple certificate yet, so\n   macOS refuses the first time (\"cannot be opened because Apple cannot check\n   it for malicious software\"). Click **OK**.\n3. Open Terminal, run this once, and open OpenWren again:\n\n```bash\nxattr -cr \u002FApplications\u002FOpenWren.app\n```\n\nOpenWren tells you when a new version is out and installs it for you.\n\nChecksums of the Windows and macOS files:\n[SHA256SUMS](https:\u002F\u002Fpackages.openwren.app\u002Flatest\u002FSHA256SUMS).\n\n### Build from source\n\nOn Linux you need Node.js 22 or later with pnpm, Rust 1.77 or later, and Tauri's Linux libraries:\n\n```bash\nsudo apt install -y rustc cargo libwebkit2gtk-4.1-dev libgtk-3-dev libayatana-appindicator3-dev librsvg2-dev libssl-dev libxdo-dev pkg-config\n```\n\n```bash\npnpm install\n```\n\n```bash\npnpm tauri build --bundles deb\n```\n\nThe package lands in `src-tauri\u002Ftarget\u002Frelease\u002Fbundle\u002Fdeb\u002F`. To add the app to\nyour menu without installing the package, run `sh scripts\u002Finstall-launcher.sh`.\n\n## Uninstall\n\nRemoving the package takes away the program, its menu entry and its icons:\n\n```bash\nsudo apt remove openwren\n```\n\n```bash\nsudo dnf remove openwren\n```\n\nLike other Linux apps, this leaves your own data in place, so that a reinstall\nfinds your accounts and mail again. To remove everything, quit OpenWren first\n(tray icon → Quit), then delete these three things.\n\n| What | Where | Remove it with |\n| --- | --- | --- |\n| Downloaded mail, search index, drafts and settings (the encrypted database) | `~\u002F.local\u002Fshare\u002Forg.openwren.app\u002F` | `rm -rf ~\u002F.local\u002Fshare\u002Forg.openwren.app` |\n| The start-at-login entry | `~\u002F.config\u002Fautostart\u002Fopenwren.desktop` | `rm -f ~\u002F.config\u002Fautostart\u002Fopenwren.desktop` |\n| Account passwords and the database key | The system keyring, under the name \"OpenWren\" | `secret-tool clear service OpenWren` |\n\n`secret-tool` is in the package `libsecret-tools` (Debian, Ubuntu) or\n`libsecret` (Fedora). Without it, open \"Passwords and Keys\", search for\n\"OpenWren\" and delete the entries.\n\nThis deletes only the copy on this computer: your mail stays on your mail\nservers. The database cannot be read without the key from the keyring, so once\nthe keyring entries are gone a leftover database file is unreadable anyway.\n\nIf you ran `scripts\u002Finstall-launcher.sh` from a source checkout, undo it with\n`sh scripts\u002Finstall-launcher.sh remove`.\n\n## Adding your mail\n\n- **Gmail:** choose Google, then follow the three steps to create an app\n  password in your Google account (it needs 2-step verification). Advanced:\n  sign in with Google using your own OAuth client ID.\n- **Any other account:** enter your address and password; the server names are\n  guessed from the address and can be corrected.\n\nPasswords are stored in the system keyring, never in OpenWren's files.\n\n## Features\n\n\u003Ctable>\n\u003Ctr>\n\u003Ctd width=\"46%\">\u003Cimg src=\"docs\u002Ffeatures\u002Faccounts.png\" alt=\"The sidebar with All inboxes and three accounts\">\u003C\u002Ftd>\n\u003Ctd>\n\n**All your accounts, one inbox**\n\nGmail and any IMAP account side by side. \"All inboxes\" shows every account's mail together; star the folders you use most to keep them at the top.\n\n\u003C\u002Ftd>\n\u003C\u002Ftr>\n\u003Ctr>\n\u003Ctd width=\"46%\">\u003Cimg src=\"docs\u002Ffeatures\u002Fsearch.png\" alt=\"Search results for the word invoice with filter chips\">\u003C\u002Ftd>\n\u003Ctd>\n\n**Search that reaches back years**\n\nEvery message is indexed on your computer, however old. Narrow by account, attachment or date, or type `from:`, `subject:`, `has:attachment`, `before:2024-01-31`. Text that is not downloaded yet can be searched on the server.\n\n\u003C\u002Ftd>\n\u003C\u002Ftr>\n\u003Ctr>\n\u003Ctd width=\"46%\">\u003Cimg src=\"docs\u002Ffeatures\u002Fphishing.png\" alt=\"A message with a warning listing three reasons it is suspicious\">\u003C\u002Ftd>\n\u003Ctd>\n\n**Warns you before you click**\n\nA message is flagged when your mail server could not confirm the sender, when the name claims to be a company the address does not belong to, when a link shows one site but leads to another, or when an address imitates a known one with look-alike letters. One click blocks the sender.\n\n\u003C\u002Ftd>\n\u003C\u002Ftr>\n\u003Ctr>\n\u003Ctd width=\"46%\">\u003Cimg src=\"docs\u002Ffeatures\u002Ftrackers.png\" alt=\"A mailing with trackers removed and an Unsubscribe button\">\u003C\u002Ftd>\n\u003Ctd>\n\n**Removes trackers, offers unsubscribe**\n\nHidden images that report when you open a message are removed, and tracking codes are stripped from links. Pictures from the internet load only when you ask. Mailings get an Unsubscribe button that sends the request for you.\n\n\u003C\u002Ftd>\n\u003C\u002Ftr>\n\u003Ctr>\n\u003Ctd width=\"46%\">\u003Cimg src=\"docs\u002Ffeatures\u002Fwriting.png\" alt=\"The composer with a message being written\">\u003C\u002Ftd>\n\u003Ctd>\n\n**Write with less friction**\n\nRich text, signatures (with a picture if you like), attachments, send later, and a few seconds to undo a send. Drafts are saved as you type and kept on the server. A quick reply box sits under every message.\n\n\u003C\u002Ftd>\n\u003C\u002Ftr>\n\u003Ctr>\n\u003Ctd width=\"46%\">\u003Cimg src=\"docs\u002Ffeatures\u002Forganise.png\" alt=\"The more menu with Move to, colour categories, flag, pin and block\">\u003C\u002Ftd>\n\u003Ctd>\n\n**Keep on top of it**\n\nArchive, delete and snooze are one click. Move by menu or by dragging onto a folder, mark with colours, pin, flag, set rules for new mail, and undo any of it.\n\n\u003C\u002Ftd>\n\u003C\u002Ftr>\n\u003Ctr>\n\u003Ctd width=\"46%\">\u003Cimg src=\"docs\u002Ffeatures\u002Fprivacy.png\" alt=\"The Privacy page in Settings\">\u003C\u002Ftd>\n\u003Ctd>\n\n**Private, and you can check**\n\nMail is stored in an encrypted database; passwords stay in the system keyring. Every protection has a switch, and the two requests OpenWren makes for itself, the daily usage count and the check for a new version, can both be switched off.\n\n\u003C\u002Ftd>\n\u003C\u002Ftr>\n\u003Ctr>\n\u003Ctd width=\"46%\">\u003Cimg src=\"docs\u002Ffeatures\u002F..\u002Fwelcome.png\" alt=\"The welcome screen\">\u003C\u002Ftd>\n\u003Ctd>\n\n**Set up in a minute**\n\nA short welcome adds your first account and lets you pick the theme, text size and time format. Light and dark themes, three fonts, and a tray icon that keeps new-mail notifications coming.\n\n\u003C\u002Ftd>\n\u003C\u002Ftr>\n\u003C\u002Ftable>\n\n## Privacy\n\nOpenWren has no server of its own that sees your mail. It talks to your mail\nservers, and to nobody else unless you ask (showing remote images, signing in\nwith Google, unsubscribing).\n\nTwo requests go to the project itself, both set in Settings → Privacy:\n\n- **Anonymous usage count**, only if you choose it. Once a day the app sends\n  one request so the project can count how many people use it. It carries the\n  app version, the kind of package and system, and nothing that identifies you;\n  the server keeps only totals. The welcome screen asks, with neither answer\n  picked in advance, and nothing is sent until you say yes.\n- **Looking for a new version**, on unless switched off. A few times a day the app downloads one small\n  public file from `packages.openwren.app` that names the newest version. The\n  request carries nothing about you or your computer, not even the version you\n  have.\n\nEvery request the app makes is listed in [PRIVACY.md](PRIVACY.md).\n\n## Built with\n\n| Part | What it does | Why |\n| --- | --- | --- |\n| **Rust** | The engine: sync, parsing, search, sending, encryption | Memory-safe and fast, with no pauses for garbage collection |\n| **Tauri 2** | The window, using the system's WebKitGTK | No bundled browser engine, so the download is about 14 MB |\n| **SQLite + SQLCipher + FTS5** | Local storage, encrypted, with full-text search | One file, no database server, search that stays quick on large mailboxes |\n| **tokio, async-imap, lettre, mail-parser, ammonia, rustls, keyring** | Mail protocols, parsing, HTML cleaning, TLS, credentials | Small, focused Rust libraries |\n| **React 19, TypeScript, Vite, Tailwind CSS 4, zustand, TipTap** | The interface | Quick to build and change |\n\n## How it works\n\nThe interface never touches the network or the database. It calls commands in\nthe Rust engine and listens for events; everything it shows is read from the\nlocal database, which is why lists and messages appear at once.\n\nFor each account a background task keeps that database in step with the server:\n\n1. Send the changes you made (moves, flags, drafts), queued if you were offline.\n2. Fetch the folder list, then every folder's headers and flags, inbox first.\n3. Download the text of the newest messages straight away, the rest in the background.\n4. Wait for the server to announce new mail (IMAP IDLE), which arrives within a second or two.\n\nMail HTML is sanitised in Rust, then shown in a sandboxed frame with scripts off\nand network access blocked until you choose \"Show images\".\n\n```\nsrc\u002F                 interface (React, TypeScript)\n  backend\u002F           the only place that calls the engine; sample mail for `pnpm dev`\n  features\u002F          screens: folders, list, reading pane, composer, settings, welcome\nsrc-tauri\u002Fsrc\u002F       engine (Rust)\n  lib.rs             commands the interface calls, background tasks\n  sync.rs imap.rs    keeping the local database in step with the server\n  db.rs              all the SQL\n  parse.rs           reading and cleaning mail\n  smtp.rs oauth.rs   sending, Google sign-in\nstats\u002F               the usage counter (Cloudflare Worker)\nwebsite\u002F             openwren.app (Astro)\n```\n\n## Tests\n\n```bash\npnpm typecheck && pnpm test\n```\n\n```bash\ncargo test --manifest-path src-tauri\u002FCargo.toml\n```\n\nThe end-to-end tests run against a local Dovecot mail server (needs Docker):\n\n```bash\nsh tests\u002Fmail-server.sh\n```\n\n```bash\nOPENWREN_TEST_IMAP=127.0.0.1:3143 OPENWREN_TEST_SMTP=127.0.0.1:3025 cargo test --manifest-path src-tauri\u002FCargo.toml\n```\n\n`pnpm dev` runs the interface in a browser on sample mail, with no mail server\nand no desktop app. `node scripts\u002Fscreenshots.mjs` takes every picture in this\nREADME from it, including the cover.\n\n## Contributing\n\nBug reports, fixes and ideas are welcome. See [CONTRIBUTING.md](CONTRIBUTING.md)\nfor how to build, test and send a change, and [SECURITY.md](SECURITY.md) for\nreporting a vulnerability privately.\n\n## Known limits\n\n- Windows and macOS are newer than Linux and less tested: Windows was tried on\n  Windows 11, macOS on an Intel Mac only. Their installers are not signed with\n  a certificate yet, so both systems warn on first start.\n- One-click \"Sign in with Google\" for everyone needs Google's approval of the\n  app, which has not been requested yet. Until then Gmail uses an app password.\n- Categories, pins and snoozes are stored on this computer, not on the server.\n- Server-side search understands plain ASCII words only.\n- HTML mail is always shown on a white background, also in the dark theme.\n- Blocking a sender moves their mail when OpenWren syncs, so it only works while the app runs.\n- No Flatpak yet.\n\n## Licence\n\n[Apache-2.0](LICENSE). The name \"OpenWren\" and the logo are not covered by it;\nsee [TRADEMARKS.md](TRADEMARKS.md). Third-party components are listed in\n[THIRD-PARTY-NOTICES.md](THIRD-PARTY-NOTICES.md).\n","OpenWren 是一款现代、快速且注重隐私的开源桌面邮件客户端，将所有邮件本地加密存储于用户设备中，不依赖云端服务器。核心功能包括多账户统一收件箱（支持 Gmail 和标准 IMAP）、毫秒级本地搜索（可检索数年历史邮件）、内置反追踪与钓鱼邮件识别，技术上采用 Rust 实现高性能同步\u002F加密\u002F搜索引擎，React 构建轻量界面，并通过 Tauri 框架实现跨平台（Linux\u002FmacOS\u002FWindows）原生体验。适合重视数据主权、追求响应速度与隐私保护的个人用户及技术从业者在日常办公与邮件管理场景中使用。",2,"2026-11-24 04:52:11","CREATED_QUERY"]