# Snac: A simple, minimalistic ActivityPub instance

**URL:** https://discuss.freedombox.org/t/snac-a-simple-minimalistic-activitypub-instance/3157
**Category:** Development
**Created:** [July 15, 2024, 8:10pm UTC](https://discuss.freedombox.org/t/snac-a-simple-minimalistic-activitypub-instance/3157 "2024-07-15T20:10:44Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![antidoto](https://discuss.freedombox.org/letter_avatar_proxy/v4/letter/a/e68b1a/32.png) [@antidoto](https://discuss.freedombox.org/u/antidoto)
#### Post date: [July 15, 2024, 8:10pm UTC](https://discuss.freedombox.org/t/snac-a-simple-minimalistic-activitypub-instance/3157/1 "2024-07-15T20:10:44Z")

</div>

snac2 is [now](https://packages.debian.org/bookworm-backports/snac2) in bookworm backports. At a glance it is an activity pub server, that uses extremely minimal resources, it is lightweight, without JS and thus it is a perfect fit for running in low power hardware (like the pioneer).  
You can find a nice presentation [here](https://jvalleroy.me/wordpress/?p=67).

It is simple to install in freedombox. here is what I did:

- Install:  
`sudo apt install snac2/bookworm-backports`

- Change the domain in /var/lib/snac2/server.json from localhost → [myfreedombox.domain.com](http://myfreedombox.domain.com) and, restart the service:  
`sudo nano /var/lib/snac2/server.json`  
`sudo systemctl restart snac2`

- Add snac user  
`sudo -u debian-snac -- snac adduser /var/lib/snac2`

Then I could access the interface in:  
[myfreedombox.domain.com/social](http://myfreedombox.domain.com/social)

In my case, the web interface wasn’t accessible every time I got a like/boost/reply.

I solved it by adding  
`"disable_email_notifications": true`  
in  
`/var/lib/snac2/server.json (and restart the service)`

I hope someone finds it useful.

---

<div class="post-metadata">

### Author: ![njoseph](https://discuss.freedombox.org/user_avatar/discuss.freedombox.org/njoseph/32/17_2.png) [@njoseph](https://discuss.freedombox.org/u/njoseph)
#### Post date: [July 16, 2024, 12:29pm UTC](https://discuss.freedombox.org/t/snac-a-simple-minimalistic-activitypub-instance/3157/2 "2024-07-16T12:29:22Z")

</div>

Thanks for trying out snac2 and sharing your experience with the community.

* * *

I have been following some people on the Fediverse using [snac2](https://codeberg.org/grunfink/snac2) for about an year, including @jvalleroy. I have some concerns about adding it to FreedomBox.

snac2 is written in C and it is not popular yet. That makes it an obscure software with possible memory-safety issues. Debian has a security team, but are they looking at this?

People have complained about TT-RSS lead developer’s use of careless and offensive language in their forums. I see symptoms of a similar pattern with the snac2 developer (see the description of [MUTE feature](https://codeberg.org/grunfink/snac2#features) and the abbreviation of snac), though there aren’t forums yet.

I also have a question. snac2 claims to be compatible with Mastodon API clients. Did somebody check this yet?

* * *

There is an ActivityPub server implementation in Rust called [Rustodon](https://github.com/rustodon/rustodon) which seems to have been discontinued.

[GotoSocial](https://gotosocial.org/) is an active ActivityPub implementation in Golang, also made to run on low-power single board computers. There is no Debian package available yet, so FreedomBox cannot have it in the near term, unlike snac2.

---

<div class="post-metadata">

### Author: ![problema](https://discuss.freedombox.org/user_avatar/discuss.freedombox.org/problema/32/1527_2.png) [@problema](https://discuss.freedombox.org/u/problema)
#### Post date: [September 18, 2025, 9:53pm UTC](https://discuss.freedombox.org/t/snac-a-simple-minimalistic-activitypub-instance/3157/3 "2025-09-18T21:53:56Z")

</div>

### What is the status of ActivityPub on FreedomBox?

[snac](https://codeberg.org/grunfink/snac2) is now stable (version 2.75): in [debian](https://packages.debian.org/search?suite=all&section=all&arch=any&searchon=all&keywords=ActivityPub) repositories, in all its multiverse of packages, it seems that it is the only thing exists to enable hosting an instance.

[screenshot](https://codeberg.org/voron/snac-style) of a CSS style:

 ![Pika](https://discuss.freedombox.org/uploads/default/original/2X/a/a201d9702a77239c525f8eba2bbc61aaedc3f465.png)
