Hacker GitHub

← All repos

ashishb/wp2hugo

View on GitHub ↗ ★ 310 Go

The best WordPress to static site migrator

6 mentions on Hacker News by 5 people: 1 story, 5 comments · first 2024-08-28 · latest 2025-09-30

Mentions per year 6 mentions · busiest year 2024 (3)
20082026
  1. https://github.com/ashishb/wp2hugo It dumps all pages and articles as markdown with most Wordpress metadata as front matter metadata, and all comments in a separate yaml file which can be processed as needed. It creates a minimal theme…
    comment by loloquwowndueo · 2025-09-30 · in I’ve removed Disqus. It was making my blog worse
  2. https://github.com/ashishb/wp2hugo is pretty good. That said I think there's probably room for a good solution that doesn't require command line proficiency.
  3. …There's a number of tools to convert to Hugo from a WordPress XML export. I used wp2hugo, IIRC: https://github.com/ashishb/wp2hugo Dead easy. Took an afternoon to do everything, including fiddling with DNS and trying different themes, etc.
    comment by jzb · 2025-01-14 · in WordPress Is in Trouble
  4. …basics right but none did great work for the 300+ posts that I have. You can see the features here https://github.com/ashishb/wp2hugo#goals-of-wp2hugo > If I migrate my commercial blog, will the license apply to generated contents? Lots of…
  5. …other exporters, it gets the basics right but misses out on a lot of subtle features listed here https://github.com/ashishb/wp2hugo#goals-of-wp2hugo