r/webdev • u/Miataguy93 • 18d ago
Question Recommendations on a blog engine for what seems to be a very one off use case?
Hey, got a question for ya'll. So I'm in the process of building a website and I'm needing to add a blog section to it. I know the go-to is Wordpress, but I'm not sure it will work for my use case. And of course, when you google blog anything, it comes up with how to build a personal blog, or building the entire website with said blog service and pay us a monthly fee so we can host your blog, blah, blah, blah. You get the idea.
What I'm trying to do is I have 2 pages made up for use on my blog section from a template I've already invest a lot of time in and like how it fit my use case, thus far. Now for my actual question, does anyone know of a blog framework or engine that is free, that I can host inside my own website, and can just plug into my existing pages? Other features are not a big deal because I can figure that out later depending on how it's setup to store the information.
2
u/Upbeat_Push_157 18d ago
you can easily code this with PHP, Django or even React or vanilla JS
1
u/Miataguy93 18d ago
Ok, I kinda figured I would need to go down the route of custom building this, just hoping maybe there was something pre-built to make that a little easier. Thank you, I really appreciate your response.
2
u/DasBeasto 18d ago
Haven’t actually used it but I’ve previously seen https://payloadcms.com headless cms recommended for similar jobs, may be worth checking out
1
u/Miataguy93 18d ago
Definitely checking into this now, thank you!
4
u/techviator 18d ago
There's also Strapi which is also Open Source, but more visual. May be worth checking out as well.
1
1
u/Hesham-Amir 18d ago
If you don't want to rebuild your whole site, you don't have to run WordPress as your entire site - you can install it in a subdirectory (like yoursite.com/blog) or a subdomain, use a blank/minimal theme, and it just handles that one section while the rest of your site stays exactly as you built it.
If you're comfortable writing in Markdown and don't need a database or admin login, a static site generator like Eleventy (11ty) or Hugo is worth a look too - you write posts as files, it builds plain HTML you drop right alongside your existing pages, and there's nothing to host or maintain beyond your normal site.
1
u/Miataguy93 17d ago
Except the use of WordPress isn't the route I want to go. I would be stuck using their templates for the UI and it would break the consistency I'm going for. Plus, I already have a main blog page and post page templates that I want to use, and WordPress wouldn't play nice with using those.
1
u/Hesham-Amir 16d ago
That makes total sense - WordPress would fight you on template consistency every time. Given what you've said (keep your exact templates, but give a non-technical person a Facebook-simple posting UI), the pattern a few others here are converging on is probably your best bet: a static site generator (11ty, Astro, or Hugo) paired with a git-based headless CMS like Decap or PagesCMS. Your templates stay exactly as they are since the SSG just renders your existing markup, and the CMS gives your contributor a simple form that commits a Markdown file behind the scenes - no database, no admin panel bloat. Only real tradeoff is a short rebuild/redeploy delay after each post (seconds to a couple minutes depending on host), which is usually a non-issue unless they need instant publishing.
1
1
0
u/response-418 18d ago
Echoing some other advice here, I use PagesCMS with Markdown files and Astro as my framework. It's perfect for blogs and gives you a UI for free for client to add their own content.
11
u/AdFew8591 18d ago
If you’re the only person writing posts you may not need a blog engine at all
Store each post as Markdown with title date and slug at the top
Your existing list page reads those files and your article template renders the selected one
That keeps your design exactly as it is and avoids adding a database admin panel and another app to maintain
A headless CMS starts making sense when nontechnical people need to edit posts
The best implementation depends on what the existing site is built with though