astro-to-wechat: A Small Tool For Syncing Astro Posts To WeChat Drafts
An introduction to astro-to-wechat, a Python CLI extracted from the ZiCode blog workflow for turning Astro blog pages into WeChat Official Account drafts.
8 posts
An introduction to astro-to-wechat, a Python CLI extracted from the ZiCode blog workflow for turning Astro blog pages into WeChat Official Account drafts.
A reflection on using Cursor while working on www.zicode.com: writing posts, developing a WeChat draft sync script, reviewing agent history, polishing documentation, and extracting an open-source tool.
The first article in a Wagtail-to-Astro migration series, covering the pain points of the old Wagtail and Django setup and why Astro was chosen for the new static blog.
A phased plan for migrating a Wagtail blog to Astro, including data sync, content conversion, URL design, scripts, validation, and cutover strategy.
How to add a new post to an Astro blog, including frontmatter, categories, tags, columns, hero images, and homepage recommendation behavior.
Deploying an Astro static site to a server, including build commands, upload options, server root configuration, permissions, ICP record, and HTTPS.
Using scripts to pull Wagtail database and media files from production, then import them into Astro Markdown files through a repeatable sync and import workflow.
Polishing the Astro site after migration, including dark mode, static site search, breadcrumbs, contrast, accessibility, ICP record display, and footer details.