# snac

> Self-hosted, open-source ActivityPub server written in portable C that runs your own small Fediverse instance: multi-user, no database needed, Mastodon API support.

- **Category:** Social Networks & Forums
- **Licence:** MIT
- **Latest version:** 2.92
- **Open source:** oss
- **Platforms:** Build from Source
- **Tags:** Notifications, Social Network, Activitypub, Daemon, No Database, Multi User, Moderation, Csharp, Fediverse, Web Interface, Microblogging, Mastodon api

## Description

snac (Social Networks Are Crap) is a Fediverse server: one small daemon speaking ActivityPub so an individual or a small group can run their own instance and exchange posts with Mastodon, Pleroma, Friendica and other systems. The code is plain C with only OpenSSL and curl needed at build time, everything is kept as files in a base directory rather than in a database, and the browser side is free of JavaScript and cookies while offering public, private and instance timelines that render conversations as nested trees. Writing supports a Markdown-like subset, media attachments, polls, drafts, scheduled publishing, content warnings and public / unlisted / followers-only / direct scopes; users can follow, mute, hide, limit or block accounts, admins can block whole instances, hashtags can be followed or blocked, and incoming post content can be filtered with regular expressions. From version 2.27 an optional Mastodon API lets third-party mobile and desktop clients connect with an API token, and bookmarks, lists and follows can be exported or imported as Mastodon-compatible CSV, including migrating an account away to Mastodon. Installation is `make` plus `make install`, then `snac init <basedir>`, `snac adduser` and `snac httpd <basedir>`, with nginx, Apache2 or OpenBSD httpd in front for TLS; tuning happens in server.json, and notifications can go out by email, webhook, Telegram or ntfy. The bundled docker-compose setup is only meant for development and testing, and the storage layout relies on a filesystem with hard-link support.

## Links

- [Homepage](https://codeberg.org/grunfink/snac2)
- [snac manuals (user, administrator, formats)](https://comam.es/snac-doc/)
- [Liberapay](https://liberapay.com/grunfink/)
- [Release notes](https://comam.es/snac-doc/RELEASE_NOTES.html)
- [Source code repository](https://codeberg.org/grunfink/snac2)

---
Source: https://selfhost.directory/project/snac