---
title: "ActivityPub Server in a Single PHP File"
id: "39541"
slug: "activitypub-server-in-a-single-php-file"
permalink: "https://eay.cc/2024/activitypub-server-in-a-single-php-file/"
published_at: "2024-03-20T10:15:24+00:00"
author: "Stefan Grund"
type: "post"
format: "link"
tags:
  - "activity pub"
  - "mastodon"
  - "netzkultur"
  - "social web"
  - "technologie"
  - "web-entwicklung"
external_url: "https://shkspr.mobi/blog/2024/02/activitypub-server-in-a-single-file/"
short_url: "https://eay.li/3qe"
content_copy:
  - "https://eay.social/@eay/112127490540041113"
geo_latitude: "51.000113"
geo_longitude: "6.794228"
---

# ActivityPub Server in a Single PHP File

[Link →](https://shkspr.mobi/blog/2024/02/activitypub-server-in-a-single-file/)

[Terence Eden](https://mastodon.social/@edent) baut einen ActivityPub-Server in einer einzigen PHP-Datei und statt einer Datenbank, nutzt er JSON-Dateien zum Persistieren. [Hier das Git-Repository](https://gitlab.com/edent/activitypub-single-php-file), das auch auflistest, welche Features bereits bzw. noch nicht unterstützt werden.

In meiner Wunschvorstellung wird das Hosten einer eigenen ActivityPub-Instanz in Zukunft so einfach, wie das Hosten eines WordPress mit seiner berühmten „5 minute installation“. Damit – wie in meinem Use Case – eben nicht mehr eine ganze Mastodon-Instanz betrieben werden muss, sondern ein simples Single-User-System, das dann auch das Mastodon-Ökosysten an Apps & Services unterstützt. Interconnected mini social networks! (via [Thomas](https://gigold.me/links/goldstueck-06))
