#dev 2021-02-11

2021-02-11 UTC
deltab, samwilson and [fluffy] joined the channel
#
@jackyalcine
This is precisely what IndieAuth aims to do. And it’s literally something any service can implement today because it’s based on OAuth2 (y’all use this every day) https://twitter.com/arcalinea/status/1359686548430614531. It’s kinda amazing (and a lot simpler than the stuff the CredWeb is… https://v2.jacky.wtf/post/8c7810ba-3fa9-4d2f-94f3-d6514816a4eb
(twitter.com/_/status/1359687702464122880)
#
@aaronpk
↩️ Nah, don’t forget that every http://micro.blog account is an IndieAuth account too. Users don’t need to have any knowledge of anything under the hood for that to work. We need more service providers to implement it more than anything.
(twitter.com/_/status/1359696934215188481)
nertzy_, miklb, samwilson, [asuh], [chrisaldrich], [fluffy], jackyalcine[m]1 and ShadowKyogre joined the channel; ShadowKyogre left the channel
#
@ochtendgrijs
↩️ Webmention/IndieWeb – interactie (replies, likes, weet-ik-veel) tussen verschillende, doodgewone websites! – zijn zelfs na al die tijd nog vooral voer voor ingewijden, maar toch: de aanhang groeit.
(twitter.com/_/status/1359786577334046726)
ShadowKyogre joined the channel; Artea and ShadowKyogre left the channel
#
@johanbove
↩️ Ik heb een eigen website en vertrouw op #indieweb #webmentions voor interactie en ik zou niet meer zonder kunnen. Was is je eigen website?
(twitter.com/_/status/1359829268629487620)
samwilson and ShadowKyogre joined the channel
#
GWG
Anyone ever played with POI apis?
[KevinMarks] joined the channel
#
[KevinMarks]
Foursquare's
[Ana_Rodrigues] joined the channel
#
GWG
I like to have redundancy... but I looked at theirs
ShadowKyogre and [Murray] joined the channel; ShadowKyogre left the channel
#
jackyalcine[m]1
Not really but I did plan on leaning on OSM/Nomination for handling my venues
#
jackyalcine[m]1
Like I wanted to put in a name, if possible, and use my current coordinates to later do a reverse location lookup
[chrisaldrich] joined the channel
#
GWG
Do they have a POI api?
#
jackyalcine[m]2
I _think_ so, last time I checked their docs
#
[KevinMarks]
I think foursquares's is the most tuned by people correcting to specific PI lookup from lat long; OSM has it but it's a bit more simplistic about what's nearby
#
[KevinMarks]
in other words, foursquare's core is reported device location to POI, whereas OSM is mapping of POI to specific point, if you see what I mean
#
[KevinMarks]
flickr derviing perceived woeid boundaries from tags was fun a while back
#
[KevinMarks]
that did tend to include places you could see a POI from in the boundary too
#
GWG
[KevinMarks]: Now that I have location tagging next is venue tagging. Or at least thinking about it
#
GWG
I've abandoned that a few times due issues
#
GWG
You can tell how much I want to move again
DanC, [schmarty] and Solari joined the channel
#
[KevinMarks]
venue is definitely where foursquare helps.
#
GWG
[KevinMarks]: I finally got an API key
nickodd, [tantek] and [Rose] joined the channel
#
jacky
okay finally figured out IRC on GNOME
#
jacky
which, tbh, via the "promoted" apps is really bad
#
jacky
kinda amazing that they've written so much of their apps in JavaScript
jackyalcine[m]2 and nickodd left the channel
#
[tantek]
^ quotable out of context 🙂
[jacky] joined the channel
#
lahacker
jacky i use weechat to good effect FYI
#
lahacker
day 30 of full on node.js life and i've learned to pack a bundle for the browser.. gotta say it feels like a superpower and i cannot wait to /progressively enhance/ with it
#
lahacker
whoa.. not a single mention of javascript on /Micropub/Clients
#
lahacker
i'm thinking.. a single javascript file you can download and include on your entries that allows you to double click the e-content, turns it into a content editable, make small changes, send the update over micropub
KartikPrabhu left the channel
#
lahacker
this is new territory for me so maybe this wouldn't be possible for some reason but from this vantage point i can't see why not
#
petermolnar
set `contenteditable="true"` is all you need for that
#
petermolnar
for the editable part
#
lahacker
yeah.. it works so well for the simple use case
#
lahacker
i guess the emphasis is on a javascript micropub client entirely client-side (on the page itself)
#
lahacker
a community can develop features for it and you can install and host it trivially
#
lahacker
things get hairy with CORS but i just did a fetch() from my site to my site and sending along `credentials: 'same-origin'` passes my session cookie
superkuh joined the channel
#
lahacker
again there could be some gotchas i'm not aware of.. tbd!
themaxdavitt, stacktrust and [schmarty] joined the channel
#
[schmarty]
lahacker: grantcodes has done this tho I can't remember the name of it right now
[grantcodes] joined the channel
#
[grantcodes]
PostrChild. As a browser extension cors isn't an issue
#
lahacker
so the in-page version would require the micropub endpoint to be hosted on your own domain.. but then you could use a tokenless request and piggyback off the session cookie alone (presuming you have login)
#
[grantcodes]
I just added a login form in the extension
#
[grantcodes]
Then once you're logged in it knows when you're on your own website and can automatically load the inline editor
#
[grantcodes]
All off pre existing standards, the idea is it should work for any site with mf2 and micropub. No custom code you need to install.
#
jacky
lahacker: I was avoiding something terminal based mainly because I'm slowly attempting to wean away from my heavy CLI workflow
samwilson joined the channel
#
lahacker
yeah grantcodes i was reading your code not too long ago; have you heard of the WebExtensions `identity` API? https://github.com/angelogladding/WebExtension-IndieAuth/blob/main/index.js#L81-L96
#
lahacker
that's a shame jacky i saw a vim plugin in your repo list and thought you might be interested in https://github.com/angelogladding/nvim-micropub (this one is just a superficial prototype at the moment but it definitely does Create and Read posts using standard vim commands :w and :e and a micropub endpoint)
#
Loqi
[angelogladding] nvim-micropub: use nvim as a Micropub editor
#
jacky
wait whaaaa?
#
jacky
lol this is interesting
#
lahacker
*very* early days.. but promising
#
jacky
I'd be down to use something like this for like emitting information about my vim setup on my site
#
jacky
this reminds me of a plugin that could edit GitHub issues the same way
#
jacky
which, tbh, is what I'd probably want to use that micropub plugin to do (to edit issues on my site and let that syndicate outwards)
#
lahacker
yeah i'm not even sure exactly how the UX will flow.. it'll be a minor feat to be able to update the code of my site live.. TONS of consequences to that.. in reality i'd probably just like to be able to "gist" something real quick
#
lahacker
"gist" to my own site
#
lahacker
ia writer was such a let down i knew vim had to have an equivalent; https://github.com/junegunn/goyo.vim
#
Loqi
[junegunn] goyo.vim: :tulip: Distraction-free writing in Vim
#
lahacker
actually super cool, a little off topic, but makes me want to use vim for more than code; heck that mode is even nice when reading code
#
jacky
that reminds me to get goyo working nicely for me again
#
jacky
it is _super_ handy when reading docs inline
#
jacky
or even just reviewing code