{"id":13555835,"url":"https://github.com/pfefferle/node-webmention-testendpoint","last_synced_at":"2025-05-07T18:09:15.282Z","repository":{"id":17153498,"uuid":"19920311","full_name":"pfefferle/node-webmention-testendpoint","owner":"pfefferle","description":"A WebMention Test Endpoint","archived":false,"fork":false,"pushed_at":"2024-02-05T02:23:00.000Z","size":57,"stargazers_count":9,"open_issues_count":2,"forks_count":1,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-05-07T18:04:27.407Z","etag":null,"topics":["endpoint","indieweb","test","webmention"],"latest_commit_sha":null,"homepage":"https://www.npmjs.com/package/node-webmention-testendpoint","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/pfefferle.png","metadata":{"files":{"readme":"readme.md","changelog":"changelog.md","contributing":null,"funding":null,"license":"license.md","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null},"funding":{"custom":"https://notiz.blog/donate/"}},"created_at":"2014-05-18T20:28:47.000Z","updated_at":"2024-03-11T13:44:06.000Z","dependencies_parsed_at":"2024-01-29T03:56:01.979Z","dependency_job_id":"aaf18ad4-a49c-4a53-ad39-a1d7c170c555","html_url":"https://github.com/pfefferle/node-webmention-testendpoint","commit_stats":{"total_commits":32,"total_committers":7,"mean_commits":4.571428571428571,"dds":0.5625,"last_synced_commit":"4886ef9d9ca6ce6fbdfef18abccf4af38d4307b5"},"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pfefferle%2Fnode-webmention-testendpoint","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pfefferle%2Fnode-webmention-testendpoint/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pfefferle%2Fnode-webmention-testendpoint/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pfefferle%2Fnode-webmention-testendpoint/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/pfefferle","download_url":"https://codeload.github.com/pfefferle/node-webmention-testendpoint/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":252931532,"owners_count":21827111,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["endpoint","indieweb","test","webmention"],"created_at":"2024-08-01T12:03:26.916Z","updated_at":"2025-05-07T18:09:15.040Z","avatar_url":"https://github.com/pfefferle.png","language":"JavaScript","funding_links":["https://notiz.blog/donate/"],"categories":["JavaScript","others"],"sub_categories":[],"readme":"# Webmention Test Endpoint\n\nA tool to test your [Webmention](https://www.w3.org/TR/webmention/) client. Generates a demo-post and a demo-endpoint to test if your client parses the webmention-endpoint correctly and to check if the ping body is transmitted correctly.\n\nBe sure to also test the [node-webmention-testpinger](https://github.com/voxpelli/node-webmention-testpinger) of [@voxpelli](https://github.com/voxpelli)\n\n## Usage\n\nFirst clone the repository\n\n    $ git clone https://github.com/pfefferle/node-webmention-testendpoint.git\n\nThen run the app\n\n    $ node .\n\nThe tool will spin up a server on port 9247 and provides a test-post and a test-endpoint.\n\n## Options\n\nYou can find the test-post under\n\n    http://localhost:9247/post\n\nTo test several possibilities, you have some options. Options can be added as query strings and will change the output of the test-posting.\n\n### Type\n\nWith `type` you can choose the [autodiscovery format](https://www.w3.org/TR/webmention/#sender-discovers-receiver-webmention-endpoint).\n\n    ?type={link,a,head}\n\n* `link` will add a `\u003clink rel=\"webmention\" href=\"...\" /\u003e` to the HTML-head\n* `a` will add a link `\u003ca rel=\"webmention\" href=\"...\"\u003eEndpoint\u003c/a\u003e` to the HTML-body\n* `head` will add a HTTP-Link header `Link: \u003chttp://...\u003e; rel=\"webmention\"`\n\nYou can combine several types with a semicolon separated list.\n\n### Rel\n\nUse 'rel' to define the link relation\n\n    ?rel={id|uri|both}\n\n* `id` uses the `webmention` relation: `\u003clink rel=\"webmention\" href=\"...\" /\u003e`\n* `uri` uses the `http://webmention.org/` uri relation: `\u003clink rel=\"http://webmention.org/\" href=\"...\" /\u003e`\n* `both` will add both relations: `\u003clink rel=\"webmention http://webmention.org/\" href=\"...\" /\u003e`\n\n### URL\n\nUse `url` to choose between absolute and relative urls\n\n    ?url={abs|rel}\n\n(the default is `abs`)\n\n* `abs` absolute endpoint-urls\n* `rel` relative endpoint-urls\n\n### Status Code (HTTP)\n\nUse `status_code` to simulate for example error-scenarios via HTTP-codes\n\n    ?status_code=500\n\nCheck out [RFC 7231](http://tools.ietf.org/html/rfc7231) and the [Webmention Spec](https://www.w3.org/TR/webmention/#error-responses) to find out more about the error codes.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpfefferle%2Fnode-webmention-testendpoint","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpfefferle%2Fnode-webmention-testendpoint","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpfefferle%2Fnode-webmention-testendpoint/lists"}