Skip to content
Hubot Script for relaying webmention notifications from webmention.io
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
script
src
test
.editorconfig
.gitignore
.travis.yml
Gruntfile.js
README.md
index.coffee
package.json

README.md

hubot-webmentionio-notify

Handle notification of new webmentions from webmention.io.

See src/hubot-webmention-io.coffee for full documentation.

Installation

In hubot project repo, run:

npm install hubot-webmentionio-notify --save

Then add hubot-webmentionio-notify to your external-scripts.json:

[
  "hubot-webmentionio-notify"
]

Sample Interaction

user1>> hubot wmio follow mywebsite.com
hubot>> @user1 OK! Use this as your Web Hook: <HUBOT_URL>/hubot/wmio/notify
And use this as your callback secret: 1a2b3c4d5e6f7890

In your webmention.io dashboard, set the Web Hook URL and callback secret for each domain that you are following.

Notifications will be sent to the room in which you started following. They look like:

hubot>> Alice Bob liked http://mywebsite.com/a-cool-post/ - http://alicebob.com/i-like-a-cool-post.html

You can stop accepting notifications for a site:

user1>> hubot wmio unfollow mywebsite.com
hubot>> @user1 OK! No longer following mywebsite.com

webmention.io can currently only send one token, so if you want to change the room in which you receive a notification, you'll have to unfollow and re-follow.

NPM Module

https://www.npmjs.com/package/hubot-webmentionio-notify

You can’t perform that action at this time.