@rmdes/indiekit-endpoint-webmention-io 1.2.0 → 1.2.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +4 -4
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -7,7 +7,7 @@ Webmention moderation endpoint for [Indiekit](https://getindiekit.com). Syncs we
|
|
|
7
7
|
- **Background Sync**: Automatically fetches webmentions from webmention.io every 15 minutes (configurable)
|
|
8
8
|
- **Moderation Dashboard**: Admin UI for hiding/unhiding webmentions
|
|
9
9
|
- **Domain Blocking**: Block spam domains (hides all mentions, blocks future ones)
|
|
10
|
-
- **Privacy Removal**:
|
|
10
|
+
- **Privacy Removal**: permanently delete a domain's mentions from this database and block it (webmention.io keeps its own copy)
|
|
11
11
|
- **Public JSON API**: Drop-in replacement for webmention.io API with server-side caching
|
|
12
12
|
- **MongoDB Storage**: Persistent storage with indexes for fast queries
|
|
13
13
|
- **Incremental Sync**: Only fetches new webmentions since last sync (efficient)
|
|
@@ -59,7 +59,7 @@ Visit `/webmentions` in your Indiekit admin panel to:
|
|
|
59
59
|
- Filter by type (likes/replies/reposts/mentions)
|
|
60
60
|
- Hide/unhide individual webmentions
|
|
61
61
|
- Block spam domains
|
|
62
|
-
- Remove mentions for privacy requests (
|
|
62
|
+
- Remove mentions for privacy requests (local copy only)
|
|
63
63
|
|
|
64
64
|
### Manual Sync
|
|
65
65
|
|
|
@@ -147,14 +147,14 @@ Body: domain=spam.example.com
|
|
|
147
147
|
- Adds domain to blocklist
|
|
148
148
|
- Future mentions from this domain are filtered during sync
|
|
149
149
|
|
|
150
|
-
#### Privacy removal
|
|
150
|
+
#### Privacy removal
|
|
151
151
|
```bash
|
|
152
152
|
POST /webmentions/privacy-remove
|
|
153
153
|
Body: domain=user-request.example.com
|
|
154
154
|
```
|
|
155
155
|
- **Permanently deletes** all mentions from the domain
|
|
156
156
|
- Adds domain to blocklist with reason="privacy"
|
|
157
|
-
- Irreversible
|
|
157
|
+
- Irreversible here; the mention still exists on webmention.io, ask them separately for removal at the source
|
|
158
158
|
|
|
159
159
|
#### Unblock a domain
|
|
160
160
|
```bash
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@rmdes/indiekit-endpoint-webmention-io",
|
|
3
|
-
"version": "1.2.
|
|
3
|
+
"version": "1.2.1",
|
|
4
4
|
"description": "Webmention moderation endpoint for Indiekit. Syncs webmentions from webmention.io into MongoDB with delete, block, and privacy removal capabilities.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"indiekit",
|