Draftmora is a local-first AI agent board that helps you capture messy ideas and turn them into structured tasks. It runs entirely on your machine, stores board data in SQLite, and provides an agent chat that can propose task changes before applying them. Current stable version is 0.1.2, released as an early-stage npm package. It requires Node.js >=22.14.0 and is built with TypeScript, Fastify, React, Vite, and shadcn/Radix UI. Key differentiators include local-first storage (no cloud dependency), OpenAI account auth as an alternative to API keys, and durable local memory files (USER.md, MEMORY.md). The tool offers task status, priority, tags, and execution history tracking.
npm install draftmoraNo compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
Shows how to programmatically start the Draftmora server with optional OpenAI API key.
Upgrade Node.js to >=22.14.0 (Node.js 24 recommended).
Use API_PORT and WEB_PORT explicitly instead of relying on the legacy PORT variable.
Ensure OPENAI_API_KEY is set in the environment or configure via the app Settings if account auth is not available.
Replace PORT with API_PORT for the API server and WEB_PORT for the web dev server.
Change require('draftmora') to import ... from 'draftmora' or use dynamic import() in a CommonJS context.Use import { startServer } from 'draftmora/server'.Ensure the board database exists (e.g., by running 'npx draftmora' once) or call startServer with the correct boardPath.
Set OPENAI_API_KEY environment variable or configure account auth in the app Settings.