#dev 2025-03-19

2025-03-19 UTC
sebbu2, Guest6 and grufwub joined the channel
#
[tantek]
ok it's long past time for me to add a twttr "own your links" path
#
Kolev
Own your links?
#
[tantek]
you have say "what is " first
#
[tantek]
what is own your links
#
Loqi
Own your links is the concept of creating links on your own website that redirect to other properties you own, for instance social media accounts or content you have created on other websites https://indieweb.org/Own_your_links
#
Kolev
Cool.
#
[tantek]
and done
#
trwnh
wondering if there's anything better than apache/.htaccess for managing this kind of link resolution at scale
#
[tantek]
would like something better. feels odd having this kind of thing handled in htaccess. then again, I'll take htaccess over any weird language/framework specific "routing" megastructures/sidefiles.
#
[tantek]
what is routing
#
Loqi
routing (or URL routing) is a way to configure a website to have some (or all) of its URLs handled by software rather than static files; an IndieWeb site may have no routing (a static site), some routing like one directory handled by PHP or other software, or all URLs handled by a framework like Ruby on Rails with its own routing system https://indieweb.org/routing
#
[tantek]
yeah, tying your routing to a specific language/framework feels like a particularly nasty form of lockin
#
aaronpk
can confirm ^^
#
aaronpk
doing it in htaccess or nginx is also a form of lock-in, but at least those syntaxes have been stable for the last 10+ years, unlike most language frameworks that require major version updates and massive overhauls every few years
#
[tantek]
also those syntaxes are literally tied to your web server software, whereas languages/frameworks are not
#
[tantek]
aaronpk, that sounds like a personal anecdote warning worth adding to /routing
#
aaronpk
i should really dig up the archives of various iterations of how i've done it and document it
#
Loqi
I agree
#
trwnh
would be interested in that, as i am currently side-eyeing having to edit my entire nginx config and reload every time i add a one-off link
#
aaronpk
that's not as bad as it sounds. you can make a separate file for just these rules, and nginx reloads are instant, it's not like restarting the server
#
trwnh
hadn't considered making a separate file -- i assume it's as straightforward as just making that file and putting an include in the main server config?
#
[tantek]
aaronpk, that "make a separate file for just these rules" sounds like an excellent "how to" addition to /own_your_links
#
aaronpk
trwnh: yep, nginx includes are super useful!
#
trwnh
i use an "include sites/*.conf" as basically the same way vhosts are used, but i never thought to put an include in my include
#
trwnh
for whatever reason it just never occurred to me! now i have something to play with this week
#
[tantek]
yeah now I need to go through and add code to "repair" any of my tweet permalinks in my content to rewrite them to point to my own domain / local /twttr path as a step towards a future where all my tweets are backfilled somewhere on my site and I don't have to direct any readers ever to Twitter
#
aaronpk
what is canonical of?
#
[tantek]
like there's no more reason to direct someone on my site to view a copy of my post on Twitter. the other direction (Twitter -> my site) is fine
#
[tantek]
you ended your "what is" with a preposition 🙂
#
[tantek]
what is that about?
#
[tantek]
^ e.g. 🙂
#
aaronpk
what did i call that
#
[tantek]
we stopworded those a while ago
#
[tantek]
also means actual pages like /about can't be looked up in this way
#
[tantek]
what is about
#
[tantek]
oh wait I made a work around for this
#
[tantek]
what is about page
#
Loqi
"About" is a commonly occurring page or section on a site that describes who is behind the site and a summary or the purpose of the site https://indieweb.org/about_page
#
aaronpk
"original of"
#
[tantek]
what is opd
#
Loqi
original post discovery is a discovery algorithm for starting with a POSSE copy of a post and finding the original post https://indieweb.org/opd
#
aaronpk
that's the one
#
carrvo
Zegnat, good read! Too bad I'm not working with a cluster. Just good old user devices (like smartphones) and a server.
#
carrvo
The Apache and Nginx config files seem more like scripts to me! I would actually prefer if they technically *were* some scripting language.
#
carrvo
I accidentally made a prototype in PowerShell of what that could look like, but haven't had the gumption yet to give it the basic features expected to make it very usable/secure.
#
aaronpk
you can always do some lua in your nginx :D
#
carrvo
What is lua?
#
Loqi
Lua is a lightweight and embeddable scripting language that is found in many game engines, hardware devices, and server software like nginx https://indieweb.org/Lua
#
aaronpk
hmm, needs some indieweb relevance in that dfn
#
carrvo
Huh. Never heard of it.
#
carrvo
Unfortunately SVN helped push me towards Apache. Not sure how I would get the same functionality in Nginx.
#
carrvo
Very neat though!
#
carrvo
aaronpk++
#
Loqi
aaronpk has 56 karma in this channel over the last year (131 in all channels)
glacier and [Jo] joined the channel
#
sandra
https://idiomdrottning.org/donkey-zebra-bridging ?? Maybe this style would work? No worry about getting unintentionally bridged but full presense for those who are bridged
yewscion, glacier, box4647, balintm and [Trevor_Morris]1 joined the channel
#
Kolev
I can't get my Bluesky (Bridgy) to move to my new domain.
barnaby joined the channel
#
[Trevor_Morris]1
[aaronpk] I've just had a look around your site, wow, that's some impressive data. Do you have a write up on how you achieved it? I'm planning on getting more of my health data off my phone. I also like the weather/phone charging data.
#
aaronpk
Haha thanks
#
aaronpk
I don't have a singular write up but there's lots of scattered notes between the wiki pages here and my 100days posts
ttybitnik and bloot joined the channel
[qubyte], [Murray], nemonical, ramsey, NaomiAmethyst0, NaomiAmethyst, balintm, Guest47, [Trevor_Morris] and barnaby joined the channel
#
[Trevor_Morris]
Thanks [aaronpk] I will have a look through.
#
[tantek]
[KevinMarks] was that link in response to something in particular or did you have anything to add?
GWG and grufwub joined the channel
#
[KevinMarks]
I liked the idea of silly little apps, and making them indieweb friendly rather than just AP focused
balintm joined the channel
#
[artlung]1
It is astounding--or maybe not so much--how motivating a quiz and widget about _"Which Pokemon are you?!"_ seems to be.
#
capjamesg[d]
[KevinMarks] It is a great blog post!
GuestZero_ and balintm joined the channel
#
[tantek]
[KevinMarks] are those apps even AP focused? Or rather Mastodon proprietary API focused?
balintm, [mattl], [schmarty] and ttybitnik joined the channel
#
immibis
does anyone care about activitypub other than its abiilty to interoperate with apps like mastodon and kbin?
#
[snarfed]
that's...the point of activitypub, right?
#
[tantek]
so far it's succeeding with more instances and implementations as a peer to peer federation protocol than other attempts so that seems quite worth supporting, especially as a growing alternative to centralized sites.
#
[mattl]
Just added a plain text view to each of http://Libre.fm's 310 million+ scrobbles.
#
[mattl]
Also the scrobbles are cached for 6 months, the embed and plain text version for 12 months
#
balintm
that's really cool mattl++
#
Loqi
mattl has 25 karma in this channel over the last year (61 in all channels)
#
capjamesg[d]
[mattl]++
#
Loqi
[mattl] has 26 karma in this channel over the last year (62 in all channels)
#
[mattl]
balintm: I figure if I'm going to be a silo, I should provide as many escape routes as possible.
#
balintm
blessed
#
[artlung]1
[mattl]++ very nice!
#
Loqi
[mattl] has 27 karma in this channel over the last year (63 in all channels)
#
[mattl]
okay, time to add an RTF version.
ben and gRegor joined the channel
#
gRegor
mandaris, re: https://chat.indieweb.org/microformats/2025-03-19#t1742367373520300 What is the issue you're having? What's not working?
GuestZero joined the channel
#
Loqi
[preview] [mandaris] I made the changes but it doesn't seem to work. If you have he time, can you tell me what I'm doing wrong?
#
[tantek]
what is plain text
#
Loqi
It looks like we don't have a page for "plain text" yet. Would you like to create it? (Or just say "plain text is ____", a sentence describing the term)
#
gRegor
plain text is /plaintext
GuestZero, GWG and balintm joined the channel
#
immibis
an aggregator probably doesn't technically need to be a website, or community run - RSS was there already
#
immibis
[snarfed]: yes but tantek was asking whether it was AP or proprietary Mastodon API. I think in practice, AP is whatever Mastodon says it is - which has very little to do with the actual AP standard. If you're using AP to talk to Mastodon, you're using Mastodon, not AP.
#
[mattl]
Sad but true
#
immibis
with the amount of special cases in the protocol, i think it's more of a virtual campfire for people developing federated things to gather around and make sure they interoperate with each other
#
immibis
like, if you say you implement AP, that means you act like mastodon, and you hopefully tried a few other platforms and made them work too
#
immibis
as opposed to just using a mastodon-specific API that's implemented by nothing else
#
capjamesg[d]
[mattl] Looks great!
#
immibis
if mastodon would export a mastodon api, and lemmy would export a lemmy api, and lemmy would know how to talk to mastodon instances by pretending to be mastodon instead of hacking the lemmy api so it's kind of mastodon-ish enough to be compatible, maybe the fediverse would actually be more robust that way