Timeline all

A personal reader for Drupal

I'm happy to announce that the personal reader project I've been writing for Drupal is now available for download! You can install it on your website, and as a PWA on your phone or tablet. No more third party applications, just pure HTML, css and the power of Drupal. The layout is heavily influenced by the Mastodon project, but needs more tweaks to fix the responsive behavior.

The project consists of two parts:

  • reader module: API for getting channels, streams etc. The main entry point is at /reader. Configuration is at admin/config/services/reader.
  • reader theme: theme for displaying the content. The theme enables you to install the reader on the home screen of your mobile phone.

Modules that implement the api are ActivityPub and IndieWeb. Support for the core Aggregator module is also implemented.

I've recorded a short screencast showing the current interface and also how to install on a mobile phone! You can see channels from the IndieWeb microsub module and the local ActivityPub timeline of people I'm following on the Fediverse.

Happy reading!

A personal reader for Drupal, integrating with #activitypub and #indieweb with PWA support on mobile phones! https://realize.be/blog/personal-reader-drupal

#170

Currently writing and testing a new Drupal project/theme which adds a reader on your site and install as a PWA on your tablet or phone. It integrates with #activitypub and #indieweb so no need anymore for an external client. Just host it all yourself!

Reader desktop
Reader mobile

swentel on Wed, 14/10/2020 - 11:00

There are several links on the homepage: rss, microformats, or now via ActivityPub of course :)

ActivityPub for Drupal

After a couple of weeks of coding and testing, I've tagged a first alpha release of the ActivityPub module for Drupal! It implements the protocol so that you can communicate with other Drupal sites or platforms which support ActivityPub. Remote accounts on for example Mastodon or Pixelfed can follow any user on a Drupal site now and read content, like posts and reply from their platform. It's only the tip of the iceberg of what's possible with AP, but the main focus at this point is discovery of content and users on remote platforms and performing typical social responses (reply, favorite, announce).

The core of the implementation uses Drupal plugins to map fields and content types to activity types. Being in alpha means that the interfaces will most likely change as bugs are fixed and new features will be implemented, but I'll document those when I tag a new version. For more information, installation and configuration, check the README which I will continue to update as well.

Main features

  • Enable ActivityPub per user, discovery via the Webfinger module
  • Map Activity types and properties to content types and create posts to send out to the Fediverse.
  • Create comments from Create activities from remote users to content
  • Accept follow requests, Undo (follow), Outbox, Inbox and followers endpoints
  • Send posts via drush or cron, with HttpSignature for authorization

Follow me!

Have an account on Mastodon, Pixelfed or Pleroma? Then you can follow me via @swentel@realize.be. Discovery probably works on most other platforms as well, but I haven't interacted with those yet, and I hope other people will download and start testing with those as well.

ActivityPub for Drupal: first alpha release! If you are on a federated platform, you can now follow me via swentel@realize.be :) #drupal #activitypub https://realize.be/blog/activitypub-drupal