Housecat, my new static site generator

12    29 Oct 2015 09:27 by u/mort

5 comments

1

Thanks for sharing! I haven't dug too deep (sleepy), but I like the concept (and 'make it do a thing' is my favourite approach to learning).

0

Oh, fuck yeah.

I'm migrating from the clusterfuck that is jekyll to this ASAP!

0

I would be honored. What's your website?

Keep me updated if you ever get around to moving :)

0

How's Jekyll a clusterfuck? Been using it a while now, it's fantastic.

0
  • site import half-ass works (wordpress, tumblr, etc.)
    • Not that big of a deal, until you need to hand-edit around 1000+ posts, then it's kind of a big deal
    • import doesn't handle UTF-8 encodings, doesn't tell you which file it has problems with, can't skip the problem files and continue with the import
    • I finally broke down and wrote a shell script to convert all 1K+ posts where jekyll-import wouldn't shit the bed
  • liquid tags are undocumented
    • set up tag page, tag archives, etc. It's doable, because I've done it, but it's a nightmare and it's undocumented on the jekyll site. I had to try three different implementations, found from all over the internet, before I got one to sorta half-assed work, and then I had to tweak it to make it work the way I needed it to work.
  • Templating system is inconsistent, again, mostly due to liquid tags
    • Do I use {{ content }}, {{ page.content }} or {{ post.content }}?
    • On my post layouts, I should use {{ post.title }}, right? Nope, use {{ page.title }}. Why? Who gives a shit, {{ page.title }} works, just use it.

If I had started with Jekyll, I'm sure I'd have no complaints. Migrating data into Jekyll took me several days of swearing and massaging data into a format that it simply wouldn't quit over.

I switched to Jekyll because of all of the raves from people talking about how awesome it is, and so far, it's okay, but I don't really get what the hoopla was about.

It seems overly complicated. I've got YAML, Liquid and Ruby on top of whatever SASS, oddly specific different ruby markdown parser implementation behavior and who knows what else -- just to generate a static site?

There's a lot of setup and a lot of moving parts which makes it pretty fragile. I'm just trying to host my own notes so I don't have shit scattered over simplenote, evernote, google notes and wherever else. (Yeah, I tried using different "note services" to separate things cleanly but it just resulted in me having shit spread to the four corners of the internet, so I'm corralling things into one big bucket I control now. It's going well, thanks for asking.)

I'm not a Ruby guy. I've learned enough of it to make Jekyll do what I want, but that said, I don't want to be a Ruby guy. I've got it working for now, but I'm looking for something else and I think housecat might be just the thing.

If not, then I have to write my own thing, and I don't really have the time for that right now.