peach-browser

@june

A free, open source, local-first password manager for Chrome, Firefox, and Android.

TypeScript

v5.3.12 · 1,780 saves · 70,179 lines · updated 3 weeks ago

247 files
c36e07074b6a
back to HEAD
icons/6.4 KB · 5 months ago
public/619.5 KB · 5 months ago
scripts/35.1 KB · 5 months ago
src/2.1 MB · 5 months ago
background/471.0 KB · 5 months ago
aes.test.ts2.2 KB · 6 months agoaes.tsaes.ts — AES-256-GCM encrypt/decrypt primitives for vault storage.4.2 KB · 5 months agoalarms.test.ts5.3 KB · 5 months agoalarms.ts2.3 KB · 5 months agochirp-identity.tsLocal-device identity helpers for the chirp-sync architecture.4.7 KB · 5 months agochirp-sync-coordinator.test.ts8.6 KB · 5 months agochirp-sync-coordinator.tsChirp Sync — Phase 2 manifest-diff coordinator.10.7 KB · 5 months agoclipboard.test.ts3.2 KB · 6 months agoclipboard.ts1.8 KB · 6 months agocodex-handlers.test.tsTests for src/background/codex-handlers.ts.4.6 KB · 5 months agocodex-handlers.tscodex-handlers.ts — message handlers that back the Peach Codex flow.10.1 KB · 5 months agocommands.tsKeyboard command handler — routing for summon-inline: 1.2.5 KB · 6 months agoentry.ts1.6 KB · 5 months agohealth.test.ts4.2 KB · 5 months agohealth.tshealth.ts — Pro advanced vault health analysis.5.1 KB · 5 months agoindex.ts1.3 KB · 5 months agolicense.ts4.6 KB · 5 months agomessages.adversarial.test.tsmessages.adversarial.test.ts — Layer 3 §3.3 adversarial message handler tests.37.3 KB · 5 months agomessages.test.ts23.2 KB · 5 months agomessages.tsmessages.ts — the only background message handler.47.5 KB · 5 months agoml.ts6.0 KB · 5 months agonotes.test.ts9.3 KB · 5 months agopaired-devices.test.ts5.9 KB · 5 months agopaired-devices.tsPaired-device registry — v3 chirp-sync.5.2 KB · 5 months agopasskey-crypto.test.ts6.0 KB · 6 months agopasskey-crypto.ts11.1 KB · 5 months agopasskey-deny-on-close.test.tspasskey-deny-on-close.test.ts — M8/COR-0092.8 KB · 5 months agopasskey-firefox-proxy.test.tspasskey-firefox-proxy.test.ts — covers the v2.12.0 Firefox content-script proxy path.11.4 KB · 5 months agopasskey.ts35.0 KB · 5 months agorecovery-pending.tsPersistent flag set while the user has just created a vault and is reading their 12 recovery words but has not yet typed the 3 confirmation words.1.2 KB · 5 months agorecovery-words.test.ts19.1 KB · 5 months agorecovery.adversarial.test.tsrecovery.adversarial.test.ts — Layer 3 §3.2 adversarial recovery words tests.19.2 KB · 5 months agoself-test.test.ts329 B · 5 months agoself-test.tsself-test.ts — Known-Answer Test (KAT) for the Peach crypto stack.2.6 KB · 5 months agovault-history.test.tsVault history tests.8.4 KB · 6 months agovault.adversarial.test.tsvault.adversarial.test.ts — Layer 3 §3.1 adversarial vault tests.32.7 KB · 5 months agovault.test.ts28.7 KB · 5 months agovault.tsvault.ts — sole owner of vault state and chrome.storage vault keys.81.2 KB · 5 months ago
content/294.2 KB · 5 months ago
crypto/54.9 KB · 5 months ago
popup/1.0 MB · 5 months ago
codex/152.1 KB · 5 months ago
aztec.tsaztec.ts — Aztec 2D barcode generation with round-trip verification.11.0 KB · 5 months agobrowser-bundle.test.ts674 B · 5 months agocodex.adversarial.test.tscodex.adversarial.test.ts — Layer 3 §3.4 adversarial Codex tests.21.4 KB · 5 months agocodex.test.ts19.0 KB · 5 months agoconfirmation.tsPick 3 distinct positions in [1, 12] for the recovery-words confirmation gate.601 B · 5 months agoerasure.tserasure.ts — Reed-Solomon erasure coding around the WASM library.13.9 KB · 5 months agogenerate.test.ts13.0 KB · 5 months agogenerate.tsgenerate.ts — full Codex generation pipeline.15.4 KB · 5 months agohelpers.tshelpers.ts — shared utilities for Codex generation and restoration.7.8 KB · 5 months agonode-wasm.tsNode-only WASM byte loader for Vitest.1.1 KB · 5 months agopdf-import.test.tspdf-import.test.ts — coverage for the parser surface only.1.8 KB · 5 months agopdf-import.tspdf-import.ts — restore from a Codex PDF instead of a camera scan.7.9 KB · 5 months agopdf.tspdf.ts — render the printable Codex PDF.8.2 KB · 5 months agoreed-solomon.tsBrowser-safe wrapper around the Reed-Solomon WASM exports.4.8 KB · 5 months agorestore.test.tsrestore.test.ts — coverage for ChunkBuffer, parseRawScan, reconstructAndVerify.10.7 KB · 5 months agorestore.tsrestore.ts — Peach Codex restoration library (popup-side).10.6 KB · 5 months agors-loader.tsrs-loader.ts — load the Reed-Solomon erasure WASM module.2.4 KB · 5 months agoscanner.tsscanner.ts — camera-based Aztec scanning for Codex restoration.1.8 KB · 5 months ago
components/86.9 KB · 5 months ago
styles/262.9 KB · 5 months ago
views/464.3 KB · 5 months ago
App.tsx64.8 KB · 5 months agochirp-pair-capacitor.tsCapacitor adapter for the initiator-role pairing server.5.0 KB · 5 months agochirp-pair.test.ts7.2 KB · 5 months agochirp-pair.tsPopup-side orchestrator for Phase-1 chirp pairing.11.4 KB · 5 months agocopy.tsPopup-side copy helper.1.1 KB · 6 months agofirefox-passkey.tsfirefox-passkey.ts — popup-context WebAuthn caller for the Firefox path.4.0 KB · 6 months agogenerator-policy.ts2.2 KB · 5 months agoindex.html2.5 KB · 5 months agoindex.tsx610 B · 5 months ago
shared/235.9 KB · 5 months ago
backup.test.ts2.8 KB · 6 months agobackup.ts7.4 KB · 6 months agobridge.ts1.6 KB · 5 months agobrowser.tsbrowser.ts — feature-detected browser identifier shared by background, popup, and content scripts.1.3 KB · 6 months agochirp-handshake.test.ts3.7 KB · 5 months agochirp-handshake.tsPost-chirp pairing handshake.6.6 KB · 5 months agochirp-pairing.test.ts7.8 KB · 5 months agochirp-pairing.tsAudio pairing driver — orchestrates the two-chirp exchange that bootstraps trust between two devices in the same room.10.2 KB · 5 months agochirp-payload.test.ts3.5 KB · 5 months agochirp-payload.tsAudio pairing payload — 64 bytes on the wire.4.4 KB · 5 months agochirp-sync-transport.test.tsSubnet-probe rate-limit tests.2.9 KB · 5 months agochirp-sync-transport.tsWebSocket sync transport — v3 chirp-sync Phase 2.8.4 KB · 5 months agocodex-types.tscodex-types.ts — shared shapes for the Peach Codex.9.8 KB · 5 months agodevice-manifest.test.ts4.2 KB · 5 months agodevice-manifest.tsDevice manifest — v2 brief §4.3.7.3 KB · 5 months agodomain.ts657 B · 6 months agofavicon.test.ts1.2 KB · 6 months agofavicon.tsResolves a favicon URL for a given domain.794 B · 6 months agogenerate.test.ts2.1 KB · 6 months agogenerate.ts2.1 KB · 6 months agoggwave.test.ts4.7 KB · 5 months agoggwave.tsggwave loader — thin async wrapper around the ggwave-wasm module.6.5 KB · 5 months agoimport.test.ts13.4 KB · 6 months agoimport.tsany is intentional throughout this module (L17/I3/QUA-010): import files are user-supplied external JSON whose schemas vary by source app and version (1Password CPG, Bitwarden, CXF, generic CSV).16.1 KB · 5 months agolocal-network.tsLocal network discovery — minimal helper used by chirp pairing.1.2 KB · 5 months agoml.ts1.4 KB · 6 months agonative.tsMobile platform detection helpers used by popup views to gate Capacitor-only paths.848 B · 5 months agonoise-js.test.tsNoise NK auth proof regression test.6.9 KB · 5 months agonoise-js.tsNoise NK initiator for Android / Capacitor.13.0 KB · 5 months agonoise-xx.test.ts3.4 KB · 5 months agonoise-xx.tsNoise XX (mutual auth) — used for every Phase-2 WebSocket connection after the audio chirp pairing has stamped each side into the other's paired-device registry.8.1 KB · 5 months agopasskey-flags.tspasskey-flags.ts — single switch for the Firefox passkey content-script proxy.2.1 KB · 6 months agorecovery-word-list.tsrecovery-word-list.ts — 2048-word recovery word list for Peach vault recovery.20.1 KB · 5 months agorecovery-words.tsrecovery-words.ts — BIP39-compatible recovery word encoding for Peach vault recovery.5.4 KB · 5 months agoshortcuts.test.ts@vitest-environment jsdom4.0 KB · 6 months agoshortcuts.tsshortcuts.ts — keybinding schema, defaults, matcher, formatter.6.7 KB · 6 months agostorage.ts537 B · 5 months agosync-identity.test.ts2.9 KB · 5 months agosync-identity.tsSync identity — long-term X25519 keypair tied to the vault, not the device installation.6.9 KB · 5 months agosync-types.tsChirp Sync — type definitions (Master Brief v2).7.3 KB · 5 months agotypes.tstypes.ts — cross-boundary types and the MessageType union.15.7 KB · 5 months ago
tests/436.7 KB · 5 months ago
.gitignore124 B · 6 months ago.nvmrc8 B · 5 months agobun.lock123.2 KB · 5 months agomanifest.firefox.json2.4 KB · 5 months agomanifest.json1.7 KB · 5 months agopackage-lock.json289.8 KB · 5 months agopackage.json2.1 KB · 5 months agoplaywright.config.ts808 B · 6 months agopnpm-lock.yaml169.9 KB · 6 months agotsconfig.background.json490 B · 5 months agotsconfig.json521 B · 5 months agotsconfig.tests.json122 B · 6 months agovite.config.mobile.ts1.2 KB · 5 months agovite.config.ts2.1 KB · 5 months agovitest.config.ts461 B · 5 months ago
b11107fix: peach brand icon stays peach across all accents (v1.7.2)6 months agoa1c947chore: codebase audit and commentary pass (v1.7.1)6 months ago1a7d31feat: credit and debit card support — vault, autofill, save offer, decline memory (v1.7.0)6 months ago271721feat: keyboard shortcut summon + recall system for missed forms (v1.6.0)6 months ago971d0dfix: require confirm-password in encrypted export before enabling download (v1.5.3)6 months agoaa90dbfix: autofill selector reopen + submit-button icon (v1.5.2)6 months ago43d2fdfeat: trash entries included in CJK and JSON vault exports (v1.5.1)6 months ago47559cfeat: 12 pastel accent colors with full-surface propagation (v1.5.0)6 months agod94d9efeat: hoist note formatting toolbar inline into tabs row + inline Entry.tsx note editor (v1.4.56)6 months agofd0858feat: expanded note toolbar (U, S, H, lists, rule) + 250px editor body (v1.4.55)6 months agofb33e4fix: note editor — Portal to #hd-shell, NoteEditorInline in Add, position:absolute (v1.4.54)6 months ago975a4edocs: document full-popup note editor architecture and migration path (v1.4.53)6 months ago4e3d50feat: full-popup note editor with rich text toolbar (v1.4.53)6 months ago772de5docs: CONTINUITY entry for v1.4.526 months ago6eb04afeat: notes-only filter toggle in vault sort bar (v1.4.52)6 months ago76a8b7docs: CONTINUITY entry for v1.4.516 months ago5d439dstyle: softer TOTP glow (1.3x brightness) + near-neutral search seam tint (v1.4.51)6 months agofef244docs: CONTINUITY entry for v1.4.506 months ago8473ccstyle: TOTP digit glow — filter brightness over 3s, no boxy shadow (v1.4.50)6 months ago534ff6build: rebuild dist at correct v1.4.49 (version bump was before build)6 months ago99505adocs: update CONTINUITY for v1.4.49 TOTP polish6 months agof326b4style: remove accent ring + band glow, digit flare on reset, kill copy button border (v1.4.49)6 months ago548580style: inner ember — search seam bloom + TOTP band urgency glow (v1.4.48)6 months agoce399efix: natural search typing and inline totp editing (v1.4.47)6 months agoa7a1c1fix: darken shell frame for totp ring contrast (v1.4.46)6 months ago294cdcfix: rebalance totp accent ring visibility (v1.4.45)6 months ago914b09fix: soften totp accent ring animation (v1.4.44)6 months ago58b08afix: inline edit dismissal and totp accent ring (v1.4.43)6 months ago9caa1bfix: popup polish and firefox packaging refresh (v1.4.42)6 months agoc8201dtest is this thing on?6 months ago

← newer

details

Peach

A free, open source, local-first password manager for Chrome, Firefox, and Android.

Peach encrypts your vault on your device. No hosted vault, subscription, or account is required to use it.

peachpasswords.com


Features

  • Passwords, cards, and secure notes — keep your private data together in one encrypted vault
  • Inline autofill — fill and save credentials without leaving the page
  • TOTP built in — generate two-factor codes without a separate authenticator
  • Password health — find weak, reused, and exposed passwords
  • Portable backups — export and restore with PeachScript or a .peach file

Peach Pro adds:

  • Peach Sync — end-to-end encrypted sync across paired devices
  • Passkeys — save and use passkeys in Chrome and Firefox
  • Peach Codex — print an encrypted, scannable backup of your vault
  • Advanced vault health, Canary Entries, and duress tools

See the Peach website for current availability and Pro details.


Install


Open Source

Peach is released under the GPL v3. This repository contains Peach's Chrome and Firefox browser extensions. Android is maintained separately.

The source is hosted on Kepr, Asha Software's version control platform.


Security

Vault data is encrypted with AES-256-GCM and protected by Argon2id key derivation. Peach Sync authenticates paired devices and encrypts data in transit.

Implementation details live alongside the code:


Building

bun install --frozen-lockfile
bun run build

Builds are written to dist-chrome/ and dist-firefox/.


Built by Asha Software · [email protected]