Convert a Preposter.us blog posts into Markdown files.
Originally written to automate the migration of my Preposter.us blog to Hugo, I've ressurected the project to perform a simular conversion for a Next.js-based blog.
- Install dependencies:
pip install -r requirements.txt
- Create an input directory:
mkdir input
- Create an output directory:
mkdir output
- Copy Preposter.us content into the
input
directory - Run the import script:
python import.py
- Examine results in the
output
directory