#dev 2025-07-05

2025-07-05 UTC
Malcom1, grufwub, Pixi, ulv, barnaby, troojg and [artlung] joined the channel
#
doesnm
when i was on bluesky i was reply guy on one site which name i forgot
#
doesnm
maybe make reply/like-only blog
doesnm, voxpelli and sknebel joined the channel
#
capjamesg
I just realised I need to page for posts via AP and Bluesky so that I get more of a user's feed.
#
capjamesg
Because there can be more interactions on AP/Bsky, I'm going to get the first 5 pages maximum (~100 posts).
#
doesnm
btw now i get failed to fetch error after tried to preview
jak2k joined the channel
#
doesnm
maybe i should really host/register on normal ap instance lol
#
capjamesg
I'm not going to be able to support your feed right now. The outbox lists object URLs rather than JSON objects with post information which means I would have to make a web request for every post in your feed. This is not possible with the way things are currently configured.
#
capjamesg
I think it's fairer for me to say that I support Mastodon via AP since I know that works, and that other AP servers _may_ be supported.
#
capjamesg
Thanks for all these reports. It is strange that AP can vary like this ๐Ÿ˜ญ
#
capjamesg
With that said, you can still subscribe to the RSS feed of the AP feed! https://gts.dc09.ru/@darkcat09/feed.rss
#
doesnm
i know a gts instance which have rss disabled :( maybe ask him to enable
#
doesnm
There was an error processing your request.
#
doesnm
If this error persists, contact support with the error code tZpEh7DpbH92
#
doesnm
i'm tried to add rss
#
doesnm
forget about this
#
capjamesg
What's the bug?
#
doesnm
Preview is empty
#
capjamesg
That's weird. I see a preview ๐Ÿ˜ญ
#
doesnm
oh, i'm readded and now see a preview
#
doesnm
also make url validation, it shows error
chimo joined the channel
#
[kimberlyhirsh]
pages, but I'm trying to figure out with my limited technical understanding if I can make a blog that will feel easy to post to.
#
[kimberlyhirsh]
KevinMarks, I currently use http://micro.blog but for a while I've been considering something more hand-rolled, something where I really understand all the pieces. But my technical expertise extends only to HTML & CSS and I don't even have a good handle on things like Flex and Grid. I'm not really interested in learning anything beyond just brushing up my HTML & CSS right now. I know I can easily get a site up with an h-card and
srazkvt joined the channel
#
perryflynn
how do you handle thumbnails in micropub? the microformats object only contains the original image, do I have to inject the thumbnail on blog side by myself or is there a standard?
ttybitnik joined the channel
#
aaronpk
yeah i store the original image internally but generate different sizes when displaying them on my site
#
perryflynn
so I have to store such information outside of the mf2 object?
sebbu joined the channel
#
aaronpk
mine are generated on the fly and cached elsewhere
bugliker0, balintm, helpdeskaleer, [social], ttybitnik and troojg joined the channel
#
helpdeskaleer
Also, what is best to use for tmux to re-create old development terminal sessions for monitoring or development?
#
perryflynn
for monitoring in terminal I created minimon: https://github.com/perryflynn/minimon
#
Loqi
[preview] [perryflynn] minimon: ICMP, HTTP and TCP Monitoring in one Bash Script
#
perryflynn
cli tool which can monitor http, tcp and icmp. configurable via cli parameters or json file.
#
capjamesg
[snarfed] I'm trying to discover an author with granary (https://gist.github.com/capjamesg/877f2b0f0ab9447e7301b63f5b76f68b). I'm getting a dict with {'objectType': 'person', 'url': '/'}.
Suma joined the channel
#
helpdeskaleer
I used to use a tool called tmuxinator for saving sessions,
#
helpdeskaleer
but it's written in Ruby and I don't always want to install alll of that
#
helpdeskaleer
But that monitoring thing looks cool, I stared it on github so I can take a look at it later.
#
helpdeskaleer
The github account that stared it is leeand00.
#
jak2k
I'm coding a MicroPub server. My software only allows specific, narrowly defined entry types, such as an article or a note. Both would be an h-entry for MicroPub. Would it be spec-compliant to reject fields that don't fit the entry type of an item?
#
perryflynn
jak2k: rejecting can cause clients to break. maybe ignoring is better. to reject a unsupported entry type (note vs. image vs. rsvp) definitely. but optional/additional properties may be ignored.
#
doesnm
perryflynn: like answering 200 but do nothing?
#
perryflynn
if the entry is sending a visibility=public and this is not supported yes. if it sends a rsvp or image and this is not supported no.
#
perryflynn
micropublish.net supports for example a url slug. and I do not support it on my micropub server. so if I would reject it it would break the wohle client for me.
#
jak2k
Let's say a user creates an h-entry with a `u-in-reply-to` and a `u-url`. In my application, a note or article can be a reply, but a bookmark cannot and a bookmark has a url but an article cannot have one. In this case my server wouldn't know, what that specific h-entry is.
#
perryflynn
same for category. I don't have note categories right now.
#
perryflynn
jak2k: this is an interesting question.
#
sugardave
I am starting to look into how to process webmentions and I just noticed that I accidentally added my site twice to https://webmention.io/settings/sites and there doesn't seem to be a way to delete one of the entries. Is it probably okay? If I want to configure a webhook, will I need to provide the same one for both entries or maybe only use the first one?
#
perryflynn
aaronpk: is this a bug?
#
jak2k
I might accept/whitelist properties like visibility, slug, tags or category and drop if there are not implemented in any way. Then, I would reject requests with properties that don't fit my entry types.
#
jak2k
In the end, I'll store normalized JSON in an SQLite database.
#
perryflynn
I do it in a similar way, too. ๐Ÿ‘๏ธ
#
jak2k
That reminds me of an issue I had with webmention.io recently. I moved my domain from jak2k.schwanenberg.name to jak2k.eu. The old one is now redirecting to the new one and I cannot login to webmention.io with the old domain anymore. It would be really cool, if I was able to transfer the webmentions.
#
jak2k
In a previous iteration of my server/CMS/whatever, I allowed a user to create collections and provide a JSON schema for them. The idea was cool, but it would have required dynamic template evaluation to generate proper HTML. And it was also completely incompatible with the concept of MicroPub.
barnaby joined the channel
#
aaronpk
huh, i see a lot of duplicate sites in webmention.io, looks like they are all created within a few seconds of each other too.
#
aaronpk
weirdly, they are all created *exactly* 5 seconds apart
#
aaronpk
no idea how that's happening
#
sugardave
> There are no Webmentions yet! Add a site first, and wait for someone to send you a Webmention!
#
IWDiscord
<sโ€‹ugardave>
#
sugardave
even though I had previously added my site a few days before ๐Ÿ™‚
#
sugardave
aaronpk: I remember doing mine the second time because the dashboard tricked me with:
troojg joined the channel
#
aaronpk
this is gonna take a while to untangle :(
#
jak2k
Ugh, i can't implement Micropub, because Micropub.rocks doesn't follow the latest IndieAuth spec, as far as I understand. I already opened an issue (https://github.com/aaronpk/micropub.rocks/issues/119). The same issue exists on indieauth.com, but Indielogin.com works fine. I now entered the endpoint manually. :)
#
aaronpk
oops yeah also on my list
#
aaronpk
maybe i should do that right now
#
aaronpk
gotta slog through some package updates first :(
helpdeskaleer joined the channel
#
sugardave
aaronpk: sorry! ๐Ÿ˜ฆ
#
aaronpk
every time i touch these projects it just makes me hate web frameworks
#
aaronpk
they all seem to cycle through various relatively inconsequential but totally breaking changes every couple years
#
aaronpk
makes me want to go back to writing simple templated php and ditch the whole concept of "routers" and MVC
rrix joined the channel
#
perryflynn
yea, I lost all my projects in the last years because of that as the symfony devs discontinued silex. I decided to write my own very basic mvc router and use twig for templating and that's it. no symfony/silex/whatever anymore.
rrix joined the channel
#
jak2k
The closer it is to frontend, the worse it is... I do most thing in Rust with actix-web. It has its quirks but works very well and fast. I currently have 242 dependencies (most are indirect) and the binary is 8.9 MB big. That's probably bigger than a tarball with a bunch of php-files, but it's a single deployable file and the only system dependencies are libc and sqlite, even though I could probably change that.
balintm, barnaby, angelo, CRISPR, helpdeskaleer and troojg joined the channel
#
jak2k
Does anyone have an idea how to expose something like a navigation over Micropub, so a user could add a link to it or change a navigation label? Or how to expose settings such as the website's title, which is shown in the atom feed? It would be nice having such stuff integrated in the/a client.
CRISPR joined the channel