#dev 2024-12-08

2024-12-08 UTC
hatkirby, eitilt, gRegorLove_ and MyNetAz joined the channel
#
Kolev
I think I got Bridgy set up. But now, I don't know how to make a note.
#
angelo
!tell gRegor you asked if i was using mf2py for indieweb.rocks. yes, but also mf2util. so don't forget to leverage xray for the representative hcard and implied feed utility for indiewebify.
#
Loqi
angelo: gRegor left you a message 3 weeks, 3 days ago: the IndieAuth github issue I mentioned for client discovery: https://github.com/indieweb/indieauth/issues/133
#
Loqi
Ok, I'll tell them that when I see them next
gRegor joined the channel
#
gRegor
angelo, yeah, IWM uses the mf2-cleaner util for rep h-card and some other stuff on top of php-mf2 parser
#
Loqi
gRegor: angelo left you a message 5 minutes ago: you asked if i was using mf2py for indieweb.rocks. yes, but also mf2util. so don't forget to leverage xray for the representative hcard and implied feed utility for indiewebify.
#
gRegor
So we should be good in either direction on that
#
Kolev
Can WordPress put note index at /notes/ and individual notes at /2024/12/07/text-of-note/
parnikkapore_x joined the channel
#
Loqi
misses this too
eitilt joined the channel
#
gRegor
started pushing the in-progress code to a branch with, well, just a readme, but it's a start: https://github.com/gRegorLove/indiewebify-me/tree/slim-migration
#
gRegor
More tomorrow, promise, but tired and need to rest now :)
MyNetAz and [schmarty] joined the channel
#
[schmarty]
gRegor++
#
Loqi
gRegor has 27 karma in this channel over the last year (132 in all channels)
eitilt, eitilt1, barnaby, paotsaq, Guest6, barnabywalters, chrisaldrich, bterry, peterkaminski, angelo, geoffo and gRegor-mobile joined the channel
#
[manton]
[snarfed] Following up on that ActivityPub ID thing… I remember how I approached this now. The top-level activity gets a m.b domain ID, but the `id` and `url` in the “object” field use your own domain name. I guess I’ll change this but honestly it’s really hard to see why this is wrong.
#
[snarfed]
yes! I don't mean that it's wrong, just that lots of fediverse software will probably reject it because they use crude same-domain checks for authorization, which this will fail
#
[manton]
Yeah. Oh well.
#
[manton]
I think it’s an easy change, at least. Will roll it out today if I don’t hit any problems.
LJoestar, jonnybarnes, eitilt, sebbu2 and gRegor joined the channel
#
Kolev
Is there a guide to using 11ty for IndieWeb?
#
Kolev
Seems dependent on Netlify. I just have a regular HTTP server right now.
#
Kolev
I also looked at Indiekit but it seems dependent on nonfree MongoDB still.
#
Kolev
capjamesg[d], I'm also considering your Aurora.
#
[aciccarello]
Kolev, I use Indiekit without MongoDB
#
[aciccarello]
There are some features that don't work without a DB but I can post to my site
#
Kolev
[aciccarello], good. Maybe I can use Indiekit. Or is using Indiekit unnecessary, when you have Bridgy?
#
[aciccarello]
They do different things
#
[aciccarello]
So I use Indiekit as my micropub endpoint. It writes posts to a git repo. 11ty then generates HTML from my markdown files and publishes them using Netlify but you could also use any process that copies files to your server. Then bridgy fed reads the posts on my site and publishes them via activity pub.
#
[aciccarello]
Does that make sense?
#
[aciccarello]
I have some more details and links on my colophon page: https://www.ciccarello.me/colophon/
#
Kolev
I don't really understand what micropub is. But regular Bridgy is what I want, so that my normal accounts are being used.
#
[tantek]
what is Micropub
#
Loqi
Micropub is an open web standard (W3C Recommendation) and API for creating, editing, and deleting posts on websites, like on your own domain, supported by numerous third-party clients, CMSs, and social readers https://indieweb.org/micropub
#
doesnm
often confuses Micropub and Microsub
#
Kolev
The diversity of tooling is also confusing. [aciccarello] do I have to use Netlify? Maybe I should just write raw HTML instead of futzing with static site generators...
#
[aciccarello]
You definitely don't have to
#
[tantek]
I highly encourage starting with raw HTML
#
[tantek]
because then if you ever do take the step to use an SSG, you can have it target that raw HTML as output
#
[tantek]
I used raw HTML for my blog for 6+ years no problem
#
Kolev
I think I have Bridgy connected to my accounts. Do I just add notes to my site, and they'll magically appear on Mastodon?
#
[tantek]
Kolev, do you mean Bridgy Fed? Because that needs an explicit per post to federate them out. Or do you mean Bridgy Publish to make copies of your posts on your Mastodon account?
#
Kolev
[tantek], Publish.
#
[tantek]
I think Bridgy Publish may be semi-automatic now if you have an h-feed of your notes setup for it to find on your home page
#
[tantek]
or you can trigger it immediately with a Webmention from your note permalinks
eitilt1 joined the channel
#
Kolev
So an h-feed links to notes. Right?
#
[tantek]
it can! it also contain their full content
#
[tantek]
what is an h-feed
#
Loqi
h-feed is a microformats2 draft specification with a top level feed object to contain root class(h-*) objects, usually h-entry posts and optionally a common author, name, and representative photo https://indieweb.org/h-feed
#
[tantek]
many of us have an h-feed on our home pages
[ilovecomputers] joined the channel
#
Loqi
[preview] This is a test. This is an IndieWeb note that should go to my Mastodon and Bluesky.
#
Loqi
Kolev has 1 karma in this channel over the last year (3 in all channels)
chrisaldrich joined the channel
#
Kolev
Hm. I have an h-feed and a note on https://bluehome.net/csh/ but Bridgy Publish hasn't picked it up.
#
[tantek]
I forget how often Bridgy Publish polls for POSSEing new posts
#
[tantek]
You can do it manually from the Bridgy UI also
#
[tantek]
go here: https://brid.gy/ and click the Mastodon button. That should take you to a UI where you can manually paste a permalink of your note and then preview how Bridgy will publish it to Mastodon and then publish it
#
Kolev
[tantek], hm. So I have to enter post URL on both Bluesky and Mastodon, and click to post. Sounds almost as bad as just re-posting manually.
#
[tantek]
no you don't "have to" unless you need it "immediately" (which is something most people eventually let go of, because that artificial sense of immediacy is how silos hook people)
#
[tantek]
also if you setup BridgyFed with Bluesky, that should also happen (semi-)automatically
#
Kolev
[tantek], Bridgy Fed changes my handle though...
#
[tantek]
no it should do no such thing
#
Kolev
[tantek], IIRC, Bridgy Fed makes your address @bluehome.net@web.brid.gy or something weird like that. It doesn't post to your actual account.
#
Kolev
Sorry that I'm not "getting it" fast enough. All of this is very convoluted, with 1,000 different implementations, many half-baked.
#
[tantek]
Kolev no that's not correct, how to use your own domain as your Bluesky address is in the BridgyFed docs: https://fed.brid.gy/docs#enhanced
#
[tantek]
Kolev, if you're looking for turnkey rather than customizable services (the "convoluted" you refer to with many different implementations), then http://micro.blog may be a better solution for you to do everything across Mastodon, Bluesky etc. from one service
#
Kolev
[tantek], micro.blog isn't self-hosted, though. I do want to have a normal website, but adding all this IndieWeb stuff to it manually is complicated. I wish there was an IndieWeb container I could spin up that would be aware of notes, syndication, etc. Indiekit looked good, if I can use it without proprietary MongoDB.
#
[tantek]
Kolev, the reality of "self-hosted" is that you have to be a developer, and comfortable with assembling from various open source implementations the solutions to the specific use-cases that you have.
#
[tantek]
In my experience this is true with anything self-hosted. Have you found anything self-hosted that is not "very convoluted" or with many "different implementations"?
bret joined the channel
#
Kolev
[tantek], Snikket is just a set of containers that you spin up, and you have a working XMPP-based messaging service that just works. No choosing your preferred XMPP server, no manually adding plugins to the XMPP server. All of the sensible defaults have been worked out. No need to assemble yourself. Just spin up a container.
#
[tantek]
and I would argue that most developers do not know what "just spin up a container" even means
#
[tantek]
there is no "just" to it
#
[tantek]
I would call anything requiring containers, especially a set of them, "horribly convoluted"
#
Kolev
You could set up Prosody manually, but the containers do all that for you, with a web UI on top.
#
Kolev
And with Jellyfin, there's only one Jellyfin. There's no "choose from ten different media servers and manually configure them." All you do is point the container to your media directory, and visit Jellyfin's web UI, press next a few times, and you're done.
#
[tantek]
what is Jellyfin?
#
Loqi
It looks like we don't have a page for "Jellyfin" yet. Would you like to create it?_9 (Or just say "Jellyfin is ____", a sentence describing the term)
#
[tantek]
never heard of Jellyfin
#
[tantek]
anyone know why GitHub would disable the pencil icon on a page?
#
carrvo
[tantek] I would agree that most self-hosted out there is "complicated" and I would agree that any specific use case would need to self assemble; but I would disagree that it is "anything self-hosted". For example it is fairly easy and straightforward to have a LAMP stack, even with different components. True, you have to write the PHP pages yourself, but the stack is there.
#
Kolev
[tantek], Jellyfin is a media server like Plex.
#
[tantek]
like I was going to try a copy edit of https://github.com/indieweb/indiewebify-me/blob/a6437e77654913882c47dd72edecfda201523e5b/templates/validate-h-card.html.php based on some feedback at IndieWebCamp and the pencil icon is disabled which is odd. Normally the pencil icon is always enabled and clicking it creates a fork if necessary
#
[tantek]
what is Plex
#
Loqi
Plex is a platform for indexing, converting, playing, sharing, and streaming your media from local or cloud storage https://indieweb.org/Plex
#
carrvo
Most non-technical consumer solutions are "just another implementation of what many do" but wrapped up with it's own choices of implementations. And it works because most people on the planet don't actually have as many differring needs as we like to think (or will find acceptable).
#
[tantek]
a-ha figured out the GitHub pencil icon problem. if viewing a random branch, the pencil icon might be disabled. this can be detected by the URL to a file having something like "blob/a643…" where a643 is some random-looking hex. if you see this, then the answer is to change the "branches" drop down in the top left under "Files" from that hex to the branch at the top typically starting with "ma…"
#
carrvo
I think a few "default" or "quickstart" solutions is what the IndieWeb movement is missing for widespread adoption (though I am impressed with how many big names have hidden support for it).
#
Kolev
carrvo: Yes. Snikket is just an opinionated XMPP server setup that does what most people expect of XMPP. It says "here's a set of tools that are known to work together for all the given features" rather than presenting you with ten different implementations that may or may not be complete.
#
Kolev
carrvo: When I first got in here, I got the impression that Known or WordPress are a "sensible default" for getting quickly onto the IndieWeb, but then people contested me on that.
#
carrvo
@Kolev I do intend to have a minimalist "solution" (non-containerized) that would be on track with what you are saying. Unfortunately it is very minimal so it is only the authentication part to be used with Apache HTTPd; no notes, syndicate, etc.
#
Kolev
Well, I did make some progress today. I composed a note and wrote an h-feed to link to it on my home page. That's a start, I guess.
#
carrvo
I do find that containers are more complicated than they should be.
#
carrvo
Kolev++ keep at it!
#
Loqi
Kolev has 2 karma in this channel over the last year (4 in all channels)
#
Kolev
Since I have made small progress today, maybe I should take a break before I get too frustrated.
#
Kolev
BTW, I'm writing raw static HTML right now. Hope that's OK.
#
carrvo
Kovlev++ WordPress as a default is a good point. It isn't something I want to get into though.
#
Loqi
Kovlev has 1 karma over the last year
#
[tantek]
Kolev++ for "composed a note and wrote an h-feed to link to it on my home page"! that is great progress!
#
Loqi
Kolev has 3 karma in this channel over the last year (5 in all channels)
#
Kolev
[tantek], not sure how sustainable it's going to be, to manually write all this HTML. I'm hoping Bridgy Publish will make it so that I only have to worry about my website, and Bridgy Publish will put my posts on @cshkc.bsky.social and @kolev@babka.social for me.
#
[tantek]
what is manual until it hurts?
#
Loqi
manual until it hurts is an IndieWeb development practice of resisting automating something until you have manually done it enough times to really understand it, and know that it is worth doing and automating https://indieweb.org/manual_until_it_hurts
#
[morganm]
Manual until it hurts sounds like the sort of sensible overlooked advice by many
#
[morganm]
It's very practical
#
carrvo
And it is documented! A minimalist solution by bringing together existing pieces https://github.com/carrvo/mindie any kind of feedback (false information, incorrect licensing, et cetera) would be appreciated.
#
carrvo
[edit] And it is documented! A minimalist solution by bringing together existing pieces https://github.com/carrvo/mindie any kind of feedback (false information, incorrect licensing, et cetera) would be appreciated.
barnaby joined the channel
#
Kolev
Oh no... This is so complicated. https://indieweb.org/Webmention-developer#How_to
#
Kolev
It should be easy with Bridgy Publish. https://indieweb.org/Webmention#Bridgy
gRegor, gRegorLove_ and troojg joined the channel
#
[tantek]
Kolev, do you have experience implementing web standards? The number of steps to send or receive Webmentions listed at that link are about the minimum for any such protocol. If you want to compare, look into what it takes to send or receive in ActivityPub for example
#
[tantek]
Bridgy Publish does something different, which is publishing to silos which themselves do not support Webmention
#
Kolev
[tantek], I just know basic HTML and CSS.
#
[tantek]
right, implementing web standards protocols and APIs usually requires (depends on) development skills and experience in one or more back end programming languages
#
gRegor
aciccarello, looks like micropub-helper supports syndicate-to querying: https://grantcodes.github.io/micropub/#/?id=syndication-targets
#
Kolev
[tantek], ah... I'm not a programmer...