A simple, minimalistic ActivityPub instance written in portable C
Find a file
2022-10-04 09:59:06 +02:00
doc Deleted command-line commands that will not be implemented. 2022-10-03 20:30:19 +02:00
.gitignore [.gitignore] new file. 2022-09-27 09:06:03 +02:00
activitypub.c Use the time functions of xs_time.h. 2022-10-02 09:27:17 +02:00
data.c Backport from xs. 2022-10-03 11:18:49 +02:00
html.c Deleted debugging code. 2022-10-03 19:02:21 +02:00
http.c Use the time functions of xs_time.h. 2022-10-02 09:27:17 +02:00
httpd.c Implemented the helper thread. 2022-10-01 20:57:06 +02:00
LICENSE Project started. 2022-09-19 20:40:42 +02:00
main.c New function adduser(). 2022-10-04 09:40:16 +02:00
Makefile Updated Makefile. 2022-10-04 08:53:43 +02:00
README.md Updated README. 2022-10-04 09:59:06 +02:00
RELEASE_NOTES.md Updated RELEASE_NOTES. 2022-10-03 20:26:03 +02:00
snac.c Backport from xs. 2022-10-03 11:18:49 +02:00
snac.h New function adduser(). 2022-10-04 09:40:16 +02:00
TODO.md Updated TODO. 2022-10-04 09:56:54 +02:00
utils.c Fixed bug. 2022-10-04 09:52:41 +02:00
webfinger.c Backported from xs. 2022-09-25 22:57:18 +02:00
xs.h Use SIGTRAP instead of the signal number in raise(). 2022-09-29 12:52:57 +02:00
xs_curl.h More work in http signed request. 2022-09-21 09:31:05 +02:00
xs_encdec.h Backport from xs. 2022-09-30 10:03:35 +02:00
xs_glob.h Backport from xs. 2022-10-03 11:18:49 +02:00
xs_httpd.h New function static_get(). 2022-09-28 09:29:09 +02:00
xs_io.h New function static_get(). 2022-09-28 09:29:09 +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 Backport from xs. 2022-09-29 14:16:20 +02:00
xs_regex.h Backport from xs. 2022-09-27 17:19:59 +02:00
xs_set.h Got xs_set.h from xs. 2022-09-28 10:27:01 +02:00
xs_socket.h Imported xs. 2022-09-19 20:41:11 +02:00
xs_time.h Backport from xs. 2022-10-02 09:23:04 +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 and FreeBSD 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.