Skip to content

feat: ship connected publishing and Cloud billing#15

Merged
starc007 merged 14 commits into
mainfrom
feat/publish-linked-pages
Jul 18, 2026
Merged

feat: ship connected publishing and Cloud billing#15
starc007 merged 14 commits into
mainfrom
feat/publish-linked-pages

Conversation

@starc007

Copy link
Copy Markdown
Owner

What changed

  • rebuild publishing around content-addressed releases that bundle linked pages and hosted images
  • render linked public pages through nested routes with improved Markdown parity
  • add Dodo monthly/yearly checkout sessions, signed webhook handling, entitlement sync, and customer billing portal access
  • add a secure one-time desktop-to-web billing handoff instead of exposing account credentials in the browser
  • replace the website login route with a compact Markd Cloud pricing page and purchase flow
  • separate OTP rate limiting from retained authentication records and clean up expired data
  • add semantic status badges and refine Cloud subscription states in the desktop app

Why

Publishing a single isolated note did not preserve connected-note navigation or local images, and paid Cloud access had no production billing lifecycle. This change makes a published note behave as a connected site while keeping uploads deduplicated and tying access to verified subscription events.

Impact

  • users can publish a note together with its linked pages and images
  • monthly and yearly subscriptions unlock Cloud publishing through Dodo
  • renewals, cancellations, expiry, and payment failures update access automatically
  • existing public-note URLs continue to resolve while nested linked pages gain stable routes

Validation

  • services/cloud-api: bun run typecheck
  • services/cloud-api: bun test — 14 passed
  • desktop frontend: bunx tsc --noEmit
  • website: bunx tsc --noEmit
  • Rust: cargo test — 49 passed

No build command was run.

@cloudflare-workers-and-pages

Copy link
Copy Markdown

Deploying with  Cloudflare Workers  Cloudflare Workers

The latest updates on your project. Learn more about integrating Git with Workers.

Status Name Latest Commit Updated (UTC)
✅ Deployment successful!
View logs
markd-api 18bb2a5 Jul 18 2026, 05:31 PM

@starc007
starc007 marked this pull request as ready for review July 18, 2026 17:37
@starc007
starc007 merged commit cc4fd34 into main Jul 18, 2026
2 checks passed
@starc007
starc007 deleted the feat/publish-linked-pages branch July 18, 2026 17:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant