#dev 2024-12-23

2024-12-23 UTC
#
gRegor
what is slimphp
#
Loqi
Slim is a lightweight PHP framework for developing web applications and is used by several IndieWeb services and projects https://indieweb.org/slimphp
#
gRegor
That one, probably?
#
gRegor
Several indieweb projects use it, including IBC. I use it for some work projects too, really like it.
#
GWG
I'm thinking of trying something
[Joe_Crawford] joined the channel
#
aaronpk
GWG: oh yeah, I forked that a long time ago and then the original author deleted his, so mine doesn't look like a fork anymore
#
[tantek]2
whoa
#
[tantek]2
so no upstream tombstone
#
GWG
aaronpk: That is what I figured. I was just wondering if I could recreate a UI like that as a webapp via micropub. Thus asking gRegor about Slim.
#
GWG
Not sure if I'll do it, but...
#
GWG
I'd like it to exist, which is a good motivatiojn
[schmarty] joined the channel
#
carrvo[d]
capjamesg++ how much effort was it to implement with PyOTP?
#
Loqi
capjamesg has 42 karma in this channel over the last year (224 in all channels)
#
GWG
[schmarty]: What do I need to know?
#
[schmarty]
Lacking some framework niceness but designed for making Micropub clients, so it has built-in IndieAuth client support and form helpers for Micropub
#
[schmarty]
It powers all my bayside.pub stuff but it's also very WIP 😅
#
GWG
[schmarty]: How easy do you think it would be for bumping up a client that would query a Micropub endpoint for nearby venues and allow you to check into one?
#
[schmarty]
That in particular should be pretty easy
#
GWG
Do you use your clients on the go?
#
[schmarty]
From my phone, yeah
#
GWG
[schmarty]: What niceness is missing?
#
[schmarty]
I could tinker a start together this week
#
[schmarty]
GWG documentation, mostly, but it's also doing a lot of stuff the Slim does but from pieces.
#
GWG
[schmarty]: It would give me a way to test https://github.com/indieweb/micropub-extensions/issues/6 in real use.
#
Loqi
[preview] [dshanske] #6 Query for Location/Venue
#
[schmarty]
I would need to add support for query for location / venue on my site to test the client, haha
#
GWG
I've built everything on Press. I'd be interested to try something else in PHP regardless. Never bad to stretch a bit
#
[schmarty]
I started to do a checkin client that scrapes venues from my own past checkin posts. ("Moresquare"). Got sidetracked wanting to add latl.ong support. And more and more venue data sources are appearing to play with
#
GWG
[schmarty]: That's why I had wanted to abstract it into Micropub. Then you don't need to know what the actual source is.
#
GWG
Or rather, Micropub doesn't.
#
[schmarty]
The classic "smart client or smart server" problem
#
GWG
For Micropub, I'd rather it asks the server what venues there are.
#
[tantek]2
like at a given latlong?
#
[schmarty]
I have to sleep now but I'm happy to do some light jamming on this this week? I usually just make a subdomain of bayside.pub and hack on the production site
oodani and grufwub joined the channel
#
Loqi
[preview] [robinmoisson] staticrypt: Password protect a static HTML page, decrypted in-browser in JS with no dependency. No server logic needed.
gRegor, gRegorLove_ and barnaby joined the channel
#
carrvo[d]
doesnm++ very interesting!
#
Loqi
doesnm has 1 karma in this channel over the last year (2 in all channels)
#
capjamesg[d]
carrvo[d] PyOTP handles a lot of the technical detail, so most of my work was on UX and back-end integration.
barnaby, ttybitnik and gRegor joined the channel
#
capjamesg[d]
My reader now has a feed recovery wizard that tries to help you find a new feed to use if a URL is consistently 404.
nemonical and jonnybarnes joined the channel
#
aaronpk
is it just me or is the serviceworker spec broken? what's with the big quote block on top? https://www.w3.org/TR/service-workers/
#
aaronpk
and also is in dark mode??
#
[schmarty]
aaronpk: i don't see any quote blocks at the top that jump out at me. CSP3 is in dark mode for me, though.
#
aaronpk
this is what i see, this is scrolled to the top https://media.aaronpk.com/2024/12/23065945-7793.png
#
aaronpk
You also have a different font
#
aaronpk
I will post in the W3C slack
#
[schmarty]
Firefox on Pop!_OS. Looks like body text is specified as just "sans-serif" so it's a different system font.
ttybitnik, [aciccarello], [mattl], gRegor, geoffo_, Xe_ and sebbu2 joined the channel
#
[tantek]2
[snarfed] heads-up, the https://www.anew.social/ sign-up form does not work without JS, when it really should fallback to a simple HTML form input element and Submit 🙂
#
[tantek]2
^ also ironic that the NASA image shows up in the preview but not on the page without JS
#
doesnm
sign-up to what? Like social with bfed?
#
[tantek]2
it's right there on the home page doesnm
#
[tantek]2
not going to copy paste it, click the link
#
gRegor
[snarfed], Did the BF federation progress icon/numbers get removed? I used to see them to the right of the log links on https://fed.brid.gy/web/gregorlove.com
#
gRegor
Not a big deal, just was nice as an indicator it was working :)
#
[snarfed]
[tantek] hah, point taken! it's Ghost 🤷
#
[snarfed]
gRegor sadly yeah, sorry, they got a bit expensive. maybe I'll bring them back someday, we'll see
#
[snarfed]
results from turning them off were mixed, https://github.com/snarfed/bridgy-fed/issues/1501
#
Loqi
[preview] [snarfed] #1501 Drop per-target delivery tracking
AramZS joined the channel
#
gRegor
Understandable
grufwub joined the channel
#
capjamesg[d]
[snarfed] Why does https://granary.io/?x=81&y=39&site=bluesky#logins require an app password to get a user's profile?
#
capjamesg[d]
Side question: suppose I had to ask users for an app password. What would be the best way to store that? Encrypted in DB?