Draft a new post

Write your draft in the browser. We will commit it to a branch and open a PR against this site. Everything runs in your browser; you bring the GitHub token.

  • Use a fine-grained GitHub token scoped to this repo with contents:write and pull_requests:write.
  • The token only lives in your browser. Check "Remember token" to keep it in local storage.
  • Submissions create _drafts by default; switch to publish if you want it in _posts.

GitHub access

Fine-grained token with repo contents + pull requests.

Post details

Branch & PR

Flow: fetch default branch -> create branch -> commit file -> open PR.

Content

Target file: _drafts/slug.md