Ask HN: What is setup for your static blog generator?
21–30 of 98 posts
Re: Ask HN: What is setup for your static blog generator?
#22I would use VSTS for the whole pipeline, including the Git repository hosting, but I wanted to have a public repository, in case listeners wanted to submit pull requests. So far that hasn't happened, so I'm missing out on some of the VSTS features, but maybe it still will.
I also have a weekly newsletter (https://developertoolsweekly.com/) that uses a static site generator that I build myself. It's very Jekyll-inspired and uses Liquid templates, but instead of generally processing markdown, it takes a simple list of links and descriptions and emits a website as well as the HTML and plain text for the emails.
This workflow is similar, the generator is run in a Docker container, but this workflow is entirely VSTS and Azure.
Re: Ask HN: What is setup for your static blog generator?
#23Not a direct answer, but I just wanted to point out how handy it is that you can publish to your public keybase directory, and have it hosted at keybase.pub, something like this: https://abhi.keybase.pub/2016/02/15/git-and-keybasefs.html The general gist is that keybase.io is promising that it will only serve data at abhi.keybase.pub that has been signed for by that user.
Re: Ask HN: What is setup for your static blog generator?
#24This will probably forever be too half-baked to "release", but I wrote my own: https://github.com/jakelazaroff/adjective It's written in Node and features multithreading and incremental builds for fast development. I host on Netlify, which has continuous integration built in, so it builds and deploys the site every time I push to GitLab.
Re: Ask HN: What is setup for your static blog generator?
#25No "configuration". All code. You have to assemble the libraries from npm to make anything useful out of it though. Good luck.
Re: Ask HN: What is setup for your static blog generator?
#26Less code and configuration makes it easy to add custom features; I stuck incremental rebuilds and hot reloading into my blog while keeping it below 70 LOC:
https://github.com/1wheel/roadtolarissa/blob/master/index.js
Re: Ask HN: What is setup for your static blog generator?
#27I have Jekyll setup (not recommended, see below) to generate my sites in a Docker container. The builder container outputs my websites into a volume that's shared with nginx. I have shared assets for multiple websites and had to create a custom plugin to support this setup in Jekyll: https://github.com/sumdog/jekyll-multisite There are open issues and pull requests for the plugin. I started building a test suite so I…