@celia I see you were using Eleventy. What don't you like about it, or static sites in general? I was thinking about using it.
@celia Why is it a poor fit for the indie web?
I'm interested in this topic: I want the security/scalability/simplicity of a static page, but I also would love to be hooked into the fediverse, which is...definitely a competing goal.
@tallblondeguy I'm unhappy with the several-minutes long build times. Granted it's because I have lazy loading, responsive imgs, and other such plugins.
Webmentions don't show until next build. No moderation. I'm not happy with a static + JS mix here as I want everyone to see the same webmentions!
If you're looking at fedi, I think ActivityPub is what you are interested in, not IndieWeb so much?
@tallblondeguy Someone mentioned write.as, I think that's a decent starting point for federation even though I don't quite like it myself so much yet. :)
I took a look through all my code yesterday, and I'm in absolutely no position to do a migration right now!
@celia write.as seems to be pretty good, federated, markdown based, I'm using wordsmith.social to use it, and it works nice for my use at least.
@mpjgregoire Hmm...Perl...that's another daunting language to learn before feeling comfortable. Thanks for the shout!
@celia I've just started to use this with gray-matter, it's great.
I'd recommend Eleventy as well, even though the output is heavier than it should be somehow.
@arh recommended Emacs with org-mode too.
@zenpanic Interesting. Do you think Next.js would allow me to build a small-ish admin area of sorts? For things like approving or deleting webmentions?
Also I'm guessing this is 100% React for my site source if I use it?
@zenpanic I've also read about stupid fast incremental builds already being available, which would cut the build times to next to nothing? Is that a thing with Next?
@zenpanic lol sorry for a bunch of questions btw, hope you're able to answer, if not, that's fine. I'll eventually do more research. :)
@celia It does read Markdown with the npm package 'gray-matter', that's what I'm using and it's pretty easy to set up.
@celia Yes it would, with Next you can even make a hybrid system, where some routes are purely static (entirely generated at build time, including the data fetching stored in json by default) and other dynamics on the same app. But yeah, your source code will be React, even though quite simple for this kind of project.
It also comes with incremental static regeneration, so it doesn't rebuild everything when you add fetched content like posts.
@zenpanic One last question, are you doing anything to programmatically update your Markdown generated HTML before it turns into the final user-facing HTML?
@celia I'm not sure what you mean. I've written a post-layout component which fetches the posts (in markdown) in their directory at build time and structure them the way I want. Once it's built there are plain HTML files that don't need to be modified, before that it's just a React component and a directory full of .md files.
@zenpanic So Eleventy has plugins that can change the HTML content at build-time... such as adding attributes, classes and so on based on defined criteria. I really like this! My plain markdown images get lazy-loaded and become responsive automatically! I wondered if something like this would be possible for Next.js?
@qwxlea I'm aware of Hugo but that'll just be moving sideways again... from one SSG to another. :/ Thanks for the recommendation tho!
@huy_ngo Ooo. I had moved from Jekyll to Eleventy. But what I'm trying to find is an ideaological in-between of WordPress and Ghost I think. 😅
@celia The only platform that consistently comes up against WP is ghost, but latest major version seems anemic and weird. Now that I think about it, I don't remember it using markdown either.
I've looked for something a long time also. Actually giving dokuwiki another chance as a 'garden and stream' type of site. Save the wiki markup language (especially headings, ugh) I'm feeling good about it so far.
@celia > I wish the Indieweb tooling was more mature.
That's exactly why I ended up ditching it. It's a fantastic concept, but it's just too much of a headache to keep track off.
I'm currently playing around in Micro.blog, not sure if I'm going to sign up for a membership though, I'm stuggling to find the value add over Mastodon.
@binyamin it’s not that I found it troubling as such, it’s just the amount of moving parts that make it (in my opinion) over-complicated and confusing. The webmention setup, a h-card, all the microformats markup, the indieAuth stuff. It’s a lot of extra “stuff” that basically amounts to comments on the front end.
@kev Why not only display webmentions? That doesn't really require upkeep. In fact, paired with webmention.io, it's basically just the "a" in JAMstack (API). I do agree that much of the indieweb stuff is overcomplicated. I like webmentions simply because it's easy comments without a database.
Incoming Webmentions (via webmention.io + PlaidWeb/webmention.js), microformats2 (just markup templating), and account linking (via brid.gy) are pretty much set-and-forget. 🤔
And even though they are 3rd-party services, they're run and maintained by the IndieWebCamp folks themselves.
Add a webring for good measure and you get *at least* a tertiary discovery network with zero upkeep IMHO.
I remember trying to cobble together a "personal wiki and blog" hybrid by storing the wiki in git and deriving the "blog view" from the commit messages, but that never really panned out. Perhaps it is worth another try now that microblogging is a thing :D
(was it coined in
https://hapgood.us/2015/10/17/the-garden-and-the-stream-a-technopastoral/ ? Haven't digested it yet but looks good)
@bhart I wonder if I still have the old content... glorious :D
@raboof I don't know if that's the original source, but it's one of the more comprehensive.
I really like the garden concept, it seems to better motivate me to write. I struggle with the temporary/chronological aspect of blogging.
@bhart they both have their strengths - gardening can be rather lonely compared to e.g. mastodon, but on the other hand a stream is so ephemeral. I wonder if a good marriage is possible.
Fosstodon is an English speaking Mastodon instance that is open to anyone who is interested in technology; particularly free & open source software.