#dev 2018-10-18
2018-10-18 UTC
snarfed, [tantek], dougbeal|mb1, [dmitshur], [dave], renem, [eddie], ben_thatmustbeme, [Rose], gRegorLove, jjuran, tonz and cweiske joined the channel
# dansup Zegnat: compatibility with mastodon
# dansup Zegnat: yeah, webfinger isn't so bad. Nodeinfo uses something similar. https://pixelfed.social/.well-known/nodeinfo https://pixelfed.social/api/nodeinfo/2.0.json
# dansup jacky: what is Koype?
# Loqi Koype is an upcoming software project that aims to provide a one-stop shop for those looking for a single-tenant Web service to uphold IndieWeb principles https://indieweb.org/Koype
# dansup jacky: wow, nice!
[kevinmarks] joined the channel
# [kevinmarks] WebFinger--
[pfefferle] and swentel joined the channel
[Rose] joined the channel
tglobe joined the channel
[kevinmarks] joined the channel
mblaney joined the channel
# [kevinmarks] Separating the use case of autocompleting @ mentions into links from WebFinger is important.
# [kevinmarks] If your post takes off on twitter, you are likely to get bridged nastiness.
# [kevinmarks] Webmention is a hugely convoluted way to get from something that misleadingly looks like an email address to a profile url
# [kevinmarks] Autocomplete messed up there
# [kevinmarks] We wrote this up at https://www.w3.org/wiki/Socialwg/AccountDiscovery
# [kevinmarks] The autolinker implementations at the moment do assume that @ means twitter (following common plaintext practice) though I have seen @ used for Instagram too in public (which may be deliberate muddying by Facebook)
# [kevinmarks] Sure, and it was on irc before that. Most of the silos do have an autocomplete ui
[schmarty], jgmac1106, bradenslen, [eddie], [tantek], [jgmac1106], [calumryan] and [AkyRhO] joined the channel
# [AkyRhO] awesome, thanks!
# [AkyRhO] i'll try this out today
# [jgmac1106] seems everyone exports to xml, but may want to look for a json tool
# [jgmac1106] I am tempted to just archive my wordpress site and use a redirect plugin. I am leaning towards Known now but wanted to play with FrancisCMS
[Rose], swentel, jimpick and [kevinmarks] joined the channel
# [kevinmarks] There is also the silo @ mapping problem - I have had @'s be the wrong account on Instagram because I was using the twitter @
# [kevinmarks] But that can also be resolved by an h-card/rel-me cache
[Rose] and [dave] joined the channel
# [jgmac1106] [kevinmarks] why I am hoping a combination of way to follow a blog that parses the hcard and stores correct silo nick would be awesome
# [jgmac1106] I publish a follow post to your blog. You have the preferred networks as u-url. That get stored, when I then choose to syndicate to Mastodon, Twitter etc [kevinmarks] get converted to correct url for network mention
# [jgmac1106] Actually probably be easier I subscribe in my reader and it publishes a follow post through micropub and handles parsing and storing of h-card
# [jgmac1106] ... And I of course can do none of this stuff
swentel, [pfefferle], jgmac1106, [grantcodes], snarfed and [kevinmarks] joined the channel
# [kevinmarks] WebFinger
# [jgmac1106] file*
# [jgmac1106] [Rose] just listened to your show with [eddie], thought maybe I should try a GRAV solution since my recent migration efforts to Known keep failing .then you started talking YAML and headers, and I freaked..
[eddie] joined the channel
# jeremycherfas Grav is not an easy fit with IndieWeb
# jeremycherfas But I need to listen to [Rose]
[manton] joined the channel
# [manton] I've been working on ActivityPub in Micro.blog and think I may be losing my mind a little. 🙂 A bunch of things are working (following, receiving replies) but I can't seem to get a basic post sent to Mastodon. I get a 202 back but nothing happens. Anyone ([aaronpk], [snarfed]) have a minute to check my requests and see if anything stands out? I've tried several different variations of the JSON. https://gist.github.com/manton/8d50084d798924dd9
[tantek] joined the channel
[dmitshur] joined the channel
# [manton] Here it is again: https://gist.github.com/manton/8d50084d798924dd95eae00714401b22
[schmarty] joined the channel
# [schmarty] sknebel: a link to an article about GitHub Actions
# swentel [manton], more background with links to code in mastodon - https://github.com/snarfed/bridgy-fed/issues/16#issuecomment-424799599 :)
# Loqi [swentel] So I finally found out why replies don't show up. The problem is that mastodon compares the id on the object with the actor url.
See https://github.com/tootsuite/mastodon/blob/master/app/lib/activitypub/activity/create.rb#L8
See https://github.co...
# aaronpk (see the rewrite example here https://github.com/aaronpk/Nautilus#setup)
# jeremycherfas !tell eddie weirdness at myurlis Micropub’s
# jacky hmm so if I'm detecting incoming JSON, I should expect it to be kinda like j(m)f2 it looks like https://www.w3.org/TR/micropub/#json-syntax
# NinjaTrappeur Hey, I'm the person who wrote the lobsters webmention/mf2 module. I think I screw up: look at the repost section of this article -> https://aaronparecki.com/2018/04/20/46/indieweb-reader-my-new-home-on-the-internet . There's a default picture linking to my lobsters profile. I don't think this is the intented behavior, I rather whish it pointed to the repost url (
# NinjaTrappeur https://lobste.rs/s/zouoim/indieweb_reader_my_new_home_on_internet ). What did I do wrong? Should I remove the h-card embedding the user name?
# aaronpk looking at the parsed result https://pin13.net/mf2/?url=https%3A%2F%2Flobste.rs%2Fs%2Fzouoim%2Findieweb_reader_my_new_home_on_internet
# NinjaTrappeur I see
# NinjaTrappeur Subsidiary question: what would make the more sense, considering the user posting the link as the repost author or using "lobsters" (with its associated picture) as the repost author?
[chegalabonga] joined the channel
# [chegalabonga] pleeeeeeeeeeeeeeeeeeease
# [chegalabonga] Does anyone know of a good JSON LD library in php (specifically with Laravel). Just mocking up an ActivityPub example.
# [chegalabonga] just return normal JSON with the `@context` etc?
# [chegalabonga] ahh k
# [chegalabonga] that makes it easier
# [chegalabonga] for me
# [chegalabonga] thanks
# [chegalabonga] haha [jgmac1106]
# NinjaTrappeur aaronpk, thanks! I'll correct the u-author thing shortly!
# [chegalabonga] Am i right in thinking that `webfinger` is just an agreement about where a lookup is kept? As opposed to being a specific piece of code / library?
# KartikPrabhu what is webfinger?
# Loqi WebFinger is a discovery protocol for the web that uses email address-like identifiers to get info about users https://indieweb.org/WebFinger
# [chegalabonga] :thumbsup:
snarfed, [Rose] and cweiske joined the channel
# [chegalabonga] oh
# [chegalabonga] my
# [chegalabonga] god
# [chegalabonga] I have just got a working discoverable site using AP
jgmac1106 joined the channel
# [chegalabonga] https://apone.davidpeach.co.uk/actor
# [chegalabonga] haha
# [chegalabonga] Loqi
# [chegalabonga] 😊
# [chegalabonga] I think I was maybe overthinking it all
# [chegalabonga] literally followed the Mastodon docs
# [chegalabonga] one question if I may, about the public key
# [chegalabonga] how is that used? Is it stored by Mastodon (if followed on mastodon) and then used to check future messages?
# [chegalabonga] I'm not too knowledgeable able cryptography
# [chegalabonga] ah k. So as long as I keep the same key for testing
# [chegalabonga] am I okay to drop a code snippet here? For advice?
# [chegalabonga] its actually from mastodon site. In Ruby I think, but need it in PHP 😬
# [chegalabonga] okis
# [chegalabonga] Don't suppose anyone knows an example of this but in PHP? please.
# [chegalabonga] https://pastebin.com/AexWDH43
# [chegalabonga] Like a link to docs somewhere
# [chegalabonga] You in laravel too
# [chegalabonga] that class
# [chegalabonga] I think I love you
# [chegalabonga] I ve got a HTTPSignature class from [aaronpk] thanks.
# [chegalabonga] I'm building my own example ActivityPub example for learning swentel
# [chegalabonga] Thanks again [aaronpk] I cant even think how much time that has saved me
# [chegalabonga] yer hehe. and thanks
[jgmac1106] joined the channel
# [jgmac1106] migration--
# [jgmac1106] in terms of data not people
snarfed1, jackjamieson, tglobe and [cleverdevil] joined the channel
# [cleverdevil] So, I made a little action for Drafts 5 in iOS that speaks Micropub.
# [cleverdevil] Pulls the title for the post from the first Markdown h1.
# [cleverdevil] Prompts you for an IndieAuth token and Micropub endpoint and saves them for future runs.
# [cleverdevil] Also supports categories, in-reply-to, and toggling of "visibility" = "private"
# [cleverdevil] \o/
# [cleverdevil] I also discovered a bug in Known while I am at it... hah.
[eddie] joined the channel
# [cleverdevil] I'll fix that first, and when its done, I'll publish the action to the directory.
# [cleverdevil] There is a beta version of Drafts for macOS, too.
# [cleverdevil] Though, it doesn't (yet) support actions.
# [cleverdevil] Once it does, this will likely become my preferred way to compose long-form content.
# [eddie] That is good. I started writing a post on Quill the other day and had to switch to my iPad. So I had to copy and paste the text from rich text in Quill to Ulysses in Markdown so I could continue on my iPad. But then I couldn't post from Ulysses, so then I had to copy and paste into Indigenous to post.
# [cleverdevil] Yes, they sync via iCloud
# [cleverdevil] I like to take notes in Drafts on my iPhone in meetings, church, classes, etc.
# [cleverdevil] This means I can now publish those notes to my website as private posts, categorized for things like Work, Meeting, Church, etc.
# [cleverdevil] Its great!
[kevinmarks] and KartikPrabhu joined the channel
# [cleverdevil] LMK if it works for ya 😉
[tantek] and j12t joined the channel
# [cleverdevil] No.
# [cleverdevil] I don't know if Drafts really has any support for images. Its really focused on plain text.
# [cleverdevil] That's true, I suppose.
[Rose] joined the channel
# [cleverdevil] I could theoretically add support for images, but it'd involve people first storing images somewhere accessible by URL and then copy/pasting, which doesn't seem like a great experience.
# [Rose] I actually use Dropbox as an image gateway. I ought to write it up. Essentially you use Shortcuts to save to the Dropbox folder and it copies the image reference to your clipboard which you paste into Drafts. And the Drafts action temporarily replaces those URLs with Dropbox links for preview.
# [cleverdevil] I do something similar with Dropshare, which uploads to my web server.
# [cleverdevil] Still it'd be weird to have images uploaded once to Dropbox or Dropshare, and then again via the media endpoint.
# [cleverdevil] [eddie] that's a great idea, actually.
# [cleverdevil] That's a good use case.
# [cleverdevil] Would be an nice addition to Micropub media endpoints: updating an image.
jackjamieson joined the channel
# skippy I use Bear for all my notes. I see a Beat workflow for publishing to WP: https://github.com/rovest/Bear-Power-Pack/blob/master/Publish%20from%20Bear%20to%20WordPress%20on%20iOS.md
jackjamieson joined the channel
snarfed and [kevinmarks] joined the channel
# snarfed has anyone ever used twitter's API to delete a tweet? https://developer.twitter.com/en/docs/tweets/post-and-engage/api-reference/post-statuses-destroy-id
[jgmac1106] and [cleverdevil] joined the channel
# [cleverdevil] Nice [eddie]!
# [cleverdevil] Busy with some work stuff atm, but I'll check it out in a bit 🙂
# Loqi Shortcuts is an iOS app formerly known as Workflow used to automate various actions https://indieweb.org/Shortcuts
snarfed joined the channel
j12t and [Vanessa] joined the channel
# @benborges_ ↩️ Solution : #fediverse with alternative like #mastodon and decentralized identity for websites with indieauth & indieweb = putting "social media" back into the openweb.
only way to break monopolies and recreate/maintain the social graph. (twitter.com/_/status/1053023781751611394)
[Rose] joined the channel
# [Rose] Here’s a multi file/photo version of Eddie’s Shortcut by the way: https://www.icloud.com/shortcuts/90e0332c5c1c4726b318f1c57005917b
wagle joined the channel
wagle joined the channel
# [eddie] Here's the Drafts workflow I've got going on: https://indiewebcamp.slack.com/files/U433EQWG2/FDHAG3MMJ/file_from_ios.mp4
[kevinmarks] joined the channel
# [cleverdevil] This is awesome stuff!
# [cleverdevil] Good job [eddie]!
# [cleverdevil] And [Rose]!
# [eddie] Okay so I took my shortcut and [Rose]'s update of my shortcut and I updated it again. I think this is the mostly finished version: https://www.icloud.com/shortcuts/d79de6ea6b67430189eb502251168890 It allows you to upload multiple images and allows you to choose whether you want to output as URLs, Markdown or HTML
# [cleverdevil] So great.
# [cleverdevil] This Shortcut plus my Drafts action, and you've got a pretty nice workflow for creating content!
[dougbeal] and j12t joined the channel
[dougbeal] joined the channel
# gRegorLove For context, this was the issue (from -wordpress): https://github.com/indieweb/indiewebify-me/issues/75
# gRegorLove Though I noticed that method will only work for https://dougbeal.com. http version won't match the h-card.
# gRegorLove Redirecting http to https could avoid that.
j12t joined the channel
j12t_ and [jgmac1106] joined the channel