4 ms·
I have thought about moving my personal blog onto something that isn't someone else's service. But every time I think about running my own blog server, stories
by shadowgovt 5y ago
I have thought about moving my personal blog onto something that isn't someone else's service. But every time I think about running my own blog server, stories like this come along.
- b0ner_t0ner 5y agohttps://wp2static.com/ https://wp2static.com/ or https://www.strattic.com/ https://www.strattic.com/
- leppr 5y agoYou don't need to use WordPress where themes can apparently run server code. Plenty of simpler solutions like Gatsby and others.
- noahtallen 5y agoA theme is server code :) Since WordPress is PHP, rendering the front end is done in PHP on the server. A theme writes PHP to render custom templates, which (on top of styles) is a large part of what themes do in WordPress. This is changing to an extent with the Full Site Editing project, but themes and plugins are both very powerful and flexible in WordPress, which has in part led to its massive success.
- wanderingmind 5y agoSetup your blog in Github pages with Jekyll[0] [0] https://docs.github.com/en/pages/setting-up-a-github-pages-site-with-jekyll https://docs.github.com/en/pages/setting-up-a-github-pages-s...
- turminal 5y agoGithub is not their own server.
- yosito 5y agoWhy not move your personal blog to a static site generator?
- adam12 5y agoNot OP, but one thing that gets in the way for me is user comments.
- drexlspivey 5y agoCheck out https://utteranc.es/ https://utteranc.es/
- sneak 5y agoDisqus exists for this reason.
- sgallant 5y agoThis is 100% possible without a server. Your repo can be your database if you run it statically with something like Hugo (a single binary with no dependencies). Store your content in your own repo in Markdown files (or something similar, like MDX) and host it on Netlify, Vercel, AWS, etc. If your site has 10K posts and you don’t want to deal with long build times, use Next.js with ISR (make some high traffic pages static, others dynamic (server side rendered)). As the founder of Forestry.io and Tina.io, I’m biased about a content editing UI, but there are many options if you want a GUI on top of your content files. You got this.
- hanklazard 5y agoAgreed! I’ve used Hugo + Netlify for the last few years, really like it. I’m not a big blogger, but it would be easy to run a blog with this setup.
- sneak 5y agoYou don't need Netlify for this; all you need is a git repo somewhere and CI. CI can do the build, and the last step of CI can be ftp, rsync, scp, or whatever. It's just static files, normal hosting anywhere is fine.
- deleted 5y ago[deleted]
- viraptor 5y agoThere's usually a huge difference in access latency though. The usual cheap ftp hosting means a choice of whether you want to be 200ms away from the US or from Australia.
- lolinder 5y agoAs others have said, static site generators are super easy to set up, and for a blog you'd be able to do basically everything in Markdown. You can also very easily include Netlify CMS or similar for a GUI editor (which will make commits directly to your repo). I'd recommend at that point just using GitLab or GitHub pages as others have suggested, but if you do want to move completely off of other people's services, it's much simpler to set up nginx or Apache to serve static files than it is to safely host a WordPress instance.
- pmlnr 5y agoSSGs are not "super easy" for non-devs. What's super easy is things like https://www.silex.me/ https://www.silex.me/ or, with more functionality, https://pinegrow.com/ https://pinegrow.com/
- lolinder 5y agoHugo or Jekyll should be super easy for anyone who's seriously considered hosting their own WordPress instance, like OP is. If setting up a static site generator is too difficult, they definitely shouldn't be running WordPress themselves.
- temp8964 5y agoThe easy Hugo or Jekyll setups do not match the features of WordPress. So they are not easy.
- jiggunjer 5y agoWhat features are the main considerations?
- sneak 5y agoDoing everything in a web browser without editing local files, mostly. "Open a text editor" or "git commit" are enough to put off people who don't think of themselves as computer people even though complexity wise they are no different than WP, simply because you gotta leave the browser.
- 0xbadcafebee 5y agoWhy do you not want to use somebody else's service?
- shadowgovt 5y agoFor me, mostly control. I've been writing my blog in Markdown for ages, but Blogger only natively supports its bad WYSIWYG editor or pasting raw html. I've decided the friction in pipeline is enough that I kinda want to cut it out of the loop.
- deleted 5y ago[deleted]
- sircastor 5y agoFor all the Hugo and Jekyll and other static site generators mentioned, you can run Wordpress locally and have it generate static output. Granted, it would be with a plug-in, but presumably not accessible from the outside world.
- withinboredom 5y agoYou can use php-fpm and nginx’s built-in fpm cache. No plugin required.
- z3t4 5y agoAnything that can be written to and executed from the Internet will be a security issue. The only thing your public facing web server should be able to write to is the log file.