#dev 2024-10-05

2024-10-05 UTC
jacky joined the channel
#
_pi_r2_0[d]
people of the static site generator camp, what kind of dynamic features have you missed / delegated to third-parties? indieauth, contact form landing in a mailbox, …?
#
[tantek]
sending/receiving webmentions presumably
#
superkuh
Totally possible to do that static.
#
[tantek]
micropub endpoint perhaps?
#
_pi_r2_0[d]
@superkuh receiving webmentions how?
#
_pi_r2_0[d]
[tantek] I'm wondering how you'd feed back to the static build. maybe provide an API to pull what's been published and a webhook mechanism to trigger CI jobs on publication?
#
Loqi
[preview] [superkuh] A static, manual system for *receiving* webmentions (and pingback) with nginx
#
superkuh
tldr: just log the POSTs.
#
_pi_r2_0[d]
Yeah that means exposing my logs to the build process
#
superkuh
Build?
#
_pi_r2_0[d]
Well if I want to display them
#
superkuh
Luckily my .html files need no build process. But yeah, not for everyone. Just saying it is possible.
#
superkuh
Displaying is a bit more than receiving. I can't imagine a possible static way to do that.
#
[tantek]
pierre, I think it may depend on shared storage access between services like that and the actual SSG
#
_pi_r2_0[d]
I'd share "storage" from the service through an API right
#
_pi_r2_0[d]
So the SSG could call into the API to retrieve what they want
#
_pi_r2_0[d]
Built a quick and dirty form to email service into my hosting platform tonight, and figure I could probably find other low hanging fruits. https://nothing.pcarrier.com/posts/form2mail/
#
_pi_r2_0[d]
[edit] Built a quick and dirty form to email service into my hosting platform tonight, and figure I could probably find other low hanging fruits. https://nothing.pcarrier.com/posts/form2mail/
#
[tantek]
offhand I would be worried about form injection attacks doing "weird" things to the email sending on the other end
jacky, onla_ and troojg joined the channel
#
_pi_r2_0[d]
Yeah… I like tackling probleme as they come. Designed and shipped the feature in 2 hours, didn't even put a spam blocker
Dryusdan and bterry1 joined the channel
#
_pi_r2_0[d]
hardened it a little (eg frontmatter uses TOML), also supports file uploads = attachments now
jacky and [KevinMarks] joined the channel
#
Loqi
[preview] A WebMention Endpoint
onla_, troojg, [tw2113] and [qubyte] joined the channel
#
[qubyte]
Data point: I use a little function endpoint (hosted by Netlify, but think of AWS lambda because it’s basically a wrapper) that validates the mention, and then creates a GitHub issue with info on the repo for my site. Then I manually vet each and add it to the associated post in its front matter. Mentions are very low volume for me, so this works well. However, I’m thinking of some improvements to the process when microformats make it
#
[qubyte]
possible (mentions without additional markup are still accepted, but need manual processing):
#
[qubyte]
• For mentions marked up as a like, directly commit the mention to post front matter (these are low-risk).
#
[qubyte]
• Extract mentions out into their own resource (files) to avoid merge conflicts if I ever get a rush of them.
#
[qubyte]
• For mentions marked up with author information, open a pull request with changes to the relevant post front matter rather than just an issue.
[aciccarello] joined the channel
#
[aciccarello]
For webmention notifications, I subscribe to the RSS feed of http://webmention.io in the IndieWeb slack
onla_ joined the channel
#
_pi_r2_0[d]
Yeah so I realize that's not an indieweb thing to say but I don't really care about webmentions
#
[qubyte]
🤷 no need to really. If it’s not a thing you want, it’s not a thing to do!
#
_pi_r2_0[d]
well, on the lookout for backend functionality to provide for static websites, this does feel like a good match
#
[Joe_Crawford]
There are no shibboleths required to be indieweb. It’s an agnostic religion, so ambivalence to webmentions is as valid as deeply believing in webmentions.
#
capjamesg[d]
[Joe_Crawford]++
#
Loqi
[Joe_Crawford] has 9 karma in this channel over the last year (84 in all channels)
#
capjamesg[d]
And great use of shibboleths.
#
[qubyte]
100%. Just own your content and your domain. Webmentions are deceptively complex,
angelo and troojg joined the channel
#
_pi_r2_0[d]
Neither slack nor mee6 support jsonfeed hmmm
rrix and onla_ joined the channel
#
_pi_r2_0[d]
gave in to atom 😦
troojg joined the channel