This blog post details a completely free and self-hosted blogging setup using Obsidian for writing, Hugo as the static site generator, GitHub for hosting the repository, and Cloudflare for DNS, CDN, and HTTPS. The author describes their workflow, which involves writing in Markdown within Obsidian, using a designated folder synced with a GitHub repository. Hugo automatically rebuilds and deploys the site whenever changes are pushed to the repository. This combination provides a fast, flexible, and cost-effective blogging solution where the author maintains complete control over their content and platform.
wp2hugo.blogdb.org offers a service to convert WordPress blogs into Hugo static websites. It aims to simplify the migration process by handling the conversion of posts, pages, taxonomies, menus, and internal links. The service provides a downloadable zip file containing the converted Hugo site, ready for deployment. While emphasizing ease of use, the creator acknowledges potential limitations and encourages users to test the results thoroughly before switching over completely.
HN users generally praised the project's usefulness for those migrating from WordPress to Hugo. Several commenters shared personal anecdotes about their own migration struggles, highlighting the difficulty of converting complex WordPress setups. One user suggested adding support for migrating comments, a feature the creator acknowledged as a significant undertaking. Another expressed concern about potential SEO issues during the transition, specifically around maintaining existing permalinks. Some questioned the choice of Python for the backend, suggesting Go might be a better fit for performance. Finally, there was discussion about handling WordPress shortcodes and the challenges of accurately converting them to Hugo equivalents.
Summary of Comments ( 132 )
https://news.ycombinator.com/item?id=43771645
Hacker News users generally praised the blog post's approach for its simplicity and control. Several commenters shared their own similar setups, often involving variations on static site generators, cloud hosting, and syncing tools. Some appreciated the author's clear explanation and the detailed breakdown of the process. A few discussed the tradeoffs of this method compared to managed platforms like WordPress, highlighting the benefits of ownership and cost savings while acknowledging the increased technical overhead. Specific points of discussion included alternative tools like Jekyll and Zola, different hosting options, and the use of Git for version control and deployment. One commenter suggested using a service like Netlify for simplification, while another pointed out the potential long-term costs associated with Cloudflare if traffic scales significantly.
The Hacker News post discussing the blog post "How I Write My Blogs in Obsidian and Hugo, Publish Instantly" generated a moderate amount of discussion, with several commenters sharing their own experiences and opinions on similar setups.
Several commenters praised the author's choice of tools and workflow. One commenter appreciated the simplicity and efficiency of the setup, particularly the use of Obsidian for writing and Hugo for static site generation. They also highlighted the benefit of owning your content and platform. Another commenter echoed this sentiment, expressing a preference for self-hosted solutions over relying on third-party platforms.
A few commenters shared their own variations of the described setup. One user mentioned using a similar combination of tools but opted for a different hosting provider. They also detailed their process for automatically deploying changes using GitHub Actions. Another commenter described using Obsidian for note-taking and a separate static site generator, Jekyll, for their blog. They emphasized the flexibility and customizability offered by these tools.
Some commenters focused on specific aspects of the author's workflow. One questioned the need for Cloudflare, suggesting alternative solutions for DNS and CDN. Another commenter inquired about the author's experience with Obsidian's mobile app for writing and editing.
A couple of commenters offered alternative approaches to blogging. One suggested using a simpler setup with a single tool like Bear Blog, emphasizing its ease of use for those less technically inclined. Another commenter mentioned using a dedicated blogging platform like Ghost, highlighting its features specifically designed for blogging.
While several commenters expressed their appreciation for the author's setup, some also acknowledged the potential learning curve associated with configuring and maintaining such a system. They suggested that this approach might not be suitable for everyone, particularly those who prioritize simplicity and ease of use.
Overall, the comments section provided a valuable discussion around different blogging workflows, highlighting the pros and cons of various tools and approaches. The general sentiment leaned towards appreciating the control and ownership offered by self-hosted solutions, while also acknowledging the potential complexity involved.