gnu-social/plugins/Meteor
Diogo Peralta Cordeiro 6e031d623a [VersionBump] 2.0.0beta0
Updated composer and translations

composer install --no-dev
composer dump-autoload --optimize
git add vendor/ --force
make updatepo
2021-07-18 12:49:17 +01:00
..
locale [VersionBump] 2.0.0beta0 2021-07-18 12:49:17 +01:00
MeteorPlugin.php [CORE] Add GNUSOCIAL_ENGINE_REPO_URL and increase usage of GNUSOCIAL_ENGINE_URL 2021-07-16 19:44:36 +01:00
README.md [REALTIME] Reviewed both the superclass and its dist plugins 2021-07-16 19:44:36 +01:00

This is a plugin to automatically load notices in the browser no matter who creates them -- the kind of thing we see with search.twitter.com, rejaw.com, or FriendFeed's "real time" news.

It requires a meteor server.

https://github.com/visitsb/meteorserver/

Note that the controller interface needs to be accessible by the Web server, and the subscriber interface needs to be accessible by your Web users. You MUST firewall the controller interface from users; otherwise anyone will be able to push any message to your subscribers. Not good!

You can enable the plugin with this line in config.php:

addPlugin('Meteor', ['webserver' => 'meteor server address']);

Available parameters:

  • webserver: Web server address. Defaults to site server.
  • webport: port to connect to for Web access. Defaults to 4670.
  • controlserver: Control server address. Defaults to webserver.
  • controlport: port to connect to for control. Defaults to 4671.
  • channelbase: a base string to use for channels. Good if you have multiple sites using the same meteor server.