#dev 2018-05-23
2018-05-23 UTC
eli_oat, Drew and [miklb] joined the channel
tantek and [kevinmarks] joined the channel
# [kevinmarks] What's a wrapper in this context?
renem, leg, eli_oat, cweiske and snarfed joined the channel
oodani, snarfed, jjuran_ and AngeloGladding joined the channel
# Ruxton i saw this https://github.com/dshanske/indieweb-post-kinds/issues/165 somewhere earlier and started coding it, completely unrelated
# @bastianallgeier ↩️ 😱 And afterwards he’s going to hang out with you to discuss the OAuth implementation on his website and that he wants to integrate webmentions next but still isn’t sure if his PHP skills are enough. 😱😱😱 (twitter.com/_/status/999178159139491840)
swentel, jeremycherfas and sherab1 joined the channel
# jgmac1106 [kevinmarks] ttps://via.hypothes.is/https://www.kqed.org/mindshift/40040/the-benefits-of-helping-preschoolers-understand-and-discuss-their-emotions
[mrkrndvs] and [kevinmarks] joined the channel
# @jgmac1106 Can we have an #IndieWeb webmentions credentialing system? #OpenBadges: https://jgregorymcverry.com/can-we-have-an-indieweb-webmentions-credentialing-system-openbadges/ https://t.co/BPc4XL5HXJ (twitter.com/_/status/999240790323924992)
gRegorLove_ joined the channel
gRegorLove_ joined the channel
[unoabraham], tantek, [kevinmarks], [jgmac1106], barpthewire, [wiobyrne], sherab, [Sherab] and snarfed joined the channel
snarfed joined the channel
tbbrown joined the channel
# [jgmac1106] i stick photos in non-photo posts alot
# Loqi [snarfed] more research, based on viewing https://twitter.com/schnarfed/status/627581493137637376 while logged out:
facepile in the html includes both retweets and likes, and doesn't distinguish between them:
```html
<li class="avatar-row js-face-pile-c...
# petermolnar fyi: self hosted, pre-trained image recognition in python: https://opensource.com/article/18/5/getting-started-luminoth - from my initial tests, it requires a significant amount of resources, but the "fast" set is reasonable
[miklb] joined the channel
# [jgmac1106] [unoabraham] this is 9.2 (didn't have sftp set up on work laptop) but made this: https://bookmarks.jgregorymcverry.com/
# [jgmac1106] yes Kieth Grant
# [jgmac1106] [unoabraham] I can set it to public or private and then add the WordPress plug-in when a bookmark goes from private to public if I want to share
[keithjgrant] joined the channel
# [keithjgrant] Are you on FF or Chrome?
# [keithjgrant] No, that shouldn't matter
# [jgmac1106] I get hung up here: Authentication successful Retrieving access token... as well, but I know my micropub endpoints are broken
# [keithjgrant] In FF, go to about:debugging
# [keithjgrant] Check enable add-on debugging
# [keithjgrant] Then open debugger for Omnibear
# [keithjgrant] You can inspect the network requests
# [keithjgrant] See if anything pops out there
# [miklb] not really I see a 304 for “https://omnibear.com/auth/success/?code=”
# [keithjgrant] omnibear.com is returning 304?
# [keithjgrant] Does your endpoint return syndicate-to data?
maingo joined the channel
# [keithjgrant] Oh, 304 means not modified. Should be ok.
# [keithjgrant] If you open up settings, do you have any Authentication details set?
# [keithjgrant] I think my next task is going to be better logging
# [keithjgrant] A lot of these issues, but no visibility into what's happening
# [keithjgrant] (that and fixing reply-to, because that big is just embarrassing)
# [keithjgrant] s/big/bug
[eddie] joined the channel
# Loqi Indigenous is a set of native apps for iOS and Android currently in beta that supports posting your website using Micropub and a built-in reader that supports Microsub https://indieweb.org/Indigenous
# [jgmac1106] @indigenous is awesome
leg and jgmac1106_ joined the channel
# sknebel so https://github.com/indieweb/wordpress-indieauth/issues/41 is outdated? (last post by aaronpk shows an error message?)
# [keithjgrant] Indieauth.com isn't reading rel=me links on Twitter. Is the t.co redirect breaking it?
# [jgmac1106] and this is probably why all my webmentions from myself are being marked as spam comments
# jgmac1106_ micropub doesn’t work for me for other unknown reasons
# pstuifzand skippy, did you try to use ekster?
# pstuifzand did docker-compose up not work?
# pstuifzand I think you use nginx-proxy right?
# pstuifzand ok
# pstuifzand what is caddy?
# Loqi Caddy is an HTTP/2 web server, built for designers, bloggers and developers, with a simple configuration and automatic TLS https://indieweb.org/Caddy
# pstuifzand Can you proxy a port with that?
snarfed joined the channel
# pstuifzand I created a virtual host with "microsub.example.com" as domainname
# pstuifzand and added https://microsub.example.com/microsub as on microsub endpoint on my website
# pstuifzand like this: <link rel="microsub" href="https://microsub.stuifzandapp.com/microsub">
# [keithjgrant] @sknebel really? I see rel="me nofollow noopener" on my Twitter profile
# [keithjgrant] Seriously, they're serving different markup to the browser than curl? 😩
# pstuifzand did you add the microsub link ?
# pstuifzand which url do you use?
# pstuifzand and monocle?
# pstuifzand what is monocle?
# Loqi Monocle is an open source IndieWeb-enabled reader developed by Aaron Parecki https://indieweb.org/Monocle
snarfed joined the channel
# pstuifzand I see ekster running, it responds with the very helpful: Can't validate token
# pstuifzand micropub itself is not needed, but I guess no one uses it without one
# pstuifzand skippy, do you see some of the predefined channels?
# pstuifzand nice
# pstuifzand so that part is working
# pstuifzand monocle doesn't have the interface for adding feeds, but Together does
# pstuifzand Can you login with Together?
# pstuifzand I think that should be optional as well
# pstuifzand you can add feeds with the (+) on the right
# pstuifzand the easiest is to input the full url of something that has MF2 html, or some sort of feed: RSS, Atom, Json feed
# pstuifzand you can't
# pstuifzand Together uses a two step approach for adding feeds
# pstuifzand First you search and second you preview one the feeds
# pstuifzand So you can see if the url contains something that works with the microsub server
# pstuifzand yes
# pstuifzand sometimes you need to click one of the other channels
# pstuifzand Also you can few the feeds in Monocle as well now
# pstuifzand s/few/view/
# pstuifzand added the issue
# pstuifzand it will now try to fetch the feeds every hour
# pstuifzand which should be made smarter
# pstuifzand also if the feeds support WebSub or Pubsubhubbub, it will subscribe to the hub
# pstuifzand Some feeds support websub, added items will be fetched in realtime when a post was added
# pstuifzand what is websub
# Loqi WebSub (previously known as PubSubHubbub or PuSH, and briefly PubSub) is a notification-based protocol for web publishing and subscribing to streams and legacy feed files in real time https://indieweb.org/WebSub
# pstuifzand I have to go now, bye!
# aaronpk there's also a reload button here https://monocle.p3k.io/debug
# tantek.com moved /2018/Sessions to /2018/Schedule "that's where it has been in previous year"
# tantek.com deleted /2018/Schedule "Deleted to make way for move from "[[2018/Sessions]]""
snarfed, chrisaldrich and KartikPrabhu joined the channel
renem joined the channel
# www.boffosocko.com edited /micro.blog (+179) "/* Resources */ great list of Micro.wiki, Resources for Micro.blog" (view diff)
# snarfed found it in https://translate.google.com/translate?sl=auto&tl=en&u=https%3A%2F%2Freext.ru%2Fblog%2F%3Fp%3D214 (scroll down to "UPDATE 05/23/2018")
[tantek] joined the channel
# snarfed aaronpk: i've only tested browser user agent with the favorites endpoint, eg https://twitter.com/i/activity/favorited_popup?id=998777664868532224
KartikPrabhu and [miklb] joined the channel
# KartikPrabhu wth! did twitter do to the source!
# KartikPrabhu lol! twitter profiles now don't evne load without JS
# KartikPrabhu twitter--
# snarfed swentel: yeah, https://github.com/snarfed/bridgy/issues/823
[keithjgrant] joined the channel
# [keithjgrant] What a cluster
tglobe joined the channel
# tglobe doing all the clicking you get to the mobile site (https://mobile.twitter.com/argovaerts for example)
# snarfed hmm actually https://developer.github.com/v3/troubleshooting/#why-am-i-getting-a-404-error-on-a-repository-that-exists says 404s can be caused by bad auth
# snarfed [tantek]: also have you ever bridgy published anything on that repo before? this says orgs can block API write access: https://developer.github.com/changes/2015-01-19-an-integrators-guide-to-organization-application-policies/
# sknebel snarfed: you could maybe use https://developer.github.com/v3/guides/discovering-resources-for-a-user/#discover-the-repositories-that-your-app-can-access-for-a-user to show a list of places it does work?
Kyle-K joined the channel
tantek_ joined the channel
# tantek_ hmm https://mobile.twitter.com/i/nojs_router?path=@t doesn't seem to help
# gRegorLove_ No rel-me on mobile :/
# gRegorLove_ HTTP 405
# Loqi It looks like we don't have a page for "405" yet. Would you like to create it? (Or just say "405 is ____", a sentence describing the term)
# tantek_ <a class="url external" rel="me" href="https://t.co/imeZHaJsth">http://tantek.com/</a>
# KartikPrabhu will they last?
# KartikPrabhu I meant even in the short term given that Twitter is already mucking around with HTML
[miklb] joined the channel
# Zegnat Seems to work decently, not sure why the URL to your website is an adr: https://pin13.net/mf2-dev/?url=https%3A%2F%2Ftwitter.com%2Fintent%2Fuser%3Fscreen_name%3Dt
[jgmac1106] joined the channel
# pstuifzand aaronpk, re: websub support in ekster. yes, but it's not complete, still needs resubscribing and better hub url finding in feeds
# pstuifzand it only support huburls in HTTP Link headers with rel="hub"
# pstuifzand How much of the Microsub protocol does Aperture support?
# pstuifzand mute and block I also skipped for now
# pstuifzand WebSub is pretty cool to see working the first time
# pstuifzand Write a post, switch to Monocle and it's already there
gRegorLove__ joined the channel
# Zegnat I am not an IndieAuth.com expert, but I am guessing it doesn’t work because the intent URL does not match this regex: https://github.com/aaronpk/IndieAuth.com/blob/b0376a1f55d3eec533906f1f306a97b085e3b7a9/models/provider.rb#L33
# KartikPrabhu ha!
[grantcodes] joined the channel
# [grantcodes] Hmm I just realised if micropub supports proper querying, that is like the final part of it becoming usable as a headless cms of sorts 🤔
# aaronpk [grantcodes]: the other way to think about it is using micropub + microsub to make a headless CMS. https://stream.indieweb.org is actually a microsub channel for example.
# [grantcodes] Yeah, potentially
# [grantcodes] But that would be strange I think because microsub has a different goal
# [grantcodes] For a cms you don't need the reader parts (unread etc)
# [grantcodes] Also to meet the spec there would need to be the juggling between mf2 and jf2
# [grantcodes] My personal definition is it is completely decoupled and handles storing, updating and retrieving data. The test is if it can run on a different server to the frontend of the site
# [grantcodes] Sort of along the lines of what [cleverdevil] is working on, not sure how he is planning to retrieve the data from his micropub endpoint
[cleverdevil] joined the channel
# [cleverdevil] // a wild cleverdevil appears //
# [cleverdevil] I sort of abandoned the approach because it would require a lot more API design.
# [cleverdevil] I'd like to see Micropub be expanded to include some additional querying features (or maybe another standard?) that makes it much easier to create headless CMS
# [cleverdevil] (In fact, it would enable developers to simply adopt an existing Micropub server and then create a lightweight CMS on top!)
# aaronpk we just need a few more people to start doing it https://indieweb.org/Micropub-brainstorming#Query_for_post_list
# [cleverdevil] nods
# [cleverdevil] I'll likely take a crack at some point, but I've been so busy lately I haven't had time to iterate on puny much 😕
# [grantcodes] [miklb] If you have issues with omnibear and together it is likely to do with my micropub library
[eddie] joined the channel
# [grantcodes] Ah well I mean omnibear uses my library for auth and micropub posting
# [grantcodes] Not 100% sure how [keithjgrant] set that part up but it definitely redirects to a http(s) url
# www.boffosocko.com edited /Indieweb_for_Journalism (+250) "I Annotate conference 2018" (view diff)
[keithjgrant] joined the channel
# [keithjgrant] Yeah, it redirects to a page on Omnibear.com
# [grantcodes] [miklb] you're running the current version of omnibear from the chrome / firefox store?
# [keithjgrant] Yeah, it should be automatic (within a day or so)
# [keithjgrant] 1.0.1
# [keithjgrant] Yep
# [keithjgrant] Hoping to push an update soon with better logging for debugging
# gRegorLove__ Huh, interesting. How is/are the Twitter intent profiles uses?
# gRegorLove__ s/are/were/
# [grantcodes] Hmm well if it gets as far as the redirect but doesn't close that page it is probably something to do with fetching the token from the token endpoint
marcthiele joined the channel
# [grantcodes] So [miklb] if you are able to see a request to your token endpoint when debugging, that is probably where to look
# [keithjgrant] There have been some reports of issues fetching syndication endpoints. Though I believe if that fails, closing and re-opening the extension should still have you logged in
marcthiele1 joined the channel
# skippy "Web Intents provide popup-optimized flows for working with Tweets & Twitter Users: Tweet, Reply, Retweet, Like, and Follow. They make it possible for users to interact with Twitter content in the context of your site, without leaving the page or having to authorize a new app just for the interaction. Web intents are mobile web friendly, include native app handlers on iOS and Android when the Twitter app is installed, and are super easy to impleme
# KartikPrabhu eh! more twitter JS to include in your own site
# KartikPrabhu boo
# grant.codes edited /Micropub-brainstorming (+593) "/* Query for post list */ Add more details on the type of queries that would be useful" (view diff)
[grantcodes] joined the channel
# [grantcodes] hmm since I store my posts in a mongo database as mf2 json I got my micropub endpoint to support queries using the mongo syntax in like 5 minutes work
# [grantcodes] Not sure it is exactly useful for the rest of the indieweb but works a charm
[jeremycherfas] joined the channel
# KartikPrabhu what is mongo?
# Loqi MongoDB is server-side database software used for storage in some CMSes https://indieweb.org/Mongo
[cleverdevil] joined the channel
# [cleverdevil] I was hoping to do something similar, just with S3, grantcodes.
# [cleverdevil] But, it required too much wrangling.
# [grantcodes] Yeah aws is all a mystery to me
# [cleverdevil] I still wish there was an equivalent of SQLite, but for JSON documents.
# [grantcodes] In what way? Just a super lightweight database?
# [cleverdevil] Yeah
# [cleverdevil] Something that requires no server.
# [cleverdevil] Embedded.
# [cleverdevil] what is jq?
# Loqi jQuery is a popular JavaScript framework https://indieweb.org/jq
# [cleverdevil] Haha
# [cleverdevil] gives Loqi the evil eye
# [cleverdevil] Oooh, shiny.
# [cleverdevil] I'll read up on this on my flight this evening 🙂
# [cleverdevil] Yeah, ideally, I'd want something that has language bindings, and a nice simple query language, and works on a directory full of JSON files.
# [cleverdevil] Indexing would be great, too.
# [cleverdevil] So, its not just having to scan every time.
[jgmac1106] joined the channel
# [jgmac1106] Do folks think my Micropub htaccess and header authorization will work itself out if I switch shared hosting providers? Could just dump it all into EC2 or an S3 bucket on AWS. Trying to copy a link to a tweet into the WordPress editor on FF for Android is painstakingly difficult.
snarfed and sherab joined the channel
# [grantcodes] So many possibilities with these micropub queries! Now I can use it to sync my browser bookmarks 2 ways, create a journaling app that can display my private journal posts, create a micropub admin ui etc...
# [cleverdevil] Good point 😉
[eddie] joined the channel
# [grantcodes] The problem is going to be defining an actual standard 😬
# [cleverdevil] Indeed
# [grantcodes] The mongo query syntax is obviously great for querying json stores so it makes a lot of sense, but I could see it being a total pain to setup if your storage doesn't natively support it
# [grantcodes] Where is the micro.blog api documented? I should take a look
# [eddie] I think the biggest thing I start running into is when I start thinking of features that benefit micro.blog but not IndieWeb tech. Example: Right now Microsub has channels, micro.blog does not. So then I start thinking how I can make “Channels” for micro.blog? So then I would end up having this micro.blog configuration and management section to create channels that is totally different than microsub
# [grantcodes] Ah ok, no real query stuff in micro.blog yet
# [cleverdevil] So, I believe that MySQL and PostgreSQL use either very similar or identical query languages (maybe defined as part of a SQL standard?) for querying JSON documents.
# [cleverdevil] That might be a reasonable thing to consider.
# [cleverdevil] It’s pretty great.
# [cleverdevil] So it’s an ISO standard.
# [grantcodes] I followed some links and got to the "modern sql" site which is one of the least modern sites I have seen in a while 😛
# [grantcodes] Maybe a bit harsh. It is responsive at least
# [cleverdevil] Hehe. Yeah and the ISO standard hides behind a terms and conditions link.
# [cleverdevil] Sigh.
# [grantcodes] And a pdf in a zip
# [cleverdevil] I’m planning on working on Puny at IWS this year.
# [cleverdevil] If I can find others to join me 😀
# [cleverdevil] I really like the idea of headless CMS!
# [cleverdevil] With a defined and eventually standard API for frontends to build upon.
# KartikPrabhu sounds like micropub
# [cleverdevil] Micropub plus plus
# KartikPrabhu what is headless CMS?
# Loqi headless CMS is a Content Management System that only handles the backend parts of a traditional CMS (storage, editing interface, APIs, ...), with the visitor-facing side handled by a different system https://indieweb.org/headless_CMS
# [cleverdevil] Mediumpub?
# [grantcodes] It would certainly make it easier / more appealing for other (developers at least) to join the indieweb if there was a "micropub as a service" of sorts
# [cleverdevil] Indeed.
# KartikPrabhu what's "micropub as service" ?
# KartikPrabhu a micropub client is a service
# [grantcodes] Yeah dumb term. But it would be a hosted micropub endpoint that supports querying as well
# KartikPrabhu so it will host the content for you?
# KartikPrabhu do we really need another silo :P
# [grantcodes] Yeah but just as json
# [grantcodes] Ha well the ideal would be self hosted
# [grantcodes] sknebel kind of I guess
# [grantcodes] I don't know what the best example would be but I'm pretty sure [cleverdevil] and I have the same idea of how it would work
# [cleverdevil] Yup.
# [cleverdevil] I think Puny could evolve to become this.
# [cleverdevil] It currently uses MySQL with JSON columns for storage. With simple indexing.
# [grantcodes] Maybe https://getcockpit.com/ is kind of an example, except it wouldn't need a ui since you can use micropub clients
# [cleverdevil] Interesting. I hadn’t seen cockpit before.
# [cleverdevil] Does it support Micropub?
# [grantcodes] No chance
# gRegorLove__ what is puny?
# Loqi Puny is an experimental Micropub server, including Media Endpoint, written in Python by Jonathan LaCour https://indieweb.org/Puny
# [grantcodes] That and strapi.io seem the most interesting open source ones to me
# [cleverdevil] Okay. Five hour flight time for me. I’ll check back in maybe after I’m in the air 😀
# grant.codes edited /headless_CMS (+429) "Add more example headless content management systems" (view diff)
tantek, KartikPrabhu, [miklb] and eli_oat joined the channel