Skip to content
carlassmannPublic

About

A beautiful, local-first Markdown editor PWA that works great on desktop and mobile. E2E encrypted, collaborative, presentation mode.

Topics

Resources

Stars

31 stars

Watchers

2 watching

Forks

Latest commit

 

History

221 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Alkalye

Beautiful, end-to-end encrypted markdown editor with real-time collaboration and presentation mode.

alkalye.com

Features

  • E2E Encrypted — Your documents are encrypted on your device before syncing
  • Real-time Collaboration — Share documents and edit together with live cursors
  • Presentation Mode — Turn markdown into slideshows with mode: present frontmatter
  • Teleprompter Mode — Present with auto-scrolling text
  • Offline-First — Works without internet, syncs when back online (PWA)
  • Focus Mode — Distraction-free writing environment
  • Media Assets — Upload and embed images and videos in your documents
  • HTML/CSS Themes — Custom document themes with HTML templates and CSS styling
  • PDF Export — Export documents as formatted PDFs
  • Time Machine — Browse document history and restore previous versions
  • Portable — Settings stored in frontmatter, export as standard .md files anytime

Tech Stack

  • Jazz for local-first sync and encryption
  • Astro 5 + React 19
  • Tanstack Router for routing
  • Tailwind CSS 4 + shadcn/ui (base-lyra style)
  • CodeMirror 6 editor

Development

Requires Bun. Starting your dev environment is as easy as:

bun install

cp .env.example .env

bunx jazz-sync run # start sync server

bun run dev

Theme authoring

See the theme authoring guide for Markdown theme sources, CSS/HTML hooks, light/dark styling, and a prompt to give your agent.

CLI

bun link
alkalye --help

Contributing

Contributions welcome! Please open an issue or PR.

main is protected: no direct pushes, and pull requests land as squash merges.

Every pull request adds exactly one entry at the top of public/changelog.json describing what changed for readers, carrying the next id and "pr": <number> so the entry links back to it. Readers remember the highest id they have seen, so a published entry can be reworded, reordered or removed afterwards without replaying old notes for anyone — just never reuse an id. The entries render at alkalye.com/changelog and drive the in-app update prompt.

Local CI

Pull requests require a local CI signoff on their latest commit. Install the pinned signoff extension once:

gh extension install basecamp/gh-signoff --pin v0.4.1

Push your commit, then run:

bun run ci

The command checks the changelog entry, installs dependencies, runs static checks, types and unit tests, the production build, and the end-to-end suite against the local work services. It signs off only when HEAD and the working tree still match the state that was tested. The complete run has a 15-minute timeout. Every new commit requires another run. Do not call gh signoff directly.

Set CI_BASE_URL to test against an already-running server instead of restarting the work services.

Cloudflare hosting

Vercel remains the default adapter and rollback host. Cloudflare uses a separate adapter selected by ASTRO_ADAPTER=cloudflare.

bun run build:cloudflare
bunx wrangler deploy --profile carlassmann-holding

The default Wrangler configuration deploys staging at https://alkalye-migration.assmann-568.workers.dev. Production preparation uses --config wrangler.production.jsonc; it has no public routes until the domain cutover. Keep staging and production token keys separate. Production must retain the existing ALKALYE_MCP_TOKEN_KEY, with ALKALYE_MCP_BASE_URL set to https://www.alkalye.com, so existing MCP connections survive the move.

The Worker serves /app/* from the SPA shell, preserves legacy redirects, opens Jazz connections per operation, and fetches OAuth metadata through Cloudflare's strictly public global fetch boundary. Redirects, private address literals, oversized metadata and slow responses remain rejected.

Before cutover, verify OAuth and document access with disposable QA accounts, connect automatic builds, and attach both production hostnames with the apex redirecting to www. Preserve Vercel until the live checks pass. Roll back by removing Cloudflare routes and restoring the recorded Vercel DNS records.

written with GPT-6 in Codex (T3 Code)

License

MIT

© 2025 Carl Assmann

About

A beautiful, local-first Markdown editor PWA that works great on desktop and mobile. E2E encrypted, collaborative, presentation mode.

Topics

Resources

Stars

31 stars

Watchers

2 watching

Forks

Contributors

Languages