Files
jerapah-flow/packages/server/workflows/default/rss-selfhst-to-ntfy.yaml
T
nsrbandCursor 4a78f66e2d refactor: rename the project to JerapahFlow (jerapah-flow)
Update package names, env vars, cookie, and default ntfy topics while keeping SCRUNNER_* fallbacks.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-15 21:21:24 +07:00

30 lines
774 B
YAML

name: RSS - selfh.st first item to ntfy
scripts:
- script: fetch-rss-feed.js
config:
url: "https://selfh.st/rss/"
outputVar: item
jsonata: items[0]
- script: fingerprint.js
config:
key: selfhst-latest
jsonata: "data.item.guid ? data.item.guid : data.item.link"
- script: jsonata.js
config:
expression: |
{
"data": {
"title": item.title,
"message": item.contentSnippet & "\n" & item.link,
"attach": item.mediaContent.url ? item.mediaContent.url : (item.mediaContent.$ ? item.mediaContent.$.url : undefined)
}
}
- script: ntfy.js
config:
url: https://ntfy.sh/jerapah-flow
triggers:
- type: HTTP
method: POST
path: /selfhst-rss