#dev 2023-05-19

2023-05-19 UTC
eitilt joined the channel
#
vladimyr
Spotted interesting bsky tool: https://bluestream.deno.dev/
#
vladimyr
Generates rss feed of given bsky handle
#
shreyanjain[m]
cool, i'll probably still use bsky.link's mf2 feed
#
shreyanjain[m]
but rss support is good
#
vladimyr
shreyanjain: you gave me an idea of throwing granary into the mix and getting rss out of bsky.link
#
vladimyr
Result is kinda messy
#
vladimyr
Compared to bluestream's output
#
shreyanjain[m]
the differences are mostly aesthetic
#
shreyanjain[m]
i do notice granary is faster though
#
shreyanjain[m]
personally i have a slight preference for bluestream
#
[snarfed]
vladimyr you may also be interested in https://bluesky-atom.appspot.com/
#
shreyanjain[m]
ah, that's another nice concept
#
vladimyr
Thanks [snarfed]! I was wondering who made that thing until I saw the link to source :D
#
vladimyr
Any chance to lift the password requirement?
#
[snarfed]
you need it to get your feed
#
[snarfed]
(bluesky-atom's feed is posts from everyone you follow, not just your posts)
#
vladimyr
Oh right 🤦 whole personal timeline to rss
gRegor, [jeremycherfas] and [aciccarello] joined the channel
#
IWDiscordRelay
<c​apjamesg#4492> Bsky.link offers profile level RSS feeds
#
IWDiscordRelay
<c​apjamesg#4492> https://bsky.link/feed?user=jamesg.blog
pharalia joined the channel
#
vladimyr
capjamesg: umm I somehow managed to miss it both in the code and in the browser but it is totally on me 🤦
#
vladimyr
Oh now I get it! I saw alternate application/rss+xml link tucked inside html, previewed it in monocle and called it a day
#
vladimyr
But when I went back inside code I couldn't find how and where did you generate that xml
#
vladimyr
Because it doesn't really exist 🙃
#
vladimyr
Monocle showed me mf2 feed
#
vladimyr
Sure one could use granary or whatever mf2 to rss bridge is available but real rss feeds are not provided out of the box
#
vladimyr
So I suggest you to drop that alternate link from the template cause if folks are using autodiscovery to find rss/atom feed they'll end up subscribing to incompatible source
#
IWDiscordRelay
<c​apjamesg#4492> [KevinMarks] Should we noindex bsky.link?
#
IWDiscordRelay
<c​apjamesg#4492> Granary should parse the mf2 and turn it into RSS?
#
IWDiscordRelay
<c​apjamesg#4492> I haven't tested this since our recent template changes; perhaps this feature has broken?
#
sknebel
capjamesg: but you dont provide a granary link
#
IWDiscordRelay
<c​apjamesg#4492> Oh what haha.
#
IWDiscordRelay
<c​apjamesg#4492> Whoops.
#
vladimyr
Which is why I used granary links in my earlier experimentation 🙃
#
IWDiscordRelay
<c​apjamesg#4492> I forgot to put the granary URL in there 🤦
#
IWDiscordRelay
<c​apjamesg#4492> If anyone wants to file a PR, the file is: https://github.com/capjamesg/bsky.link/blob/main/views/feed.njk
#
IWDiscordRelay
<c​apjamesg#4492> Otherwise I'll get to it later today.
#
vladimyr
Might do it later on, I'm on currently on mobile
#
vladimyr
That being said it would be really nice to use some npm rss/jsonfeed package and generate feed directly to avoid whole bluesky api to html to granary intermediate repr to feed output
#
vladimyr
*that whole dance
#
vladimyr
Plus some info gets lost in the conversion
#
vladimyr
Namely author.url
gRegor joined the channel
#
vladimyr
[capjamesg]: [KevinMarks]: just saw this Dave Winer's tweet (opportunity for promotion 🙃) https://nitter.nl/davewiner/status/1657013680674938881 and it turns out that bsky.link fails to resolve did
#
Loqi
[preview] There was an error fetching data from Bluesky. Connection problem, try reloading
#
IWDiscordRelay
<c​apjamesg#4492> Can you share the link with his handle in that thread? 😄
#
IWDiscordRelay
<c​apjamesg#4492> We do need to add DID resolution.
#
IWDiscordRelay
<c​apjamesg#4492> I'll note that down.
#
vladimyr
Also lazyweb question, is there a quick way to convert from did to handle? 🤔
#
IWDiscordRelay
<c​apjamesg#4492> I have a Python package with a method for this.
#
vladimyr
capjamesg: I would but I don't have bsky account :D
#
IWDiscordRelay
<c​apjamesg#4492> Oh, wait. That's handle to DID.
#
IWDiscordRelay
<c​apjamesg#4492> Em...
#
[KevinMarks]
Tread carefully with DW
#
vladimyr
That's cool but I actually meant in opposite direction, yeah 🙃
#
IWDiscordRelay
<c​apjamesg#4492> I haven't build this!
#
IWDiscordRelay
<c​apjamesg#4492> *built
#
IWDiscordRelay
<c​apjamesg#4492> [KevinMarks]? Maybe in #chat?
#
vladimyr
Regardless of DW's finicky persona this actually pointed me to another possible improvement, it would be nice to leverage id fragments to autoscroll to linked post in thread mode?
#
vladimyr
capjamesg: there is atproto /awesomelist/ you could submit bsky.link to: https://github.com/andryou/at-is-where-its-at
#
Loqi
[preview] [andryou] at-is-where-its-at: A collection of AT Protocol projects
holiday_medley joined the channel
gRegor joined the channel
#
capjamesg
[KevinMarks] Do you want to add your name to the bsky.link footer?
jonnybarnes joined the channel
#
vladimyr
capjamesg: wow 🎉 👍
#
[KevinMarks]
Can do - I'm afk for the rest of the day, but happy for you to add me
#
[tantek]
capjamesg, is there a need for bsky.link to have to specify things like feed?user= ? i.e. presumably you can detect whether a URL is to a profile or a permalink and then automatically do the right thing. I.e. bsky.link/jamesg.blog should "just work"
#
[tantek]
I can also file an issue for that if you prefer 🙂
#
vladimyr
Assuming that in future there will be more homeservers to pick from maybe it is good idea to include bsky.app as part of bsky.link generated url
#
vladimyr
bsky.link/bsky.app/profile/james.blog ?
#
IWDiscordRelay
<c​apjamesg#4492> [tantek] File an issue 🙂
geoffo joined the channel
#
vladimyr
I'd x-ray it but demo instance is so slow it simply times out https://campground.bonfire.cafe/post/01GZ8CZE0EECH6EQ8FXWAFAZFT#activity-01H0SCPEART78BCN0KZ6DRRZ39
#
vladimyr
Couldn't find mf2 in curl output
#
vladimyr
Apparently supports activitypub https://podcast.thinkingelixir.com/136
#
vladimyr
Yup, this is what I got back asking for activitypub resource https://ttm.sh/WVt.jpeg
#
[tantek]
^ that's pretty cool, looks like Loqi was able to extract the mf2 from that bsky.link URL and add the contents directly to the wiki
#
[tantek]
bsky.link++
#
Loqi
bsky.link has 1 karma over the last year
#
[KevinMarks]
That's what I hoped would happen
#
IWDiscordRelay
<c​apjamesg#4492> I love it.
#
vladimyr
Does anyone have any bsky invites left? I'd like to contribute to bsky.link but don't have set of credentials to play with 🙃
#
IWDiscordRelay
<c​apjamesg#4492> vladimyr I don't have any 😢
#
vladimyr
capjamesg: no worries I can always blindly flatten some promise chains :D
gregsplace joined the channel
#
[snarfed]
vladimyr I can give you one. I'm not on IRC, how do you want me to send it?
#
vladimyr
[snarfed]: thanks, does email work for you? vladimyr@ctrl-c.club
#
vladimyr
Or you can grab my gmail from my github.com/vladimyr profile
geoffo, KMF and [timothy_chambe] joined the channel
#
capjamesg
[KevinMarks] I have put your domain in the footer locally; will deploy later.
#
capjamesg
Any mf2.link feature requests?
geoffo joined the channel
#
vladimyr
[snarfed]: scratch that just learned that my ctrl-c pubnix access got terminated as part of making disc space for new users...
#
vladimyr
And I'm already getting enough spam so let's invite some more spammers d.vladimyr@gmail.com 🙃
geoffo and [Caleb_Hearth] joined the channel
#
vladimyr
Thanks! Today simply isn't my day though https://ttm.sh/WVW.jpeg
#
vladimyr
Best part I have no idea what did server actually return...
bterry joined the channel
#
capjamesg
Would anyone use a GitHub contribution sparkline generator?
#
vladimyr
xrpc literally returned: {"error":"InternalServerError","message":"Internal Server Error"} 💯
#
bkil
At least you got a consistent response. I've seen worse on other API. 🤭
#
vladimyr
+1 on consistency side, native app gave me same treatment
#
capjamesg
Should we noindex pages [KevinMarks]?
#
[tantek]
rel-me << MediaWiki extension implementation: https://www.mediawiki.org/wiki/Extension:RealMe
#
Loqi
ok, I added "MediaWiki extension implementation: https://www.mediawiki.org/wiki/Extension:RealMe" to the "See Also" section of /rel-me https://indieweb.org/wiki/index.php?diff=87888&oldid=87567
#
capjamesg
Yessss!!!
#
capjamesg
rel=me++
#
capjamesg
relme++
#
Loqi
relme has 1 karma over the last year
#
aaronpk
oh wow
#
[tantek]
now trying to do it on my WP user: page — it's not obvious
#
aaronpk
huh yeah i don't get it
#
aaronpk
is it supposed to be live on wikipedia.org right now?
#
[tantek]
it is live!
#
[tantek]
view source on my User: page https://en.wikipedia.org/wiki/User:Tantek and find the rel="me" link :D
#
aaronpk
ohhh it's in the account settings
#
[tantek]
yes I put the step by step instructions in https://indieweb.org/rel-me#Wikipedia
#
[tantek]
since it wasn't obvious
#
capjamesg
Welcome to bsky!
#
capjamesg
Any and all contributions are welcome!
#
vladimyr
Thanks, I'll give my best!
#
[tantek]
capjamesg, you could add https://www.mediawiki.org/wiki/Extension:RealMe to breakfastand.coffee
#
capjamesg
2 mins.
#
capjamesg
Oh no haha.
#
capjamesg
I need to upgrade the wiki first.
#
capjamesg
I'll add it to my TODOs.
#
capjamesg
aaronpk How do you keep the IndieWeb wiki up to date?
geoffo joined the channel
#
[KevinMarks]
If we do noindex that spoils the point of link previews - they won't be fetched
#
[tantek]
why would you do noindex?
#
capjamesg
I didn't want Google to index all the posts as ours.
#
capjamesg
Or maybe it wont be a problem when Bluesky has open web clients.
#
rubenwardy
use canonical
#
[schmarty]
bluesky posts kinda don't _have_ a canonical URL
#
[tantek]
^ yes, put rel=canonical on the bsky-app link so search engines know to treat that as "more" canonical, however they won't find any content there, so they'll index the bsky.link "preview" instead, which is fine
#
[tantek]
[schmarty] however in the context of a bsky.link URL, there *is* a http://bsky.app link as a parameter so that can be linked to as a canonical
#
[schmarty]
yeah it's weird that there are _technically_ URLs but they give a 200 response with a login form instead of content.
#
[tantek]
lol I have to add .world due to Wikipedia's @-@
#
[schmarty]
ooh nice to see they are at least actually serving `http://bsky.app` links. a week or two ago those were 404s while the "real" URLs were on `http://staging.bsky.app`
#
[tantek]
tfw you have update a library before you can publish your post
geoffo joined the channel
#
@MeritzPress
There is no mercy, The brain needs a good bashing, Intervals of self-condemnation, Will dictate the norm - from Inflicting Influence, Barbarity. Free excerpts. Order at http://amzn.to/2CF8fts or kindle http://amzn.to/2CV3tw4 #barbarity #literature #paperback #indieauth
(twitter.com/_/status/1659670520705568770)
holiday_medley and gRegor joined the channel
#
gRegor
^ was very confused until I got to the hashtags
#
[KevinMarks]
Is there a way to say to index the current page but not crawl they outbound links from it? now we are linking the posts and users, it is a spider ready site.
#
aaronpk
isn't that rel=nofollow?
#
[tantek]
[KevinMarks] lol literally ^
#
aaronpk
`<meta name="robots" content="nofollow" />`
#
[tantek]
do you want it to nofollow all links?
#
[jacky]
Interesting post about making AP support E2EE messaging https://evanp.me/2023/05/19/end-to-end-encrypted-messages-over-activitypub/
#
aaronpk
oh no evan 🙈 "I think a simple Offer activity with a public key object should manage the process pretty well"
#
aaronpk
(re key management)
#
[jacky]
TOFU as TOFA
#
[jacky]
hmm maybe TOFO (Trust on First Offer)
#
aaronpk
nothing about key management is simple
#
[KevinMarks]
[capjamesg] - the meta nofollow may be a good idea, if you are worried about spidering