Show HN: I made a service to convert WordPress blogs to Hugo

(wp2hugo.blogdb.org)

11 points | by symkat 3 hours ago ago

18 comments

  • revicon 26 minutes ago

    Thanks for sharing @symkat, love seeing developer side projects.

    Was curious why you picked Hugo over something like Astro. I'm migrating a site off of Jekyll and have found Astro has a lot of interesting features if I want to use them but is at its heart a static site generator and seems to be a pretty easy lift to migrate to. Haven't done much evaluation of Hugo yet.

  • binary_slinger 18 minutes ago

    The real money is in converting sites with plugins and retaining the functionality which in many cases isn’t static. The copying of data to another tool is the easy part.

  • markx2 an hour ago

    And how do I upload an image of my cat to my all new Hugo site?

    WP lets me drag/drop or upload media very very easily. Has done for years.

    Hugo? or indeed most SSG's?

  • jayemar 3 hours ago

    I may be wrong here, but I understood Hugo sites to be static sites, therefore not supporting comments, for example. How does your tool handle migrating a WordPress side with comments to a Hugo site?

    • symkat 2 hours ago

      You're right, Hugo is for static sites! Hugo does support comments through things like Disqus (https://gohugo.io/content-management/comments/).

      My service only converts the blog posts and pages themself and helps you get started on a conversion.

    • stanski 2 hours ago

      The vast majority of WordPress sites are static sites with no use for comments.

  • JTyQZSnP3cQGa8B 3 hours ago

    Good. But I do wonder why we're flooded with "services" like that when a simple open-source Python script could do this. $150 FFS. I hope you have clients but the open-source dev inside me is dying a bit.

    Edit: 413 Request Entity Too Large.

    • toomuchtodo 3 hours ago

      People pay to have their problems solved, not code (although code is one of the ways to solve some problems!). If you made such a service for free, that's great! It's helpful, it scratches an itch to build you have, it is a net positive to put it into the world. Importantly, non technical people want their hand held and usually, are willing to pay for it. Something to consider. There is room for both solutions and code, based on bucketing of use cases and personas.

      • JTyQZSnP3cQGa8B 3 hours ago

        > non technical people want their hand held

        I know but I'm still not happy about it. Also Hugo is not what I would call a WYSIWYG application like Wordpress, so...

    • BryantD 3 hours ago

      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.

    • symkat 2 hours ago

      In my case, at least a big part of it is I'm looking for a job again and doing something like this to get myself out there, I already had one person who was interested in this specific type of conversion so maybe there are others.

      Thanks for the 413 note! I've just upped the client_max_body_size if you want to give it a try again.

  • 3 hours ago
    [deleted]
  • alok-g 3 hours ago

    Does it handle themes, plugins, etc., as well? Thx.

    • symkat 2 hours ago

      It does not, it converts just the blog posts and pages to help you get started on a conversion. It gives you the smol theme by default and the page that gives you access to the downloads gives additional information for finding themes at https://themes.gohugo.io/

  • GlacierFox 3 hours ago

    $150 haha. Wtf.

    • toomuchtodo 2 hours ago

      This is ~1 hour of software engineer, ~2 hours of technology generalist time. Time is non renewable, and humans have a cost. If you're an agency, business, whatever, and have the need to make something WP static via Hugo, this is a reasonable cost to solve the problem quick.

      • GlacierFox an hour ago

        Makes sense, you're right. I'm glad this single-use static file converter is $150. Thank you.

        • toomuchtodo an hour ago

          Pricing and product market fit discovery is a process. Solve the problem, make it maintainable, make it perform. You are on a VC startup accelerator funded forum where a component is encouraging makers and builders to solve problems (sometimes, for money), after all. Encouragement and constructive feedback is both cheap and kind.