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:
- You’ll need to run this via uv run.
- Since this was mostly for me, I hardcoded the configs in global variables. Yuck!
- 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.