Skip to content

Commit d707066

Browse files
authored
added public goods feed
1 parent 3bcefec commit d707066

File tree

1 file changed

+59
-1
lines changed

1 file changed

+59
-1
lines changed

curate.config.json

Lines changed: 59 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -612,6 +612,9 @@
612612
"approvers": {
613613
"twitter": [
614614
"plugrel",
615+
"Giveth",
616+
"sovereignsignal",
617+
"thegrifft",
615618
"owocki",
616619
"TheDevanshMehta",
617620
"niddhi",
@@ -624,7 +627,62 @@
624627
},
625628
"outputs": {
626629
"stream": {
627-
"enabled": false
630+
"enabled": true,
631+
"transform": [
632+
{
633+
"plugin": "@curatedotfun/object-transform",
634+
"config": {
635+
"mappings": {
636+
"source": "https://x.com/{{username}}/status/{{tweetId}}",
637+
"content": "{{content}}",
638+
"author": "{{username}}",
639+
"notes": "{{curator.notes}}",
640+
"submittedAt": "{{submittedAt}}"
641+
}
642+
}
643+
},
644+
{
645+
"plugin": "@curatedotfun/ai-transform",
646+
"config": {
647+
"prompt": "Summarize the content into a concise news flash, incorporating relevant details from the curator's notes. Maintain a neutral, third-person tone. Mention the author if relevant, or simply convey the information. When processing social media-style content, convert @mentions into markdown links in the format: [@username](https://x.com/username). Ensure all mentions are accurately linked and preserve their original intent.",
648+
"apiKey": "{OPENROUTER_API_KEY}",
649+
"schema": {
650+
"title": {
651+
"type": "string",
652+
"description": "Title derived from summary of content"
653+
},
654+
"summary": {
655+
"type": "string",
656+
"description": "Summary of content influenced by curator notes"
657+
},
658+
"tags": {
659+
"type": "array",
660+
"items": {
661+
"type": "string"
662+
},
663+
"description": "Relevant tags for the content"
664+
}
665+
}
666+
}
667+
}
668+
],
669+
"distribute": [
670+
{
671+
"transform": [
672+
{
673+
"plugin": "@curatedotfun/simple-transform",
674+
"config": {
675+
"template": "*[{{title}}](<{{source}}>)*\n\n{{summary}}\n\n👤 Source [@{{author}}](https://x.com/{{author}})"
676+
}
677+
}
678+
],
679+
"plugin": "@curatedotfun/telegram",
680+
"config": {
681+
"botToken": "{TELEGRAM_BOT_TOKEN}",
682+
"channelId": "@publicgoodsfm"
683+
}
684+
}
685+
]
628686
}
629687
}
630688
},

0 commit comments

Comments
 (0)