Goodbye WordPress is a customizable library and command line tool for exporting posts from a WordPress MySQL database to static Markdown or HTML files, with YAML front-matter for metadata preservation. It is intended as a starting point for migrating away from a WordPress blog to a static site. It further supports saving images referenced in the original posts and can generate a single-file archive of all exported posts in JSON format, in case the export process needs to run again after the MySQL database has been taken down. Note, there is a .NET 6.0 library ("Goodbye.WordPress") that can be integrated easily into a new .NET console application that allows heavy customization through overriding pieces of the export pipeline in WordPressExporterDelegate.
$ dotnet add package goodbye-wordpressNo README available.