{"id":49671456,"url":"https://github.com/jordan-bourillot/teddy-mail","last_synced_at":"2026-05-07T00:01:50.203Z","repository":{"id":356113594,"uuid":"1231103956","full_name":"Jordan-Bourillot/teddy-mail","owner":"Jordan-Bourillot","description":"Calm, sovereign, deeply customizable mail client. React + Tauri + Rust.","archived":false,"fork":false,"pushed_at":"2026-05-06T19:31:50.000Z","size":1899,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2026-05-06T19:38:28.115Z","etag":null,"topics":["desktop-app","email","mail-client","privacy","react","rust","tauri","typescript"],"latest_commit_sha":null,"homepage":"https://github.com/Jordan-Bourillot/pite-lafe-mail/releases/latest","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Jordan-Bourillot.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2026-05-06T16:22:11.000Z","updated_at":"2026-05-06T19:31:53.000Z","dependencies_parsed_at":null,"dependency_job_id":"ee08a220-6ed4-42bb-89c4-f5ead28497b9","html_url":"https://github.com/Jordan-Bourillot/teddy-mail","commit_stats":null,"previous_names":["jordan-bourillot/pite-lafe-mail"],"tags_count":12,"template":false,"template_full_name":null,"purl":"pkg:github/Jordan-Bourillot/teddy-mail","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Jordan-Bourillot%2Fteddy-mail","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Jordan-Bourillot%2Fteddy-mail/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Jordan-Bourillot%2Fteddy-mail/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Jordan-Bourillot%2Fteddy-mail/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Jordan-Bourillot","download_url":"https://codeload.github.com/Jordan-Bourillot/teddy-mail/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Jordan-Bourillot%2Fteddy-mail/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32716960,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-06T19:35:05.142Z","status":"ssl_error","status_checked_at":"2026-05-06T19:35:03.996Z","response_time":117,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["desktop-app","email","mail-client","privacy","react","rust","tauri","typescript"],"created_at":"2026-05-07T00:00:31.991Z","updated_at":"2026-05-07T00:01:50.192Z","avatar_url":"https://github.com/Jordan-Bourillot.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Teddy Mail\n\nClient mail calme, souverain, profondément personnalisable.\n\n\u003e **Statut** : prototype V1, exécution en mode UI seul (mocked data). Le cœur Rust est scaffolded mais pas encore branché à Tauri.\n\n## Pourquoi\n\n- Gmail = puissance + tracking publicitaire.\n- Outlook = lourdeur entreprise.\n- ProtonMail = chiffrement austère.\n- Hey = workflow opinionné, peu personnalisable.\n\nTeddy vise le créneau **personnalisation profonde + plaisir d'usage + souveraineté des données**.\n\n## Stack\n\n| Couche | Choix |\n|---|---|\n| Shell desktop | Tauri 2 |\n| UI | React 19 + TypeScript strict + Tailwind |\n| State | Zustand |\n| Recherche client | Fuse.js (V1) → SQLite FTS5 (V1.5) |\n| Cœur sync | Rust : `async-imap`, `lettre`, `mail-parser` |\n| Store | SQLite + SQLCipher |\n| Auth | OAuth2 PKCE, keyring OS |\n\n## Démarrage rapide (UI seule, sans backend)\n\n```bash\nnpm install\nnpm run dev\n```\n\nOuvre http://localhost:5173. La boîte est peuplée de données fictives : 8 mails, 2 comptes, des traceurs simulés.\n\n## Tests\n\n```bash\nnpm run test\n```\n\nCouvre : classification (smartSort), threading JWZ, recherche DSL, blocage traceurs, snooze, undo send, hotkeys, détection d'engagements.\n\n## Structure\n\n```\nteddy_mail/\n├── src/\n│   ├── App.tsx                # Shell 3 colonnes\n│   ├── components/            # Sidebar, MailList, MailReader, Composer, CommandPalette, StatusBar, Toast, SettingsPanel, Avatar\n│   ├── lib/                   # store, smartSort, threading, search, snooze, trackers, themes, hotkeys, undoSend, engagements, mockData\n│   ├── styles/index.css       # Thèmes, densités, tokens CSS\n│   └── types.ts               # Types domaine\n├── rust-core/\n│   ├── Cargo.toml\n│   └── src/\n│       ├── lib.rs             # Erreurs, logging\n│       ├── auth.rs            # OAuth2 + keyring\n│       ├── parser.rs          # MIME parsing safe\n│       ├── store.rs           # SQLite/SQLCipher + FTS5\n│       ├── imap_sync.rs       # Worker IMAP IDLE\n│       ├── smtp.rs            # Envoi sortant\n│       └── commands.rs        # Surface IPC Tauri\n├── src-tauri/tauri.conf.json  # Config Tauri\n├── PROJECT_STATE.md           # État courant et reprises\n├── BACKLOG.md                 # Idées hors scope V1\n└── README.md\n```\n\n## Fonctionnalités V1 implémentées (UI + logique)\n\n- Vue 3 colonnes (sidebar + liste + lecteur).\n- Tri intelligent local par catégories (work, personal, notifications, newsletters, promotions).\n- Threading JWZ avec fallback sujet.\n- Recherche DSL : `from:`, `to:`, `subject:`, `label:`, `is:unread|starred|snoozed`, `has:attachment|trackers|engagement`, `before:`, `after:` + recherche floue Fuse.js.\n- Blocage de pixels traceurs et sanitization HTML (DOMPurify).\n- Détection d'engagements (\"Je t'envoie ça vendredi\").\n- Snooze avec presets (ce soir, demain, weekend, lundi, semaine, un jour).\n- Undo Send (5/10/30s configurable) avec annulation toast.\n- Compositeur avec auto-save, alerte pièce jointe oubliée, raccourci Cmd+Entrée.\n- Palette de commandes (Cmd+K) avec actions et résultats mêlés.\n- 6 thèmes (clair, sombre, sépia, solarized, contraste, nocturne) + densité (compact/cozy/spacious) + taille de police.\n- 4 profils clavier (teddy, gmail, outlook, mutt).\n- Mode focus.\n- Statut bas avec compteurs.\n\n## Fonctionnalités Rust core (skeleton, non encore appelé depuis l'UI)\n\n- Worker IMAP IDLE async par compte avec backoff exponentiel.\n- Authentification XOAUTH2 + IMAP simple.\n- Store SQLite chiffré (SQLCipher) avec FTS5 et triggers.\n- Parser MIME tolérant aux mails malformés.\n- Envoi SMTP via lettre.\n\n## Sécurité et vie privée\n\n- Tous les contenus locaux sont chiffrés au repos (SQLCipher, dérivation de clé depuis passphrase ou keyring OS).\n- Pixels traceurs détectés et neutralisés au rendu.\n- Images distantes bloquées par défaut (configurable : toujours / expéditeurs de confiance / jamais).\n- HTML rendu après passage par DOMPurify, scripts/iframes interdits.\n- OAuth tokens dans le keyring OS (Credential Manager / Keychain / libsecret).\n- Aucun envoi de télémétrie sans opt-in explicite.\n\n## Licence\n\nÀ définir avant lancement public. Candidat principal : MPL-2.0 (modifiable côté code, copyleft sur le fichier).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjordan-bourillot%2Fteddy-mail","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjordan-bourillot%2Fteddy-mail","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjordan-bourillot%2Fteddy-mail/lists"}