Hacker News new | ask | show | jobs
by pknopf 2811 days ago
This blog post really captures the motivation behind me creating statik.

https://github.com/pauldotknopf/statik

> This is a simple tool/library. There are no opinions or abstractions, aside from the abstraction needed to host and export content. There is nothing preventing you, the developer, from doing what you want with your project. Parse and render markdown files in a directory for a blog? Build a user manual? What ever you want, you can do.

I used it for my resume: https://github.com/pauldotknopf/resume

See my other HN comment.

https://news.ycombinator.com/item?id=18011099

> I tried using Gatsby for a project of mine. The moment I tried to do anything not supported OOTB, it seemed I was fighting the tooling (and webpack) at every corner. It was incredibly difficult just to get a simple tree navigation.

> One thing I thankful for though is that it gave me a new-found love for the simple and non-flashy libs/tooling.

> In the end, I wound up writing my own static site generator.

> You may say to yourself "So you just wrote your own Gatsby!?"

> No, I didn't. I wrote a thin lib that you can register endpoints and extract them to disk. It does absolutely nothing else. The idea is that I will wrote my own markdown rendering, navigation, html/css, etc for each project. "But what about the time it takes to implement all the features you need!" The time it takes to implement these minor things take far less time in the long run, and I will never have to be in an endless fight with the tooling to get simple tree navigation. Every feature I implement is exactly what I need, no more, no less.

> Sure, it isn't as cool as React, webpack, etc. But I'm a lot happier.

1 comments

Wow, you really hate Gatsby don't you?