Skip to content

feat(dev): Ghost Blog Backup → Markdown / HTML - #138

Merged
slaveofcode merged 1 commit into
developfrom
feat/ghost-backup
Aug 2, 2026
Merged

feat(dev): Ghost Blog Backup → Markdown / HTML#138
slaveofcode merged 1 commit into
developfrom
feat/ghost-backup

Conversation

@slaveofcode

Copy link
Copy Markdown
Owner

New client-side Dev tool. Drop a Ghost content export (Settings → Migration → Export JSON) → download a ZIP of one file per post: Markdown (YAML frontmatter + turndown-converted body) and/or standalone HTML pages ready to host statically (e.g. on R2). Posts/pages/drafts sorted into folders; tags joined; generic frontmatter (Astro/Hugo/Jekyll). Nothing uploaded.

Verify

  • npx vitest run → 636 passed (12 new lib tests) · lint 0 errors · build 187 pages (EN+ID); tiny dynamic chunks (turndown ~4KB gzip).

New Dev tool: drop a Ghost content export (Settings → Migration → Export JSON) and
get a ZIP of one file per post — Markdown (YAML frontmatter + turndown-converted
body, GFM tables) and/or standalone HTML pages ready to host statically (e.g. R2).
Posts/pages/drafts sorted into folders; tags joined from posts_tags; generic
frontmatter (Astro/Hugo/Jekyll-friendly). All in-browser, nothing uploaded.

- Pure ghost-export.lib.ts (parse/join/frontmatter/templates), 12 tests; turndown +
  fflate dynamic-imported in the island. Bilingual (EN + ID). status: beta.
- Notes in UI that Ghost exports omit image files (URLs only).

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Ubfx4XocHcECaL8twp9zsr
@cloudflare-workers-and-pages

cloudflare-workers-and-pages Bot commented Aug 2, 2026

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
goodwebtools 6790345 Aug 02 2026, 01:23 PM

@slaveofcode
slaveofcode merged commit 5fe4668 into develop Aug 2, 2026
1 of 2 checks passed
@slaveofcode
slaveofcode deleted the feat/ghost-backup branch August 2, 2026 13:23
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