Private editorial workflow

Studio

Save drafts in D1, preview the post before it exists in the repo, publish a real MDX file into the blog, then verify the deployment before you trigger email or LinkedIn distribution.

Authentication

Editorial token

The Worker protects all studio APIs with a bearer token. Paste it here once and this page stores it in local browser storage.

Saved locally in this browser only.

Drafting

Post composer

Unsaved draft

Azure AI writing

Generate or improve this draft

The AI can draft the writing, title, tags, description, LinkedIn copy, and optional image alt text. It does not choose image URL. If you want small visual markers in the article, ask for light emoji in headings or bullets rather than inline icon markup.

Add an Azure OpenAI endpoint, key, and deployment in Cloudflare secrets to enable these tools. The AI is tuned for clean Markdown and light emoji markers, not embedded icon assets.

Drafts save into D1. Publishing creates or updates a real MDX file in this repo. Published posts can be edited here and republished as long as the slug stays the same.

Announcement

Newsletter and LinkedIn

Check the public URL first, then send the newsletter or post directly to LinkedIn once the article is live.

Deployment readiness

This checks the public blog URL and verifies that the page HTML contains the new post before bulk distribution starts.

Publish the post first, then run the deployment check.

Later publishing on LinkedIn

This workflow supports one-click sharing now. Full auto-posting requires a LinkedIn app, OAuth, and the w_member_social scope.

Publish the draft first to unlock the public post URL.