A simple, minimalistic ActivityPub instance written in portable C
Find a file
2022-09-27 14:50:13 +02:00
.gitignore [.gitignore] new file. 2022-09-27 09:06:03 +02:00
activitypub.c More work in msg_note(). 2022-09-27 14:50:13 +02:00
data.c More work but signatures seem to still fail. 2022-09-26 11:19:45 +02:00
html.c Disabled URL replacement by now because it's not infinite-loop-safe. 2022-09-27 10:59:29 +02:00
http.c Use xs_evp_sign() for signing. 2022-09-26 14:45:31 +02:00
httpd.c More work in not_really_markdown(). 2022-09-27 10:51:57 +02:00
LICENSE Project started. 2022-09-19 20:40:42 +02:00
main.c More work in msg_note(). 2022-09-27 14:50:13 +02:00
Makefile More work in not_really_markdown(). 2022-09-27 10:51:57 +02:00
README.md New file README.md. 2022-09-25 23:22:12 +02:00
snac.c More work in not_really_markdown(). 2022-09-27 10:51:57 +02:00
snac.h Notes can be posted WOW!. 2022-09-27 14:07:36 +02:00
webfinger.c Backported from xs. 2022-09-25 22:57:18 +02:00
xs.h Fixed bug in xs_replace_i(). 2022-09-27 10:50:32 +02:00
xs_curl.h More work in http signed request. 2022-09-21 09:31:05 +02:00
xs_encdec.h Added support for bigger codepoints in xs_utf8_enc(). 2022-09-20 07:21:47 +02:00
xs_httpd.h The HTTP request headers are stored in a plain dict. 2022-09-25 07:42:57 +02:00
xs_io.h Imported xs. 2022-09-19 20:41:11 +02:00
xs_json.h Backported from xs. 2022-09-25 22:57:18 +02:00
xs_mime.h New function msg_actor(). 2022-09-25 21:02:47 +02:00
xs_openssl.h Backported xs_regex.h from xs. 2022-09-27 10:03:41 +02:00
xs_regex.h Backported xs_regex.h from xs. 2022-09-27 10:03:41 +02:00
xs_socket.h Imported xs. 2022-09-19 20:41:11 +02:00

snac

A simple, minimalistic ActivityPub instance

Features

  • lightweight, minimal dependencies
  • large support of ActivityPub operations, e.g. write public notes, follow users, be followed, reply to the notes of others, admire wonderful content (like or boost), write private messages...
  • Easily-accessed MUTE button to silence morons
  • Tested interoperability with similar software
  • No database needed
  • Not much bullshit

About

This program runs as a daemon (proxied by a TLS-enabled real httpd server) and provides the basic services for a Fediverse / ActivityPub instance (sharing messages and stuff from/to other systems like Mastodon, Pleroma, Friendica, etc.).

This is not the manual; man pages snac(1) (user manual), snac(5) (formats) and snac(8) (administrator manual) are what you are looking for.

This is a work in progress and everything is on fire and you can get hurt.

snac stands for Social Networks Are Crap.

Installation

This 2.x release is written in C (unlike the 1.x prototype, which was written in Python). The only external dependencies are openssl and curl.

On Debian/Ubuntu, you can satisfy these requirements by running

    apt install libssl-dev libcurl4-openssl-dev

On OpenBSD you don't need to install anything because the base system provides all the needed software.

Run make and then make install as root.

See the administrator manual on how to proceed from here.

License and author

See the LICENSE file for details.