Lightweight ActivityPub server written in portable C

Snac screenshot

Snac is a minimal ActivityPub server implementation written in portable C. It provides basic federated social networking features with very small runtime dependencies and a simple, JavaScript-free web interface.

Key Features

  • Implements core ActivityPub/ActivityStreams operations for publishing, following, replying, liking/boosting and private messages.
  • Multiuser support with local account management and man-page style documentation for administration.
  • Very small dependency footprint: written in C and depends only on libcurl and OpenSSL at build/runtime.
  • Optional compatibility layer for the Mastodon API (can be compiled out with a build flag).
  • No external database required; server stores data on disk and uses compact internal formats.
  • Minimal, accessible web UI (no JavaScript, no cookies) and examples for Docker + nginx deployment.
  • Designed for interoperability with other Fediverse software and lightweight hosts (Raspberry Pi and small VPSes).

Use Cases

  • Host a small, low-resource federated social instance for a personal community or project team.
  • Run a privacy-focused or resource-constrained Fediverse node where minimal dependencies and no DB are desirable.
  • Provide an ActivityPub-compatible backend for Mastodon-compatible clients in small deployments.

Limitations and Considerations

  • Mastodon API support is indicated as work in progress and may not implement every endpoint or behavior expected by all Mastodon clients.
  • No built-in TLS termination: the daemon is intended to run behind a TLS-capable web server or reverse proxy (examples use nginx).
  • The "no database" design simplifies operation but can limit scalability and some advanced features compared with full-featured, database-backed Fediverse servers.
  • The web UI is intentionally minimal; some advanced client workflows (rich media management, complex moderation UIs) are limited or absent.

Snac is a pragmatic, low-footprint ActivityPub server focused on simplicity, portability and interoperability. It is well-suited for hobbyists, small communities and constrained environments where minimal runtime requirements and straightforward administration are priorities.

Categories:

Tags:

Tech Stack:

Share:

Similar Services

Mastodon

Mastodon

Open-source federated microblogging social network server

49.5k
7.4k
Last commit: 1d ago

Mastodon is an open-source, ActivityPub-compatible social network server for microblogging, offering federated timelines, moderation tools, media support, and APIs.

Alternative to:
Threads
Threads
+7
PeerTube

PeerTube

Federated video hosting and streaming with P2P delivery

14.4k
1.7k
Last commit: 3d ago

PeerTube is a decentralized, ActivityPub-federated video hosting platform with live streaming, P2P WebRTC delivery, and customizable community-run instances.

Alternative to:
YouTube
YouTube
+8
Lemmy

Lemmy

Federated link aggregator and discussion forum platform

14.2k
938
Last commit: 3d ago

Lemmy is a federated, self-hostable link aggregator and forum platform for creating Reddit-like communities with voting, comments, moderation tools, and ActivityPub feder...

Alternative to:
Reddit
Reddit
+3
diaspora*

diaspora*

Decentralized, privacy-focused federated social network

13.9k
2.9k
Last commit: 6mo ago

Open-source federated social network built around independently run pods, privacy via Aspects, and standard social features; implemented in Ruby on Rails.

Alternative to:
Mastodon (mastodon.social)
Mastodon (mastodon.social)
+6
Misskey

Misskey

Federated microblogging social platform for the ActivityPub fediverse

10.9k
1.5k
Last commit: 1d ago

Misskey is an open-source federated microblogging platform using ActivityPub, enabling communities to run their own social server and interact across the fediverse.

Alternative to:
Misskey
Misskey
+6
Pixelfed

Pixelfed

Decentralized photo-sharing social network for the Fediverse

6.8k
818
Last commit: 7d ago

Pixelfed is a free, open-source, ActivityPub-based photo sharing social network that federates with the Fediverse for decentralized social media.

Alternative to:
Instagram
Instagram
+7