Looking for a simple git-based blog system. I.E., “git push” and the stuff in the repo turns into some static content at the remote.
I’m thinking something that is triggered by a commit hook or some such, ideally turning markdown into markup, although I could deal with HTML in the repo if necessary.
Considering writing the whole thing myself but figured I’d ask just in case I don’t have to :)
Decided to give Hugo a shot, thanks for all the suggestions!
Found this tutorial that looks pretty good in case anyone else is looking for such a thing:
@clacke definitely want to go the self-hosted route, preferably using static files for performance, lower overhead, etc.
When you say “the generator”, are you referring to something specific?
@jjg The search keyword to start with is probably "static site generator".
One of the oldest, best known examples is Jekyll, written in Ruby. GitHub's GitHub Pages system will auto-build Jekyll-based git repositories on git push and host them on GitHub.io. You can even CNAME a domain to them. (This is how I host my personal blog, for instance.)
Many newer options such as Hugo (written in golang), Gatsby (React-based), etc. Newer static page hosts like surge.sh and Zeit's Now.
@jjg I'm going with jekyll personally. Had used it on github.io for a long time, but finally grew out of that due to wanting formatting plugins. Workflow is build-test-push, which suits me as I usually want to fix a dozen typos before I push. (Also currently busted.)
@jjg I just set up Hugo to push to Netlify and it is exactly this. Lots of nice templates to start from as well
Not really a lot of content yet, but here’s my site for reference: https://www.firewally.net
@jjg Plerd is something like that, except triggered by moving files into a (possibly remote/Dropboxed/etc) directory. Author is pretty responsive, might have some thoughts about git integration.
@h maybe you can help me out with something that I think might be Go-specific?
Working on the server-side of the deployment and I get:
"Error: Error copying static files: chtimes <private details>, operation not permitted" during the hugo command.
Of course it works with sudo, but that's not cool :)
I've confirmed that the user is in the right group, and that the directory permissions are cool, etc. (cp, mkdir all work) but I'm not sure what "chtimes" is trying to do?
The social network of the future: No ads, no corporate surveillance, ethical design, and decentralization! Own your data with Mastodon!