Today has been my first day using Crystal. I’ve installed it on Ubuntu and had a lot of fun learning the first steps in your website. I really loved the code showing strawberries in the Beatles members list. I still have a long way to go, lots to learn, but, I would like to know if it is very hard to make a static site using crystal…
Jamstack has a list with hundred of static site generators:
Well I think static site generators are already a very common thing and you can get very many different flavours. And in general, it typically doesn’t matter that much what language the generator is written in. Having one in Crystal doesn’t immediately add some benefit over others written in Ruby, Python, JavaScript, Go etc.
That being said, I actually started one as an experiment: GitHub - straight-shoota/criss: Instantaneous static site site generator and server in Crystal
It’s mostly a PoC and hasn’t gotten much updates lately. But it’s able to build a couple websites as a drop-in replecement for Jekyll. It works pretty well, and it was fun to write it.
But again, I think it’s not that much valuable to have another SSG just to have one written in Crystal. That’s why it’s incomplete
Thank you for your comment, and the link. I will install it and build a website to see how it looks like.
I’ve built a static site generator using swift (tool: publish) but it does not have a paginator. I think it would be useful to have a blog with paginator…
Was built using older Crystal version and hasn’t been updated to 1.x. If your goal is to find a static site generator in Crystal, just because its Crystal, don’t think you’ll have much luck. Are plenty of pretty robust options already out there.
I’m not going to create a static site anymore, but I want to keep learning the language.
I just bought an ebook from kobo.com called “Crystal Programming” and I am enjoying it very much!