7 ms·
Setting up your own blog
- itistoday2 11y agoI just spent a good long while converting a Jekyll theme to a WordPress theme. I value WP's comments too much. Static sites require you to give control of your comments to third parties, and that, for me, is unacceptable.
- ne01 11y agoWe are working on a new blogging platform SunSed.com (still a work in progress) with focus on writing and reading experience. Just try our editor! With Emacs like keyboard shortcuts (next sentence, etc) and features like moving content up/down in the page (no copy and paste needed). Anyway!
- moonlighter 11y agoIf you don't want to go with Jekyll/Ruby, there's Hugo (written in Go): http://gohugo.io http://gohugo.io
- ryan-c 11y agoI'm using Pelican[0], which is written in Python. 0. http://blog.getpelican.com/ http://blog.getpelican.com/
- girvo 11y agoAnd I used Sculpin[0], written in PHP and uses Twig for templating. [0] https://sculpin.io/ https://sculpin.io/
- NateDad 11y agoThe nice thing about Hugo is that there's no install step. Just download and run with zero dependencies. Plus it's literally 100 times faster than jekyll. Friend of mine with a large blog (1000-ish posts) has to wait over 5 minutes for jekyll to render his whole site. He tried Hugo with the same site: 1 second. This enables live reloading in a local browser whenever you change anything in your site, which is super handy. My first post about Hugo on my (obviously) Hugo-powered site: https://npf.io/2014/08/hugo-is-awesome/ https://npf.io/2014/08/hugo-is-awesome/
- teirce 11y agoI assume you'd have to host this yourself? One advantage of Jekyll/Pages is that the hosting is free and relatively easy to set up. edit: disregard me. I was busy being a bad user who doesn't read
- NateDad 11y agoHugo is just like Jekyll. It converts markdown (or other markup) into static HTML.
- teirce 11y agoAh, I see. I didn't thoroughly read the splash page. Thank you for informing me!
- mastermojo 11y agoDoes it work with GitHub Pages? Edit http://gohugo.io/tutorials/github-pages-blog/ http://gohugo.io/tutorials/github-pages-blog/ THERE ARE SO MANY STEPS. I guess I'll eat the build time until it gets to 5 minutes.
- jordigh 11y agounder a version control system as beautiful as git? I'll grant that git can be useful and it's certainly unavoidable, but "beautiful" is not a word I would use to describe it. Git is ugly and best hidden underneath GUIs, WUIs, and frontends. Indeed, this is how most people use it. Very few of the thousands or millions of git users know more than basic usage and most do not rely on the CLI. So, in a similar vein to static blogs under version control, we have blohg for hg: http://blohg.org/ http://blohg.org/
- imron 11y ago> Git is ugly and best hidden underneath GUIs I guess I'm one of those 'very few', because every GUI and frontend I've used that tries to hide what's going on underneath has been far more cumbersome to use than the command line. The only thing I'll use a Git GUI for is to check the history/revision graph.
- jordigh 11y agoThe HN "random" sample of git users is also very skewed towards the git power users. Here is some usability research from Google et al about VCS usage: https://static.googleusercontent.com/media/research.google.com/en/us/pubs/archive/42942.pdf https://static.googleusercontent.com/media/research.google.c...
- cowpewter 11y agoGit GUIs terrify me. On the command line, I know exactly what was run and how to get back to a known good state if I muck it up (or at least where to start googling for the undo!). I have no clue what some GUI is running behind the scenes when I click some theoretically innocuous button. Or at least that is how I felt when I was a beginner to git. Now I'm confident that I could fix anything a GUI screwed up but the command line is just easier and faster for me.
- nchelluri 11y agoOn the topic of git... For the first 6 months I used git, which was because I started a new job where it was used, I stuck almost exclusively to a coworker's wiki page, "<name>'s git cheatsheet". I remember re-cloning the repo so many times when chances are there was a way I could have fixed the mess I'd created. I didn't know what I was doing and it was very complicated. It had a steep learning curve. Now, some six years later, I still only use a handful of commands regularly, but really, aside from the painful-to-read man pages (they are very clear, but contain so many flags and other tidbits), I find it very simple to understand and to use. I rarely ever get confused. I'm not a big fan of `rebase` but I can see where it would have its purpose in merging feature branches back to the trunk/master (and if I can find a coworker using it in a nice, clear way, I might adopt it myself). I never use `--force` and recommend that everyone everywhere avoid it once they've pushed. But really, and there may be some "survivor bias" involved here, I think it's a very well done system for what it does, and I am generally able to reason pretty clearly about what's going on and help others figure out what their issues are. It's quite possible that bzr/hg/darcs is a better and cleaner way of doing the same tasks, and I still have no idea about many commands and I am sure there are things that I have glossed over thinking that I understand them... but it makes sense to me; I don't like any of the GUIs (though I tend to like to "live" in the terminal as much as possible, I've seen things I don't like in both Tower and Sourcetree), and it just seems right to me. Sorry to go off on a tangent there...
- AdrianRossouw 11y agoThis is a nice client-side markdown editor for gh-pages : http://prose.io/ http://prose.io/
- dataker 11y agoI've been fascinated with Jekyll as a blog, but I wonder whether it offers the same SEO resources as Wordpress. Any experiences?
- roflmyeggo 11y agoJekyll can set the basics such as meta descriptions via YAML front matter and the page template system, custom page titles, custom URL structure, etc. You can also use proper formatting quite easily (h1, etc.) with your choice of formatting. As long as you have that covered that is all you really need for good SEO - the rest is keyword research, quality content, links, etc.
- ricardolopes 11y agoIn my experience it works great for SEO: you're in control of basically everything, so you have the freedom to play with meta tags, sitemaps, structured data, readable urls and so on. But, of course, afaik, there's no plugin with nice explanations and checkboxes to configure that stuff.
- ricardolopes 11y agoSo far, after a disappointing experience with WordPress, I've been pretty happy with Jekyll, and would recommend it. I've written a tutorial on how to set up your own from scratch, which might be interesting of you're considering that: http://ricardolopes.net/blog/setting-up-a-hackers-blog-with-jekyll/ http://ricardolopes.net/blog/setting-up-a-hackers-blog-with-...
- joelrunyon 11y agoAnother setup guide - this one's for WP - http://impossiblehq.com/how-to-start-a-blog-guide/ http://impossiblehq.com/how-to-start-a-blog-guide/
- greghendershott 11y agoWhile checking the Traffic stats for one of my projects on GitHub today, I discovered inbounds from the following site: http://www.staticgen.com/ http://www.staticgen.com/ It's interesting to see just how many static blog generators there are. :) Also, if you prefer you can probably find one written in $FAVORITE_PROGRAMMING_LANGUAGE.
- adenot 11y agoI also recommend using http://prose.io/ http://prose.io/ to edit the markdown files and commit directly to github. It even writes metadata for jekyll.
- resir014 11y agoAnother Jekyll theme that I've been using is Poole: http://getpoole.com/ http://getpoole.com/ It comes with the barebones theme, and two other sister themes.
- jasonmccay 11y agoIf you are interested in the Jekyll / Github approach, you ought to check out Octopress (https://github.com/imathis/octopress https://github.com/imathis/octopress) by Brandon Mathis. It includes all the benefits of this approach, but with a nice out-of-the-box theme as well as useful helpers to make the blogging experience much better.
- x5n1 11y agoAlso https://github.com/developmentseed/jekyll-hook https://github.com/developmentseed/jekyll-hook
- steventhedev 11y agoI've had a blog[0] on GH pages for a few years now. I wrote a few posts about how to go about setting up feeds/og tags, GA, and I really should write another one about setting up everything else. Basically, hosting a static blog is a rabbit hole. Keep track of where you came from, and share it out there. It's kinda amazing what you can do with a little bit of effort. Personal plug: I cofounded Feedio[1], which gives you a widget for doing email subscriptions (among other things). [0]: https://stevenkaras.github.io https://stevenkaras.github.io [1]: http://feedio.co http://feedio.co
- x5n1 11y agoWhat about the fact that your content is duplicated in multiple places? Does that concern you at all?
- steventhedev 11y agoTo be honest, I'm not really sure what's duplicated here. Are you talking about the markdown sources being visible through the project?
- x5n1 11y agoyeah. google indexes that.
- steventhedev 11y agoHadn't considered that. On the one hand, GH pages is a fairly popular resource for quick static site hosting, so Google should have had an engineer sit around and come up with a special filter just for that. On the other, I doubt very much that they've actually done that. All in all, as long as you set canonical tags for your posts, the duplicate content on another domain shouldn't penalize you too very much. In any case, SEO for a personal technical blog isn't a high priority for me. If I were writing books or doing something to earn money with the blog, I would probably shell out for static site hosting using S3 and Cloudfront or something.
- wiradikusuma 11y agoMaybe I'm missing something obvious, but can't you already do this with Tumblr, Wordpress or Blogger? They're Free, Open (from his description, I assume it means customizable), and Easy.
- vonwong 11y agohaha exactly what I was thinking!
- beefsack 11y ago> I wanted complete control, so Medium and Svbtle were out. You could easily argue those other services don't give "complete" control either.
- g_delgado14 11y agoWordpress is extraordinarily clunky. There's a lot of configuration you have to concern yourself with (i.e. plugins, SEO, etc). If you want a custom domain with wordpress there's even more of a hassle. With Jekyll + GH Pages you have full control of your site with as little complexity as necessary. Here's some more info: http://joshualande.com/jekyll-github-pages-poole/ http://joshualande.com/jekyll-github-pages-poole/
- bovermyer 11y agoEh. I don't get the Jekyll thing. I'd much rather run my own server. After using Blogger, WordPress, and Ghost for years in various forms, I decided (for various reasons) to just write a simple blog engine of my own to power my site. The result is here: https://github.com/BenOvermyer/obelisk-blog-engine https://github.com/BenOvermyer/obelisk-blog-engine It's not elegant, it's not extensible, and it's not really intended for anyone but me. But it works, and it's fully under my control. Any failings with it are mine, not that of anyone else.
- sergiotapia 11y agoLost me at Jekyll, I never really liked it. If you want something where you can write where inspiration hits, use something like Ghost and throw it on a cheap DigitalOcean droplet.
- isaacremuant 11y agoI used github pages to set up a test blog with hexo [1] (and posted 1 entry about xsel [2], wooh) but wasn't able to find a very clean solution to providing multi-language versions of a post (the fork someone recommended kinda broke the theme [3] which is all on me, since I didn't really know what I was doing) I'm wondering If people here have done the whole multilanguage blog (translations for each post) and what problems they've faced and solutions they've employed. [1] - https://hexo.io/ https://hexo.io/ [2] - http://isaacremuant.github.io/2014/10/27/xsel-Copy-Paste-from-the-shell-en/ http://isaacremuant.github.io/2014/10/27/xsel-Copy-Paste-fro... [3] - https://github.com/hexojs/hexo/issues/474#issuecomment-90086217 https://github.com/hexojs/hexo/issues/474#issuecomment-90086...
- ejstronge 11y agoIf you'd be open to a new framework/language, Pelican's creators seem to have considered translations of articles in designing their framework[1]. [1] http://docs.getpelican.com/en/3.6.0/content.html#translations http://docs.getpelican.com/en/3.6.0/content.html#translation...
- isaacremuant 11y agoPython's always good, thanks, I'll check it out.
- new_blogger 11y agoIs Jekyll superior to Wintersmith in any way? Am currently fiddling around with Wintersmith.
- mastermojo 11y agoI picked Jekyll cause it works out of the box with github pages.
- rshaban 11y agoYou can also do this pretty easily with Hexo, which makes it easy to push Markdown blog posts to prettily-formatted static webpages. There's easy Github integration so that creating and deploying a new blog post is as a two-command process: http://razishaban.com/2015/07/from-zero-to-hexo-a-quick-tutorial/ http://razishaban.com/2015/07/from-zero-to-hexo-a-quick-tuto...
- hawsome 11y agoHere's Github's official tutorial: https://help.github.com/articles/using-jekyll-with-pages/ https://help.github.com/articles/using-jekyll-with-pages/
- kordless 11y agoI just did Swacker[1], which does a deployment from a Github to a continous integrations build with Wercker to a hosted container on Giant Swarm. No downloaded software required. 1. https://github.com/giantswarm/swarm-wercker https://github.com/giantswarm/swarm-wercker
- kentor 11y agoFor those who want to use React to generate a static site check out the source to my blog: https://github.com/kentor/kentor.github.io https://github.com/kentor/kentor.github.io. I've ditched Jekyll because I don't want to use its template system and have ruby set up.