Ante Meridiem is the open-source, local-first Markwhen editor — a web and desktop application that turns plain-text .mw and .md files kept on the user's own device into interactive timelines, calendars and resumes, without an account or a cloud service.
What it is
Ante Meridiem is the open-source, local-first web and desktop application for Markwhen, formerly published as mark-when/markwhen, written in TypeScript and released under the MIT licence. Users write plain-text .mw and .md files stored locally on their device, and the application renders them as interactive timelines, calendars and resumes. It runs both in the browser and as an Electron desktop application whose display name is Ante Meridiem, and it also serves as the shared application host (@markwhen/antemeridiem) consumed by the connected Meridiem application.
The concrete problem it solves is the account-and-cloud requirement that otherwise sits between a plain-text source file and its visual rendering: the same files are read and rendered locally, without an account or a cloud service. Within the Markwhen ecosystem it replaces the previous mark-when/markwhen repository as the application people install and run, and the codebase is organised around declared package exports — application, documents, services, ui and others — that define the integration contract consumed by connected Meridiem, while build/* and native/* are first-party host contracts.
Key capabilities
- Renders local
.mw and .md files into interactive timelines, calendars and resumes from a single editor.
- Installs
@markwhen/editor as a built JavaScript library with TypeScript declarations, alongside prebuilt HTML assets for @markwhen/timeline, @markwhen/resume and @markwhen/calendar.
- Copies those view assets into the application for offline use through
npm run prepare:assets:local.
- Ships an Electron desktop host covering the native window, menu and local file handling, with distributables produced by
npm run package:electron:local or npm run make:local.
- Retains the
meridiem-local protocol and the Meridiem Local user-data and custom-icon profiles, so existing installations keep their data.
- Exposes declared package exports (
application, documents, services, ui) as the integration contract for the connected Meridiem application.
- Supports custom remote views and content as a separate, explicit user action, distinct from ordinary local smoke tests that block external network requests.
Who uses it and how
- Individuals and small teams who keep project timelines as plain text and want them rendered without creating an account or uploading files to a service.
- Desktop users on macOS and Windows who install packaged builds from GitHub Releases, following
docs/desktop-releases.md.
- Developers building on the shared host, consuming the
@markwhen/antemeridiem exports from the connected Meridiem application.
- Existing Meridiem Local users moving to Ante Meridiem, whose data and custom icons persist through the retained
meridiem-local protocol and profiles.
- Maintainers and release engineers running the candidate workflow in
docs/dependency-releases.md to pin new editor and view versions in package.json and package-lock.json.
Getting started
Build from source with Node 24 LTS as pinned in .nvmrc: run npm ci --ignore-scripts --no-audit --no-fund, then npm exec -- patch-package and npm run prepare:assets:local. After that, npm run dev starts the browser app, npm run start:local starts the Electron desktop app, and npm run build:local produces the production web build.
How it compares
The only adjacent tool the facts name is Meridiem, the connected application that consumes Ante Meridiem as its shared application host (@markwhen/antemeridiem). The distinction is one of deployment rather than document format: Ante Meridiem is MIT-licensed, runs on the user's device, and needs neither an account nor a cloud service, while the connected application is a separate layer built on the same host.
When to use it — and when not to
A self-hoster must operate a Node 24 LTS toolchain with patch-package and asset preparation, and must build and distribute desktop packages personally, which are unsigned when produced locally. Anyone who wants a managed, account-based service, or who is unwilling to maintain an Electron build per platform, should not pick this up; the repository also carries 91 open issues, and native macOS file and folder picker checks require an operator to run them manually with MERIDIEM_NATIVE_PICKERS=1.
project readme (upstream, from github) — read inline
Ante Meridiem
Ante Meridiem is the open-source, local-first Markwhen web and desktop application (formerly mark-when/markwhen). Write plain-text .mw and .md files locally on your device and render them as interactive timelines, calendars, and resumes without requiring an account or cloud service.
It also serves as the shared application host (@markwhen/antemeridiem) consumed by connected Meridiem.
Getting started
Use Node 24 LTS (.nvmrc). From this directory:
npm ci --ignore-scripts --no-audit --no-fund
npm exec -- patch-package
npm run prepare:assets:local
Run locally
- Browser app:
npm run dev
- Desktop (Electron) app:
npm run start:local (if Electron's postinstall script was skipped, run node node_modules/electron/install.js first)
- Production web build:
npm run build:local
- Unsigned desktop package / distributables:
npm run package:electron:local or npm run make:local
- GitHub Releases (macOS & Windows): see docs/desktop-releases.md
The desktop display name is Ante Meridiem. The meridiem-local protocol and Meridiem Local user-data and custom-icon profiles are retained so existing installs keep their data.
Verify & test
npm run type-check
npm run test:unit -- --run
npm run check:electron
npm run build:local
npx playwright install chromium
npm run test:local
npm run package:electron:local
npm run test:desktop:local
Ordinary local browser and desktop smoke tests block external network requests; selecting custom remote views or content remains a separate user action. Native macOS file/folder picker checks require an operator: after packaging, run MERIDIEM_NATIVE_PICKERS=1 npm run test:desktop:local -- native.spec.ts.
Architecture
products/local — local entrypoints, asset manifest (assets.json), and the application API facade.
src — shared editing, document contracts, workspace UI, and local persistence.
electron — shared native desktop host (window, menu, and local file handling).
The declared package exports (application, documents, services, ui, etc.) define the integration contract consumed by connected Meridiem, while build/* and native/* are first-party host contracts.
Editor and bundled views
@markwhen/editor is installed as a built JavaScript library with TypeScript declarations. @markwhen/timeline, @markwhen/resume, and @markwhen/calendar ship prebuilt HTML assets; npm run prepare:assets:local copies them into the app for offline use.
Versions are pinned in package.json and package-lock.json, so normal npm ci installs directly from npm without requiring sibling source checkouts. See docs/dependency-releases.md for the candidate workflow used when preparing new editor or view releases.
License
MIT — see LICENSE. Third-party font and asset notices are documented in THIRD_PARTY_NOTICES.md.