schmonz.com is a Fediverse instance that uses the ActivityPub protocol. In other words, users at this host can communicate with people that use software like Mastodon, Pleroma, Friendica, etc. all around the world.
This server runs the snac software and there is no automatic sign-up process.
Only when a post is boosted or replied to do I run the risk of my hot-babe CPU monitor turning nsfw. So better keep it boring, I guess.
Added a server-wide Webmention hook; this way, if somebody out there (that supports Webmention) links to a user or post in this instance, a notification is sent (this is the complementary of what was implemented in version 2.76).
Fixed regression while sending email via pipe on OpenBSD.
Fixed Markdown parsing when the URL has parenthesis.
Always show the 'pending follow confirmations' section if there are any (even if the toggle is off).
If a metadata value is an account handler, it's also tried to be validated (rel="me" links).
Another search by URL tweak (this time for Pixelfed links).
Mastodon API: fixed a bug that made some boosts disappear after being shown in apps like Tusky, added followed hashtags maintenance, other minor changes.
Renamed command-line actions create_list
to list_create
and delete_list
to list_remove
.
The default favicon URL can be changed from the server configuration.
New command-line option export_posts
, to export all posts by a user in a JSON format compatible with the one generated by Mastodon.
The command-line options to send notes also allow an optional -r
argument, to set the URL of a Fediverse post this note is a reply to.
If you find #snac useful, please consider buying grunfink a coffee or contributing via LiberaPay.
I tried tuning various parameters but after some reading came to the conclusion that lots of small files with very little RAM is about the worst case scenario for XFS.
And if it wasn't for crypto being too slow to actually work I'd be doing the same on the 386SX-class machine that I also have running NetBSD. But with a hyper-optimized SSH handshake taking over a minute, I have no hopes for 2k RSA signatures or any kind of TLS handshakes with remote instances happening in anywhere near the timeframe they would need to..
https://cablespaghetti.dev/hosting-a-fediverse-instance-on-an-original-raspberry-pi.html
server.json
named favicon_url
, that will allow to set the default favicon. For now, you can configure your HTTP frontend to serve $YOUR_HOST/favicon.ico to whatever icon you want.Here's a script to backup to Backblaze B2 with just Jq as an additional dependency (and the included curl, tar, openssl etc.). It works so far...
https://gist.github.com/cablespaghetti/01862b9d8252223719cbe2586145f686
https://github.com/macports/macports-ports/pull/28613
I'm not sure why, but it seems as if the GitHub Continuous Integration checks are just... hanging? They were queued for a really long time and I stopped looking and when I checked again it was like "running" or whatever for 9 hours, but clearly probably nothing is actually happening.
Builds locally OK!
It's been a couple of days since I submitted that PR, and my apologies for lagging upstream as well. My life has been kinda, off.
I'll probably get around to emailing the MacPorts' dev mailing list if it still seems to be stalled and no one else beats me to it. Presumably, eventually, it will get merged!
Thanks again to you and others (e.g. dandelions, postscriptum, piefed) for the continued improvements!
#snac #OpenSource #ActivityPub #Mastodon #NoDatabaseNeeded
#NoJavaScript #NoCookiesEither #NotMuchBullShit #snacAnnounces
Hashtag following also allow URLs to RSS feeds of ActivityPub objects (like e.g. https://mastodon.social/tags/ThankYouTuesday).
Users can now configure a webhook to receive an HTTP POST for every notification. This can be useful for implementing bots that react to activities, like autorepliers, chatbots or interactive textual games (see snac(1)
for more information).
The number of pending follow confirmations is shown next to the "people" link.
Faster performance metrics (contributed by dandelions).
Improved lowercasing in hashtags (contributed by postscriptum).
A search-by-url tweak for implementations that return 200 for invalid webfinger queries (e.g. piefed).
Mastodon API: added follow confirmation endpoints, fixed collisions in attachment file names.
Fixed potential crashes in attachment uploads.
If you find #snac useful, please consider buying grunfink a coffee or contributing via LiberaPay.
#snac frens: what is the "correct" way to use a custom favicon? I've read and reread the docs and I'm not seeing anything about it. Is it something I'd have to do at the proxy level? (using Caddy BTW)
A quick fc-list | grep -i emoji
does indeed show the correct font is installed.
/usr/local/share/fonts/noto/NotoColorEmoji.ttf: Noto Color Emoji:style=Regular
https://www.reddit.com/r/openbsd/comments/1atanzd/color_emoji_not_shown/
Does anyone have a screenshot of Gargron's first Mastodon post?I don't have such a gem, but I have here the first #snac post. Yes, I know the relevancy is astronomically inferior, but not for me 😆
If you find #snac useful, please consider buying grunfink a coffee or contributing via LiberaPay.
The last #snac release fixes a problem with the Mastodon API. Now, apps (or webapps like Phanpy) properly work as the "inifite scrolling" has been fixed.Thanks, Stefano. To be fair, the merit for this fix goes to @cheeaun@mastodon.social (Phanpy's author), who brought to my attention where the problem was.
xs
code is specially crafted to parse the JSON files in use in the ActivityPub protocol, which are a) mostly small, and b) they have very few numbers, so the string to double conversion happens almost never.Regarding the enum numbers: they are surely arbitrary, but the rationale there is that they are all ASCII control codes (so: less than 32) that should never happen in a JSON file (and, if they occasionally appear, they are converted to their Unicode representations). The correspondence is:
XS_TYPE_STRING 0x02 ASCII: STX (start of text)So, yes, they are arbitrary, but make some fucking sense, or at least a little bit.
XS_TYPE_TRUE 0x06 ASCII: ACK (acknowledge)
XS_TYPE_FALSE 0x15 ASCII: NAK (negative ack.)
XS_TYPE_LIST 0x1d ASCII: GS (group separator)
XS_TYPE_LITEM 0x1f US (unit separator)
XS_TYPE_DICT 0x1c ASCII: FS (file separator)