
Daymark: daily Markdown notebook
A local-first daily Markdown notebook that carries unfinished tasks forward, flags tasks that keep slipping, and syncs through a server you host yourself.
- Status
- Active · 2026 – present
- Built with
- React 19
- TypeScript
- Vite
- Tailwind CSS 4
- TipTap
- Mermaid
- IndexedDB
- PWA
- Node.js
- Express
- Capacitor
- Kotlin
- Jetpack Glance
- Docker
- Playwright
Case study
Personal · Productivity · Sole developer, building with AI coding agents
- Challenge
- A daily planner where unfinished work never silently disappears, notes stay portable Markdown, and phone and computer agree without a third-party cloud.
- What I did
- Built a React web app that works offline, an Android app with native widgets, and a self-hosted Node.js sync server. Everything was tested end to end on an emulated phone and across two syncing devices.
- Result
- 1.12.0 released with an Android APK, 16 releases in 18 days, and a public website and guide.
- releases
- 16
- first commit to 1.12
- 18 days
- web, Android, sync server
- 3
About the project
Daymark is a daily notebook in plain Markdown. Each day is one note. Tasks you don't finish move to today by themselves with their history, and a task that keeps getting carried gets an amber, then red, aging alert. You can also record when work was really done, not just when you ticked it.
It runs as an installable web app and an Android app with home-screen widgets, works offline, and keeps notes on your device. An optional sync server you host yourself (one Docker command) keeps phones and computers in step, with sign-in, rotating refresh tokens and merge-safe restores.
Notes go well beyond tasks: a rich editor with tables, pictures, Mermaid and [[links]], nested folders, #tags, a Related panel that explains its suggestions, a graph view and pen writing. Everything exports as an Obsidian-compatible vault.
Source-available under the PolyForm Noncommercial License 1.0.0.
Features
- Carry-forward: unfinished tasks roll to today without duplicates, keep their history, and age from amber to red.
- Today, Calendar, Backlog: sections, a seven-day strip, month and week planning, and an undated Backlog that stays out of daily counts.
- Habits: streaks, missed-day warnings and a home-screen widget to tick them.
- Notes: rich editor, folders,
#tags,[[links]], Related suggestions with reasons, a knowledge graph, and pen writing with text boxes and shapes. - Your data: IndexedDB on each device, Markdown ZIP backups, an Obsidian-compatible export, no telemetry.
Screenshots
Architecture
- React + TypeScript web app (Vite, Tailwind CSS 4, TipTap) stored in IndexedDB, installable as a PWA that works offline.
- Android: a Capacitor shell around the same build, plus a native Kotlin / Jetpack Glance widget that talks to the app through a bridge plugin.
- Sync server: Node.js / Express in Docker, storing the vault as plain JSON files, serving the web app, with short-lived access tokens and 30-day rotating refresh tokens.
- Daily notes: standard
YYYY-MM-DD.mdfiles, with task metadata in HTML comments that other Markdown apps ignore.
Challenges & what I learned
- Making rollover idempotent: carrying tasks forward every morning without duplicates, and without deleted tasks coming back.
- Keeping old and new devices in sync while formats grew (habits, pictures, folders): each release says whether to update the server or the apps first.
- Deriving tags from note text instead of saving them, so a tag change never causes extra sync writes.
- In a local-first app, sync and backups are the product: restores merge instead of overwrite, and sign-out warns before losing unsent edits.
- A written spec, plan and release note per cycle let AI agents ship 16 releases in 18 days without breaking older devices.