Skip to content

Commit 549be10

Browse files
committed
Add snac: Simple, minimalistic ActivityPub instance
snac (Social Networks Are Crap) 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. Features: - Lightweight, minimal dependencies - Extensive 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... - Multiuser - Mastodon API support, so Mastodon-compatible apps can be used - Simple but effective web interface - Easily-accessed MUTE button to silence morons - Tested interoperability with related software - No database needed - Totally JavaScript-free - No cookies either - Not much bullshit
1 parent ac0e309 commit 549be10

File tree

4 files changed

+53
-0
lines changed

4 files changed

+53
-0
lines changed

www/snac/DESCR

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
snac (Social Networks Are Crap) runs as a daemon, proxied by a
2+
TLS-enabled real httpd server, and provides the basic services for a
3+
Fediverse / ActivityPub instance: sharing messages and stuff from/to
4+
other systems like Mastodon, Pleroma, Friendica, etc. Features:
5+
6+
- Lightweight, minimal dependencies
7+
- Extensive support of ActivityPub operations, e.g. write public notes,
8+
follow users, be followed, reply to the notes of others, admire
9+
wonderful content (like or boost), write private messages...
10+
- Multiuser
11+
- Mastodon API support, so Mastodon-compatible apps can be used
12+
- Simple but effective web interface
13+
- Easily-accessed MUTE button to silence morons
14+
- Tested interoperability with related software
15+
- No database needed
16+
- Totally JavaScript-free
17+
- No cookies either
18+
- Not much bullshit

www/snac/Makefile

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
# $NetBSD: Makefile,v 1.1 2024/02/13 21:50:00 schmonz Exp $
2+
3+
DISTNAME= snac-2.47
4+
CATEGORIES= www
5+
MASTER_SITES= ${HOMEPAGE}archive/
6+
SITES.${DISTNAME}.tar.gz= -${MASTER_SITES}${PKGVERSION_NOREV}${EXTRACT_SUFX}
7+
8+
MAINTAINER= schmonz@NetBSD.org
9+
HOMEPAGE= https://codeberg.org/grunfink/snac2/
10+
COMMENT= Simple, minimalistic ActivityPub instance
11+
LICENSE= mit
12+
13+
WRKSRC= ${WRKDIR}/snac2
14+
15+
CFLAGS.Darwin+= -Dst_ctim=st_ctimespec
16+
CFLAGS.Darwin+= -Dst_mtim=st_mtimespec
17+
18+
LDFLAGS.NetBSD+= -lrt
19+
20+
INSTALL_MAKE_FLAGS+= PREFIX=${DESTDIR:Q}${PREFIX:Q}
21+
INSTALL_MAKE_FLAGS+= PREFIX_MAN=${DESTDIR:Q}${PREFIX:Q}/${PKGMANDIR:Q}
22+
23+
.include "../../security/openssl/buildlink3.mk"
24+
.include "../../www/curl/buildlink3.mk"
25+
.include "../../mk/bsd.pkg.mk"

www/snac/PLIST

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
@comment $NetBSD: PLIST,v 1.1 2024/02/13 21:50:00 schmonz Exp $
2+
bin/snac
3+
man/man1/snac.1
4+
man/man5/snac.5
5+
man/man8/snac.8

www/snac/distinfo

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
$NetBSD: distinfo,v 1.1 2024/02/13 21:50:00 schmonz Exp $
2+
3+
BLAKE2s (snac-2.47.tar.gz) = 93235955abb55e1c5838868409b3e18ed23cbf41b5a68a625e9cc067316acefa
4+
SHA512 (snac-2.47.tar.gz) = 9259ef0f0a51b6b69f22a9c02190ac8cbc471daa7dc9aa4768b2237b5ac3e1f8a92da33eba0b84f01c4ff5e02fd27790448c6488aff5b5f67c955448d96e7e25
5+
Size (snac-2.47.tar.gz) = 156133 bytes

0 commit comments

Comments
 (0)