Add JSON definition subscriptions

This commit is contained in:
Jordan Wages 2026-08-25 00:40:30 -05:00
commit bedeb8495d
15 changed files with 321 additions and 37 deletions

View file

@ -0,0 +1,21 @@
{
"schemaVersion": 1,
"collectionId": "vibeguard-default",
"name": "VibeGuard default definitions",
"description": "Definitions maintained by the VibeGuard project.",
"definitions": [
{
"id": "mastodon",
"name": "Mastodon (official web interface)",
"urlPatterns": ["<all_urls>"],
"requiredSelectors": [".status__content", ".status, .detailed-status"],
"post": {
"rootSelectors": [".status", ".detailed-status"],
"textSelectors": [".status__content", ".e-content"],
"excludedSelectors": [".status__content__spoiler-link", ".status__content__read-more-button"],
"idAttributes": ["data-id"],
"permalinkSelectors": ["a.status__relative-time[href]", "a.detailed-status__datetime[href]", "a.u-url.u-uid[href]"]
}
}
]
}