#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 https://elk.zone/mastodon.social/@davew/110312891261193423 /users/ are asking for it :D
#
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
#
vladimyr Um, to make comparison more fair I've included raw reposts https://monocle.p3k.io/preview?url=https%3A%2F%2Fbluestream.deno.dev%2Fpfrazee.com%3Frepost%3Dinclude
#
[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?
#
vladimyr Oh right 🤦 whole personal timeline to rss
gRegor, [jeremycherfas] and [aciccarello] joined the channel
#
IWDiscordRelay <capjamesg#4492> Bsky.link offers profile level RSS feeds
#
IWDiscordRelay <capjamesg#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 <capjamesg#4492> [KevinMarks] Should we noindex bsky.link?
#
IWDiscordRelay <capjamesg#4492> Granary should parse the mf2 and turn it into RSS?
#
IWDiscordRelay <capjamesg#4492> I haven't tested this since our recent template changes; perhaps this feature has broken?
#
IWDiscordRelay <capjamesg#4492> Oh what haha.
#
IWDiscordRelay <capjamesg#4492> Whoops.
#
vladimyr Which is why I used granary links in my earlier experimentation 🙃
#
IWDiscordRelay <capjamesg#4492> I forgot to put the granary URL in there 🤦
#
IWDiscordRelay <capjamesg#4492> If anyone wants to file a PR, the file is: https://github.com/capjamesg/bsky.link/blob/main/views/feed.njk
#
IWDiscordRelay <capjamesg#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 Maybe using https://github.com/jpmonette/feed
#
vladimyr Plus some info gets lost in the conversion
#
vladimyr Compare mf2 feed parse output https://xray.p3k.app/parse?pretty=true&url=https%3A%2F%2Fbsky.link%2Ffeed%3Fuser%3Djamesg.blog
#
vladimyr With granary's generated rss feed parse output https://xray.p3k.app/parse?pretty=true&url=https%3A%2F%2Fgranary.io%2Furl%3Finput%3Dhtml%26output%3Drss%26url%3Dhttps%253A%252F%252Fbsky.link%252Ffeed%253Fuser%253Djamesg.blog
#
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
#
vladimyr After I guessed handle: https://bsky.link/?show_thread=on&url=https://staging.bsky.app/profile/davew.bsky.social/post/3jvju7twmk22d
#
IWDiscordRelay <capjamesg#4492> Can you share the link with his handle in that thread? 😄
#
IWDiscordRelay <capjamesg#4492> We do need to add DID resolution.
#
IWDiscordRelay <capjamesg#4492> I'll note that down.
#
vladimyr Also lazyweb question, is there a quick way to convert from did to handle? 🤔
#
IWDiscordRelay <capjamesg#4492> I have a Python package with a method for this.
#
vladimyr capjamesg: I would but I don't have bsky account :D
#
IWDiscordRelay <capjamesg#4492> https://github.com/capjamesg/pyatproto/blob/main/src/pyatproto/atproto.py#L409
#
IWDiscordRelay <capjamesg#4492> Here: https://bsky.social/xrpc/com.atproto.identity.resolveHandle?handle=jamesg.blog
#
IWDiscordRelay <capjamesg#4492> Oh, wait. That's handle to DID.
#
IWDiscordRelay <capjamesg#4492> Em...
#
[KevinMarks] Tread carefully with DW

#
vladimyr That's cool but I actually meant in opposite direction, yeah 🙃
#
IWDiscordRelay <capjamesg#4492> I haven't build this!
#
IWDiscordRelay <capjamesg#4492> *built
#
IWDiscordRelay <capjamesg#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 FWIW they found a /solution/ http://scripting.com/2023/05/15.html#a132038
#
vladimyr capjamesg: there is atproto /awesomelist/ you could submit bsky.link to: https://github.com/andryou/at-is-where-its-at
holiday_medley joined the channel
gRegor joined the channel
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

#
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 ?
#
vladimyr Essentially just strip /^ href="https://(?:staging.)?/" target="_blank">https://(?:staging.)?/ prefix
#
[jacky] this project looks cool https://bonfirenetworks.org/

#
IWDiscordRelay <capjamesg#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
#
Loqi ok, I added "https://bsky.link/?show_thread=on&url=https://bsky.app/profile/kevinmarks.com/post/3jvx7ul32ff2c" to the "See Also" section of /bsky.link https://indieweb.org/wiki/index.php?diff=87875&oldid=87867

#
[KevinMarks] That's what I hoped would happen

#
IWDiscordRelay <capjamesg#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 <capjamesg#4492> vladimyr I don't have any 😢
#
vladimyr capjamesg: no worries I can always blindly flatten some promise chains :D
gregsplace joined the channel
#
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
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
#
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
#
[tantek] new rel=me implementation: https://www.mediawiki.org/wiki/Extension:RealMe

#
[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

#
Loqi ok, I added "^ https://wikis.world/@wikipedia/110396865170645710" to the "See Also" section of /rel-me https://indieweb.org/wiki/index.php?diff=87889&oldid=87888

#
[tantek] view source on my User: page https://en.wikipedia.org/wiki/User:Tantek and find the rel="me" link :D

#
aaronpk how'd you do that? I don't see an edit https://en.wikipedia.org/w/index.php?title=User:Tantek&action=history

#
[tantek] yes I put the step by step instructions in https://indieweb.org/rel-me#Wikipedia

#
vladimyr Fun starts now 🎉 https://bsky.link/feed?user=vladimyr.bsky.social
#
vladimyr Thanks, I'll give my best!
#
[tantek] capjamesg, you could add https://www.mediawiki.org/wiki/Extension:RealMe to breakfastand.coffee

geoffo joined the channel
#
[KevinMarks] If we do noindex that spoils the point of link previews - they won't be fetched

#
rubenwardy use canonical

#
[schmarty] bluesky posts kinda don't _have_ a canonical URL

#
[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.

#
[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`

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
#
[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.

#
[jacky] Interesting post about making AP support E2EE messaging https://evanp.me/2023/05/19/end-to-end-encrypted-messages-over-activitypub/

#
[KevinMarks] [capjamesg] - the meta nofollow may be a good idea, if you are worried about spidering
