Skip to content

sreekarnv/draftlet

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

110 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Draftlet

Draftlet

Local-first writing assistant.

Draftlet captures conversations, generates drafts through local LLM providers (Ollama first), keeps durable local memory, and lets you review everything in a focused desktop writing surface without sending your data to a cloud service.

Draftlet desktop app

Status

Draftlet is in active development.

Current working scope:

  • Telegram - local MTProto user-client auth, incoming capture, draft generation, and explicit send.
  • Gmail - Chrome extension selection capture into the local runtime, rendered in the Email workspace for drafting.
  • Desktop - Electron app with Messages, Email, Connectors, Settings, Search, and local runtime status surfaces.
  • Runtime - local FastAPI service with SQLite persistence, capture ingest, connector management, search, and local generation through Ollama.

Repository Layout

draftlet/
  api/        local FastAPI runtime and connector services
  desktop/    Electron + React 19 + Vite+ desktop app
  extension/  WXT + React Chrome extension for Gmail capture

Development

Folder READMEs contain build and run instructions for each surface:

  • api/ - local runtime.
  • desktop/ - desktop app. Desktop development requires the API runtime to be running separately.
  • extension/ - Gmail Chrome extension.

Scope

  • Linux desktop first.
  • Local runtime at 127.0.0.1:8000 during development.
  • Source connectors: Telegram and Gmail.
  • Provider connector: Ollama.
  • Local persistence in SQLite.

License

AGPLv3. See LICENSE.

About

Local-first drafting assistant with a browser extension, desktop companion, and Ollama-powered local replies.

Topics

Resources

Stars

Watchers

Forks

Releases

Contributors

Languages