drupal / fediverse
Configures the site to be part of the Fediverse
Package info
git.drupalcode.org/project/fediverse.git
Type:drupal-recipe
pkg:composer/drupal/fediverse
Requires
- drupal/activitypub: ^1.0@alpha
- drupal/custom_field: ^5.0
- drupal/imagecache_external: ^3.0
- drupal/magnific_popup: ^2.1
- drupal/prepopulate: ^2.5
- drupal/reader: ^1.0
- drupal/restui: ^1.22
This package is auto-updated.
Last update: 2026-08-28 14:54:19 UTC
README
This is a Drupal recipe which installs and configures your site to become a part of the Fediverse.
Modules which will be installed:
- https://www.drupal.org/project/activitypub
- https://www.drupal.org/project/reader
- https://www.drupal.org/project/nodeinfo
- https://www.drupal.org/project/webfinger
- https://www.drupal.org/project/imagecache_external
- https://www.drupal.org/project/magnific_popup
- https://www.drupal.org/project/custom_field
- https://www.drupal.org/project/simple_oauth
- https://www.drupal.org/project/consumers
- https://www.drupal.org/project/restui
- https://www.drupal.org/project/prepopulate
After installation following features will be ready:
- Note content type to quickly create a status update
- Reply content type to reply to a status
- Like content type to like a status
- Repost content type to repost a status
- Reader installed and available on /reader
- API endpoint configured to connect with external clients
- User avatar and header image fields
- User metadata field
and much more sensible defaults!
Installation
Follow the steps underneath. Make sure a private folder has been configured in settings.php!
Install the recipe with drush. Note that you might need to clear the cache first after you required this project with composer.
drush cr drush recipe ../recipes/fediverseGenerate public and private keys for the 'instance' user. This can also be done at /admin/config/services/activitypub. You need this for signing GET requests.
drush activitypub:generate-keys instanceDownload the infinite scroll library locally.
drush reader:isDownload the magnific popup library locally.
drush reader:mpCreate an actor via command line. To configure an actor in the site, go to /user/{uid}/activitypub.
# e.g. create actor for user 1 with the nick swentel: # drush activitypub:create-actor 1 swentel drush activitypub:create-actor {uid} {username}Configure the crontab with the necessary commands:
drush activitypub:show-cron-commands -l https://example.com