Skip to content
Go back

Squarespace to Astro script

In case this is helpful, here is a quick and dirty script for converting Squarespace blog exports to Astro-compatible Markdown files. Some things to watch out for:

  1. You’ll need to run this via uv run.
  2. Since this was mostly for me, I hardcoded the configs in global variables. Yuck!
  3. The script doesn’t migrate images or clean up unwanted tags. You may need to add these on your own, depending on your situation.

I can’t offer any support for this gist but hope this will serve as useful prior art to others doing similar migrations.


Share this post on:

Next Post
My home lab