Skip to content

Israelobuk/Latch

Repository files navigation

Latch

Latch is a local-first desktop inbox triage app scaffolded for Electron, React, TypeScript, Prisma, and SQLite.

What is implemented

  • Desktop-oriented dashboard UI with onboarding, queues, inspector, settings, and activity feed.
  • Rules-first sorting engine for:
    • deadlines
    • shipping updates
    • payment-related email
    • important conversations
  • Manual overrides, reviewed state, and pinned sender importance.
  • Provider adapter contract with Gmail and Outlook demo adapters.
  • Prisma schema for the normalized local data model.
  • Electron desktop shell with a native window and preload bridge for external-provider links.

What is still mocked

  • OAuth connection and token storage are not live yet.
  • SQLite persistence is represented by the Prisma schema, but the running app currently uses local storage so the interface can be exercised before native database wiring is finished.
  • Pinecone is intentionally not wired in.

OAuth review status

  • Gmail OAuth is currently under Google verification review for public production access.
  • During review, only approved test users can sign in through Gmail OAuth.
  • Outlook OAuth is configured for personal-account flow and can be tested separately.

Downloadable desktop build

  • A packaged Windows build is included at:
    • release/Latch-win-lite.zip
  • This package is the app build without bundled local AI model assets, so the download stays practical while OAuth inbox features are tested.

Local development

  1. Install Node dependencies:
npm install
  1. Run the dashboard as a desktop app:
npm run desktop:dev
  1. Run tests:
npm test
  1. To build a downloadable Windows installer:
npm run build:desktop

Next implementation steps

  • Replace demo provider adapters with Gmail and Microsoft Graph OAuth + sync.
  • Back the desktop bridge with SQLite and Prisma-generated queries.
  • Move secrets into OS keychain storage from the Electron main process side.
  • Add Playwright smoke coverage for onboarding and queue workflows.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors