All Projects → voxpelli → node-webmention-testpinger

voxpelli / node-webmention-testpinger

Licence: other
A tool to ping your site with a variety of real world WebMentions

Programming Languages

HTML
75241 projects
javascript
184084 projects - #8 most used programming language

Projects that are alternatives of or similar to node-webmention-testpinger

indieweb-post-kinds
adds support for responding to and interacting with other sites using the standards developed by the Indieweb Community
Stars: ✭ 39 (+39.29%)
Mutual labels:  indieweb, webmention
sweetroll2
A powerful micro/blogging engine with IndieWeb features (abandoned)
Stars: ✭ 27 (-3.57%)
Mutual labels:  indieweb, webmention
webmention
Webmention Plugin for Craft CMS
Stars: ✭ 38 (+35.71%)
Mutual labels:  indieweb, webmention
entries.pub
WIP IndieWeb blog engine
Stars: ✭ 13 (-53.57%)
Mutual labels:  indieweb, webmention
XRay
X-Ray returns structured data from any URL
Stars: ✭ 80 (+185.71%)
Mutual labels:  indieweb, microformats
microlight
A fully IndieWeb-compatible PHP blogging engine
Stars: ✭ 35 (+25%)
Mutual labels:  indieweb, webmention
acquiescence
IndieAuth authorization and token endpoint.
Stars: ✭ 19 (-32.14%)
Mutual labels:  indieweb
paulrobertlloyd-v4
My personal website. There are many like it, but this is mine.
Stars: ✭ 78 (+178.57%)
Mutual labels:  indieweb
Nautilus
Turn your website into an ActivityPub profile
Stars: ✭ 55 (+96.43%)
Mutual labels:  indieweb
smix-eleventy-starter
A standards-respecting starter kit for Eleventy. Go Indie.
Stars: ✭ 108 (+285.71%)
Mutual labels:  indieweb
Switchboard
a WebSub / PubSubHubbub 0.4 hub
Stars: ✭ 31 (+10.71%)
Mutual labels:  indieweb
indigenous-ios
An IndieWeb app with extensions for sharing information to micropub endpoints and reading from microsub endpoints
Stars: ✭ 41 (+46.43%)
Mutual labels:  indieweb
indieweb-guides
Source code for IndieWeb Guides
Stars: ✭ 15 (-46.43%)
Mutual labels:  indieweb
transformative
IndieWeb personal website software.
Stars: ✭ 47 (+67.86%)
Mutual labels:  indieweb
nicolas-hoizey.com
The personal website/blog from Nicolas Hoizey, built with https://pack11ty.dev/
Stars: ✭ 77 (+175%)
Mutual labels:  webmention
Aperture
Aperture is a Microsub server. Currently in beta.
Stars: ✭ 62 (+121.43%)
Mutual labels:  indieweb
syndication-links
Add and Display Syndication Links
Stars: ✭ 26 (-7.14%)
Mutual labels:  indieweb
gavel-spec
Behavior specification for Gavel, validator of HTTP transactions
Stars: ✭ 105 (+275%)
Mutual labels:  test-suite
IndieNews
📰 News aggregator for IndieWeb-related posts
Stars: ✭ 32 (+14.29%)
Mutual labels:  indieweb
micropub-endpoint
Receives requests.
Stars: ✭ 23 (-17.86%)
Mutual labels:  indieweb

WebMention Test Pinger

A tool to ping your site with a variety of WebMentions markup. Contains copies of a couple of real world examples of mentions that it enables you to ping locally to a development copy of your site.

Real world sites included

Test suites included

Usage on CLI

First install from NPM:

npm install -g webmention-testpinger

Then run by doing:

webmention-testpinger --endpoint=http://example.com/endpoint --target=http://example.com/target

This tool will spin up a server on port 8080 and then ping the specified WebMentions hub with a URL to that server or each real world example which will return a copy of that example with a placeholder URL replaced with the requested mention target. After all pinged mentions has been fetched it will shut down the server and finish its execution.

Options

To list all available options, run:

webmention-testpinger --help

Usage in Node.js project

First add it from NPM:

npm install webmention-testpinger --save-dev

Then require it and set it up:

var WebMentionTemplates = require('webmention-testpinger').WebMentionTemplates;

var templateCollection = new WebMentionTemplates();

templateCollection.getTemplateNames().then(function (templateNames) {
  // "templateNames" contains an array of the names of all available templates
});

templateCollection.getTemplate(templateName, templateTarget).then(function (template) {
  // "template" contains the rendered HTML for the template with the name "templateName"
  // and has its webmention targeted at the "templateTarget" target URL
});

Options

One can send an object into new WebMentionTemplates() to define some options. The possible ones are:

  • templatePath – an absolute path to a folder in which a bunch of templates can be found

Requirements for CLI

  • Node.js (with npm)
  • Local copy of the hub you want to ping
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].