#dev 2023-12-14
2023-12-14 UTC
[snarfed] joined the channel
btrem joined the channel
# btrem Does anyone do self-webmentions? I am trying to keep track of my ferments, with one post for when I make a ferment, and a second post for when I open it, as an update/review. So the update/review would be an h-review of the first post, an h-recipe.
# btrem But linking them is tedious. I originally had to figure out the url I used. Seems easy, but I often make the same (or almost the same) ferment. So I have lots of urls with a slug of "radishes" or "pickles".
# btrem The only thing that differentiates them is the date, e.g., `2023/06/04/radishes` vs. `2023/06/10/radishes`.
# btrem I have taken to adding a database-like id number for each post which must be unique. It does not appear in the url, but I can put the number on the jar of pickles or what have you, so I can then use that number for my review post.
# btrem But even this can be quite tedious. I dunno. I think maybe a static site generator is not the way to go, and I need to resort to a database. But if anyone does lots of self-webmentions -- maybe post updates of some sort -- I'd be curious how you handle it.
# btrem what sounds valid? Using the static site generator as I do now? Or changing to a database app?
# btrem shrugs Maybe valid, but not easy to maintain.
# btrem Like when I want to create a new post, I have to run a dev copy of the site to see what my last post id is, so as to avoid creating a duplicate id. Then I put that number on the jar label. Then I need to remember that id when I leave my kitchen to create the post.
jeremycherfas joined the channel
# btrem aaronpk what software makes your site? A static site generator? Something else? How do you reply to your own post?
# btrem Hmm, yeah, that sounds pretty easy.
# btrem Wonder if I can create a bookmarklet. Probably not, because a bookmarklet won't be able to open up a new file in Visual Code.
# btrem Still, it's a nifty idea.
# btrem Ironically, taking photos of my ferment is part of what can be tedious, because I have to determine what the next number is for a post. To do that, I have to start up my dev server to see that most recent post. Then I write that number on an adhesive label along with a title, attach it to the jar, and take a picture of the jar.
# btrem *Then* I can create a post, transfer the photo to my pc, put it in a directory with that post number.
# btrem So *very* tedious.
geoffo joined the channel
# btrem Yeah, a database might be the way to go.
# btrem I have so many recipes that they were clogging up my site's home page. So I'm in the process of creating a new site that will end up in a new domain (maybe a subdomain of my personal site). And I'm wondering if an SSG is the right tool. I could instead make a recipes database, in sqlite perhaps. And then build the recipe site using data from queries.
# gRegor https://indieweb.org/User:Martymcgui.re might give some ideas
# [schmarty] I have a little web service set up that accepts webhooks from my git hosting to trigger a rebuild. It pulls down the latest, runs Hugo, puts the updated files up, sends webmentions for new or updated pages. https://git.schmarty.net/schmarty/ssg-hook-publisher-php
# [aciccarello] btrem, I use Indiekit as my micropub server for my static site. It's a little node application that can create files in GitHub or other repos.
# [aciccarello] what is Indiekit?
# Loqi Indiekit (GitHub repo) is “the little Node.js server with all the pieces needed to own your content and share it with the wider independent web” https://indieweb.org/Indiekit
gRegorLove_, gRegorLove__ and CRISPR joined the channel
# btrem Ok, some links to look at, and some thinking to do. It's not just micropub. It's making the right connection between recipe and rating. But that might not be any easier with a db, since (part of) the problem is that I have many similar posts. So I have lots of pickles posts, and lots of radishes posts, etc.
# btrem As I said, lots to look at, thanks for the links and ideas.
# btrem aaronpk++ [aciccarello]++ sknebel++[schmarty]++ gRegor++
# btrem Did I get everyone? :)
# btrem ack, messed up the spacing. Also apparently I should not include brackets. So addendum: sknebel++ schmarty++
[tantek] joined the channel
# btrem Oh!
# btrem sknebel++
# btrem Right, you get the idea.
geoffo, rjomara and CRISPR joined the channel
# [KevinMarks] Missing the point in a big way? https://cosocial.ca/@timbray/111575034761844339
# capjamesg [tantek] AutoWrite: https://jamesg.blog/assets/autowrite.mov
# [tantek] [KevinMarks] indeed. That URL scheme proposal is a good example of what NOT to do. johannes's simple request was ignored: https://social.coop/@J12t/111575260878262958 j12t++
AramZS, barnaby, CRISPR, [jeremycherfas] and geoffo joined the channel
# [KevinMarks] The protocol model has been broken for a while, because iOS made it app exclusive
# [manton] [snarfed] Just got a reply from someone on Bluesky and it showed up in http://Micro.blog via Bridgy with their username as their Bluesky hostname. So cool! Great work on that.
[Joe_Crawford] joined the channel
gRegor joined the channel
# [tantek] [manton] [snarfed] looks like some Meta-employee Threads accounts are supporting following now, e.g. this shows a Follow button! (replace the domain with your instance domain otherwise it redirects to his Threads profile) https://indieweb.social/@mosseri@threads.net
# [aciccarello] Interesting, I was able to search for the @@ username but not the profile URL
# [manton] I think the Threads support is hardcoded to specific Mastodon servers somehow. I still can’t get it to work more generally from curl or http://Micro.blog.
# [manton] [aciccarello] Might be because the Threads actor URLs are slightly different, e.g. https://www.threads.net/ap/users/mosseri
# [aciccarello] Ah, interesting. I also wonder if they could fix that with some meta/link tag when they roll out more widely
[catgirlinspace] joined the channel
# [tantek] I was able to enter @mosseri@threads.net into https://fed.brid.gy/web/tantek.com/following and click Follow, do an IndieAuth dance to make sure it is me (http://tantek.com), and then now it shows Adam in the list on that Bridgy Fed URL!
# [aciccarello] Sounds like they are enabling "follow threads via activitypub" before making anything from activitypub available within Threads
# [aciccarello] Which makes sense for a company trying to entice creators to come to their platform
# capjamesg From #chat. I have an API where you can test my word prediction system: https://jamesg.blog/autowrite/surprisal?query=IndieWeb&urls=
# capjamesg You can try the interface at https://jamesg.blog/autowrite/. A space will autocomplete if you type 3-8(?) characters.
# rubenwardy how do I type "bob" without it autocompleting to "bobbing"
# [aciccarello] Today I Learned opengraph protocol had an XML schema
# [aciccarello] 404s now though http://opengraphprotocol.org/schema/
gRegor joined the channel
# capjamesg Oops…
# capjamesg Give me a moment.
# capjamesg [tantek] I don’t know…
# capjamesg I would need another control key.
# capjamesg But this is another reason why autocomplete on space is more desirable.
# [KevinMarks] You may want to special case shorter words
CRISPR joined the channel
angelo joined the channel
# gRegor [snarfed], https://lgbtqia.space/users/ProcessParsnip is the account btw
CRISPR joined the channel
CRISPR joined the channel
# [snarfed] note that user-facing profile URLs like https://www.threads.net/@shnarfed don't serve AS2, they have alternate AP actor URLs, advertised in webfinger
# angelo inside that i find https://www.threads.net/ap/users/0xjessel/ which i then request via HTTP Sig in the same fashion as i do mastodon
# angelo that request is signed with the key in https://ragt.ag/owner/actor