Ghost/ghost/webmentions
Fabien "egg" O'Carroll 72d7580461 Added source_is_ghost flag to outgoing Webmentions
This is a pretty simple way for us to track which webmentions are sent
by Ghost. Although it's easily spoofed, so are other approaches like
using a header (e.g. User-Agent). If we find that this data is being
spoofed we can look at different approach.

Becuase our receiving implementation stores the payload of the
Webmention, we'll be able to know inside Ghost which Mentions
originated from another Ghost installation, which is useful for stats
and gives us the possibility to display that information in the feed.

Longer term we might want to consider storing this data in a separate
column for Mentions, rather than the `payload` column - but that is
outside the scope of this change.
2023-02-01 13:44:55 +07:00
..
lib Added source_is_ghost flag to outgoing Webmentions 2023-02-01 13:44:55 +07:00
test Added source_is_ghost flag to outgoing Webmentions 2023-02-01 13:44:55 +07:00
.eslintrc.js
index.js
package.json Added mention discovery service (#16154) 2023-01-20 11:45:48 +01:00
README.md

Webmentions

Usage

Develop

This is a monorepo package.

Follow the instructions for the top-level repo.

  1. git clone this repo & cd into it as usual
  2. Run yarn to install top-level dependencies.

Test

  • yarn lint run just eslint
  • yarn test run lint and tests