#dev 2022-01-28
2022-01-28 UTC
tetov-irc, j12t, joshproehl and joshproehl_ joined the channel
# @slightlylate Perhaps I'm naive and new to this stuff, but if you're gonna propose an "open protocol for the web", maybe do it based on open standards? Just spitballing. (twitter.com/_/status/1486878308180832256)
strugee, balupton[d], superkuh, [tonz], maxwelljoslyn[d], alex_, _maxwelljoslyn[d, saptaks_znc, Seirdy, nsh-, strugee_, [manton], [jeremyfelt], [tw2113_Slack_], [KevinMarks], IWSlackGateway, jjuran, sknebel, Zegnat, jacky and [jeremycherfas] joined the channel
# capjamesg[d] Has anyone here implemented IndieAuth in Python / know a lot about IndieAuth and has a good grasp of Python?
# capjamesg[d] I am adding some helper functions for IndieAuth into the indieweb-utils library. The goal is to make it as easy as possible to set up an IndieAuth server in Python.
# capjamesg[d] But it would be great to have someone look over our implementation, not quite yet but in the near future.
nanoflite, Seb[d] and [Francesco_Impr] joined the channel
tetov-irc, [Grant_Hutchins], BinarySavior and kinduff joined the channel
# Matt[m] Hey aaronpk , why do you publish a JSON feed on your site instead of RSS or Atom? I hadn't heard of JSON feeds until I went looking for a feed for your site.
# GWG- I installed a jsonfeed for the same reason
# GWG- Also I hoped it would take off more than it did
# [KevinMarks] interesting webdev https://link.wired.com/view/5be9d5af2ddf9c72dc1f8e2bfs9wr.3i3/0ce3cff3
marksuth[d], Seb[d], wackycity[d], sayanarijit[d], Eddy04[d], Christian_Olivie, Silicon[d], edburns[d], grantcodes[d], hoenir, mossymaker[d], tracydurnell[d], kimberlyhirsh[d], balupton[d], capjamesg[d], Asaf_Agranat[d], rattroupe[d], corenominal[d], Jeremiah[d], Ramon[d], MarkJR84[d], shaunix[d], hans63us[d], sarahd[d], Myst[d], maxwelljoslyn[d], aspenmayer[d] and sgreger joined the channel
jamietanna joined the channel
jacky joined the channel
# capjamesg[d] The code is largely helper functions so it doesn't aim to do everything that an IndieAuth server would, rather assist in common actions. The library uses JWT tokens in its generation / decoding so right now isn't built for a setup that would not leverage JWT.
# capjamesg[d] The PR in question is this one sknebel + jacky: https://github.com/capjamesg/indieweb-utils/pull/28 (branch indieauth_server_functions)
# capjamesg[d] Even a quick read at the code to make sure nothing is obviously wrong / missing would be great.
# capjamesg[d] src/indieweb_utils/indieauth/server.py
# capjamesg[d] I still need to write test cases for a lot of the code. That is a task for another day as this is all quite a big task.
# jeremycherfas Is there a way to get better diagnostic information out of phpMyAdmin. Im trying to import a large DB and the only error I get is Incorrect format parameter. I have increased maximum execution time and the error happens before that has been reached; not sure what else I can do.
petermolnar joined the channel
# aaronpk [manton]: out of all the example feeds on https://www.jsonfeed.org/version/1.1/ only daringfireball is actually publishing jsonfeed 1.1 ... do you know of any others?
[asuh] joined the channel
# [schmarty] ^^ it would be cool to collect those kind of content-making alternatives to silo'd apps
# [schmarty] i have a podcast buddy who apologetically made a video in tiktok because he didn't know about Clips on iOS
# [schmarty] (and remade it in like 5 minutes on Clips lol)
# jacky I think I mean something like https://github.com/eventtus/photo-editor but like how Gluon for micro.blog exists
# jacky there's this https://img.ly/photo-sdk
# capjamesg[d] [snarfed] I saw your webmention. Interestingly consolidation might be easier for me once IndieWeb utils implements all the specs I actively rely on. But I’d love to know if you know any good reads / guides on how to organize a larger Python app.
# capjamesg[d] jacky Indigenous has been officially renamed now I believe.
# capjamesg[d] It’s now IndiePass.
# capjamesg[d] (Although I get that the current stable app is still Indigenous.)
# capjamesg[d] marksuth is leading a big update effort.
# capjamesg[d] He writes about it on his blog at marksuth.dev.
# capjamesg[d] jacky++ for your comments on my PR. I really appreciate it!
# GWG- [manton] Re jsonfeed, does anyone use next_url in the wild? Micro.blog doesn't
KartikPrabhu and neceve joined the channel
# aaronpk after, and the browser is at the URL https://micro.blog/micropub/redirect?code=...&state=...
# GWG- [manton]: I want to add next url for the WordPress plugin...
jacky, [aciccarello]1, doosboox3, klez, bneil, feoh and GWG joined the channel
# [tonz] Posted in microformats, but should be here: If I were to build my own microsub client, where / how would I begin? I’ve created my own little micropub client this month, where I started with the bit that communicates with the micropub server. I suppose that would be logical here too. But unlike with micropub, where I’m sending stuff to the endpoint, in microsub I’m getting loads of stuff _from_ the endpoint. That takes somethi
# [tonz] so not much need for storage locally in that sense, unless I want to enforce my local first policy, which is ok for reading, but become less meaningful when interaction with micropub is involved. Though currently I micropub posts from my regular rss reader as a delayed action, so that could be a choice here too.
# capjamesg[d] My reader works the same way.
# capjamesg[d] Although my reader server and client are bundled, the server can be used with any client and vice versa.
# capjamesg[d] The client side just makes HTTP requests to the server as necessary.
# capjamesg[d] There are a few bonus features I can offer because the client is coupled with the server but most things are entirely interoperable.
# capjamesg[d] I don’t store anything in local storage but I’d love to get a service worker going for offline support.
# capjamesg[d] When I figure out how to use service workers that is.
# [tonz] as an aside[aaronpk] until now it always felt extremely daunting when someone suggested ‘roll your own’ version of this stuff. When you then did the demo at the 2018 Nuremberg IWC coding something from scratch, I did notice it didn’t look that hard, but a the same time thought, yeah right if you’re fluent in php / any fav language here, then it’s easy. Unlike my iterative style of coding without much actual coding experience
# [tonz] this month it sort of happened that I wrote a micropub thingy, and the actual communication is just a tiny bit of code. But once that was done, the rest felt much more basic. Now I wonder, how can I convey that to other IW community members feeling out of their depth coding wise, that when I say I got my own micropub client it doesn’t put them off further, but might draw them in.
# capjamesg[d] I’m happy to go into more depth if needed.
# [tonz] I’ve been following your blogging on this @capjamesg[d]. I think I’ll go for just viewing first too, local first perhaps later. (years ago I would load up the feedreader before leaving home, read during the commute and transform that into actions like bookmarkt this, blog that, reply to X, but though offline first for me is still good practice it is less needed in my current workflow)
# [tonz] @capjamesg[d] what I think I am aiming for is run a yarns microsub server in a separate WP install than where the micropub server is. This way yarns doesn’t clutter my site’s WP database. With hundreds of feeds I’d rather keep it separate. It does mean logging into two WP instances with two tokens, which I realised is doable if I chunk it up and make something myself.
# capjamesg[d] I have taken a lot of my feed reading work step by step. I first got the server working, then I got a desktop client working, then the mobile version, then the progressive web app.
# capjamesg[d] That is a good question.
# capjamesg[d] If not I’ll have to amend the utils PR.
# jacky My endpoint expects it and it looks like https://indielogin.com doesn't provide it (causing the sign-in flow for me to not work)
Nuve joined the channel
jacky joined the channel
jacky, Nuve and [James_Van_Dyne] joined the channel
# [James_Van_Dyne] capjamesg: I’m putting together a PR that I’d like to merge into your indieauth PR to refactor the Profile stuff a bit.
# capjamesg[d] Sure thing! Make sure you have the latest commit locally as I made a change or two per your comments earlier.
# capjamesg[d] I shall review the PR when it comes in.
# capjamesg[d] And I’ll create an issue for new indieauth test cases since that is likely going to be an ongoing initiative.
# capjamesg[d] aaronpk do you have any plans to write an official test suite / have one that’s in beta?
# capjamesg[d] No worries 🙂
# [schmarty] i did some brainstorming on this: https://indieweb.org/User:Martymcgui.re/IndieAuth-Endpoint-Testing
# [schmarty] it's a bit scattered in terms of high- and low-level details. really just capturing thoughts about different parts of a potential indieauth test suite.
tetov-irc joined the channel