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 :)
@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?
@clacke ah I think I got it, thanks for the suggestions!
@jjg I use Jekyll like this, with gitlab.
@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 There are hundreds of those.
@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.
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:
@h that's where I'm departing from (WP).
So far so good.
@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?
--noTimes flag did it :)
@jjg Should be able to 'touch' though. Baffles me.
@jjg Hey, thanks for that. Been looking for a good tutorial!
@jjg hears like you want Jekyll
@jjg The functionality is already in the Open Live Writer (with completely different technology).
social.coop is a cooperatively-run corner of the Fediverse. The instance is democratically governed by its members, who generally share an interest in the co-op model, but topics of discussion range widely.
Our instance is supported by sliding scale contributions of $1-10/mo made via Open Collective. You must have an active Open Collective account to apply for membership; you may set one up here