I'm glad to announce the release of version 2.57 of #snac, the simple, minimalistic #ActivityPub instance server written in C. It includes the following changes:

Added support for listening on UNIX-like sockets.

Don't allow empty polls.

Added support for Markdown-style images (converted to attachments) and strikethrough text.

Added support for incoming Move messages: when received, the new account is followed and the old one is unfollowed.

Incoming EmojiReact messages are internally converted to Like (more proper support will happen eventually).

Blocks are also notified.

Mastodon API: fixed a cache bug when following local users.

https://comam.es/what-is-snac

If you find #snac useful, please consider buying grunfink a coffee: https://ko-fi.com/grunfink

#snacAnnounces

Follow

@grunfink

I guess Unix sockets could be used to write a CGI interface to Snac:

- check the socket file esists
- read a pid file
- check the /proc/$PID/exe point to snac bin
- if any of the above fail, double fork, start snac, create Unix socket
- send all of the HTTP request over the Unix socket and send back the response to the browser.

Do you think it would work?

Sign in to participate in the conversation
Qoto Mastodon

QOTO: Question Others to Teach Ourselves
An inclusive, Academic Freedom, instance
All cultures welcome.
Hate speech and harassment strictly forbidden.