Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/ChristopherBiscardi/gatsby-plugin-webmention
https://webmention.io/ configuration and sourcing for Gatsby
https://github.com/ChristopherBiscardi/gatsby-plugin-webmention
Last synced: 17 days ago
JSON representation
https://webmention.io/ configuration and sourcing for Gatsby
- Host: GitHub
- URL: https://github.com/ChristopherBiscardi/gatsby-plugin-webmention
- Owner: ChristopherBiscardi
- Created: 2019-01-11T20:59:52.000Z (almost 6 years ago)
- Default Branch: master
- Last Pushed: 2020-03-16T10:22:01.000Z (over 4 years ago)
- Last Synced: 2024-04-08T19:17:13.291Z (7 months ago)
- Language: JavaScript
- Size: 28.3 KB
- Stars: 54
- Watchers: 6
- Forks: 2
- Open Issues: 5
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Gatsby Plugin Webmention
A Gatsby plugin that handles installing and sourcing for webmention.io.
## Installation
```shell
yarn add gatsby-plugin-webmention
```## Getting Started
1. Configure the identities you want to use to log in to
[webmention.io](https://webmention.io) using the `identity` option.
1. Deploy that so the generated HTML tags are visible to webmention.io.
1. You can now log into webmention.io and get your username. Put your new
username in the config as well and redeploy.## Config
```js
// gatsby-config.js
module.exports = {
plugins: [
{
resolve: `gatsby-plugin-webmention`,
options: {
username: undefined, // webmention.io username
identity: {
// you need to specify at least one of the identities
// to be able to log in webmention.io
github: "username",
twitter: "username", // no @
email: "[email protected]"
},
mentions: true,
pingbacks: false,
forwardPingbacksAsWebmentions: "https://example.com/endpoint",
domain: "example.com",
fetchLimit: 10000, // number of webmentions to fetch
token: process.env.WEBMENTIONS_TOKEN
}
}
]
};
```## Brid.gy
Consider setting up [brid.gy](https://brid.gy/) to get Tweets sent as
webmentions to webmention.io.