drupal/fediverse

Configures the site to be part of the Fediverse

Maintainers

Package info

git.drupalcode.org/project/fediverse.git

Type:drupal-recipe

pkg:composer/drupal/fediverse

Transparency log

Statistics

Installs: 0

Dependents: 0

Suggesters: 0

1.0.x-dev 2026-08-28 16:53 UTC

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:

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/fediverse
    
  • Generate 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 instance
    
  • Download the infinite scroll library locally.

    drush reader:is
    
  • Download the magnific popup library locally.

    drush reader:mp
    
  • Create 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