Goodbye.WordPress (nuget): 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 command line tool ("goodbye-wordpress") available for simple export, but the library allows heavy customization through overriding pieces of the export pipeline in WordPressExporterDelegate.
Keywords: WordPress|Export|Archive|Migrate|Migration|Blog|JAMStack|Statiq|static|StaticSite|StaticContent