Skip to content

Latest commit

 

History

History
19 lines (16 loc) · 625 Bytes

README.md

File metadata and controls

19 lines (16 loc) · 625 Bytes

WordPress to Markdown to GitHub Repo (wp_md_gh)

If all you have access to is your WordPress db backup, this is a simple way to archive your blog to GitHub for free

Requirements

  1. Your WordPress db backup
  2. GitHub repository
  3. GitHub personal access token
  4. Python 3+
  5. Git

Steps

  • Restore your WordPress db backup to your local MySQL
  • Create a GitHub repository on https://github.com
  • Generate a personal access token
  • Download the script here in a folder, replace with your information
  • Install required Python packages above (if you don't have them yet)
  • Run the script
  • Check your GitHub repository