Re:Ask HN: What are good blogging platforms for programmers?
by a-priori on Tuesday July 22, 2014 @01:13PM
(#8070159)
A variation of this is to push your Jekyll site to S3 and put CloudFront in front of it. It'll cost you a small amount of money each month (my sorely neglected blog costs me about $0.02/month).
Re:Ask HN: What are good blogging platforms for programmers?
by hamstu on Tuesday July 22, 2014 @01:42PM
(#8070388)
Wow, that's crazy cheap. What would a day on HN do I wonder?
Re:Ask HN: What are good blogging platforms for programmers?
by gjreda on Tuesday July 22, 2014 @01:56PM
(#8070500)
I spent a Sunday at the top of Hacker News about a year ago and I don't recall ever paying more than $5 a month for my S3 hosting.
For context, last month I had ~20,000 pageviews and my S3 + Data Transfer charges were $2.43.
Re:Ask HN: What are good blogging platforms for programmers?
by a-priori on Tuesday July 22, 2014 @03:18PM
(#8071047)
Maybe a few dollars? This is crazy cheap... there's a reason Github can offer Pages for free.
Re:Ask HN: What are good blogging platforms for programmers?
by pron on Tuesday July 22, 2014 @01:52PM
(#8070473)
Or CloudFlare.
Re:Ask HN: What are good blogging platforms for programmers?
by krat0sprakhar on Tuesday July 22, 2014 @01:37PM
(#8070358)
Cant +1 this enough. Jekyll is damn easy to get started with and host on github. To start off, you can simply clone any of the existing blogs[0] or create a new one and get started. I also have a few rake and grunt tasks written to help you manage asset packaging (all of this totally optional, btw).
[0] - https://github.com/prakhar1989/prakhar1989.github.com, http://getpoole.com/
Re:Ask HN: What are good blogging platforms for programmers?
by archagon on Tuesday July 22, 2014 @09:24PM
(#8072451)
What makes Jekyll (and other static blogging engines) so great is that they give you far more flexibility than CMSes in certain areas. Just the other day, to see if I could do it, I wrote a Jekyll plugin to parse LilyPond music notation inside a custom Liquid tag[1]. After a day or two of research and fiddling — including learning basic Ruby — I can now have beautiful sheet music in my blog posts without any actual binary dependencies server-side. (In other words, the generated site is unencumbered by my build pipeline, and I don't have to worry about maintaining LilyPond/Inkscape on my server.) If I want to change the output in the future — PNG, SVG, even HTML/CSS — I don't have to touch my original Markdown content at all; it's just another render pass. And the best part is, Github will host the HTML files for free, regardless of whether Jekyll is actually running server-side or not. All your site updates are just a git push away.
The idea that your Markdown articles are definitive, that you can add custom grammar, and that your blog is strictly a view into your writing rather than a separate content platform, should be very appealing to programmers!
[1]: http://a-jekyll-blog.archagon.net/programming/2014/06/23/sec...
Re:Ask HN: What are good blogging platforms for programmers?
by shebson on Tuesday July 22, 2014 @07:26PM
(#8072155)
Jekyll with GitHub Pages is a great solution, but it's worth mentioning that other static site generators serve the same purpose and may be a better fit for you, depending on your preferences. Hyde is a very flexible static site generator based on Django, and Metalsmith is a very promising static site generator built on Node. Whatever static site generator you use, hosting on S3 is easy and cheap, and it's easy to automate deployments via Grunt or Gulp.
Re:Ask HN: What are good blogging platforms for programmers?
by billmalarky on Tuesday July 22, 2014 @01:43PM
(#8070409)
Were you using caching at all? There's a decent plugin called wp super cache that builds flat html files of all your posts and serves those instead of hitting PHP.
Re:Ask HN: What are good blogging platforms for programmers?
by minimaxir on Tuesday July 22, 2014 @01:46PM
(#8070430)
Yep, I was using WP Super Cache and CloudFlare.
Whether or not it was actually working as intended on the shared environment, I'm not sure.
Re:Ask HN: What are good blogging platforms for programmers?
by srom on Tuesday July 22, 2014 @01:54PM
(#8070485)
As an alternative, you could consider Hugo (http://hugo.spf13.com/overview/introduction), which gives more flexibility regarding the organisation of files and urls.
A year ago, I used Wordpress on shared hosting, then my service was terminated once I hit the front page of HN (~300 concurrent users). I've been using Jekyll + GitHub Pages since, and I've had no issues whatsoever, aside from the occasional GitHub outages.