Skip to content

Commit 37878b6

Browse files
authored
added activity dao feed
1 parent 0e6d307 commit 37878b6

File tree

1 file changed

+70
-0
lines changed

1 file changed

+70
-0
lines changed

curate.config.json

Lines changed: 70 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1616,6 +1616,76 @@
16161616
}
16171617
}
16181618
},
1619+
{
1620+
"id": "activity",
1621+
"name": "ActivityDAO",
1622+
"description": "Activity based events for crypto.",
1623+
"moderation": {
1624+
"approvers": {
1625+
"twitter": ["plugrel", "potlock_intern", "russlive215"]
1626+
}
1627+
},
1628+
"outputs": {
1629+
"stream": {
1630+
"enabled": true,
1631+
"transform": [
1632+
{
1633+
"plugin": "@curatedotfun/object-transform",
1634+
"config": {
1635+
"mappings": {
1636+
"source": "https://x.com/{{username}}/status/{{tweetId}}",
1637+
"content": "{{content}}",
1638+
"author": "{{username}}",
1639+
"notes": "{{curator.notes}}",
1640+
"submittedAt": "{{submittedAt}}"
1641+
}
1642+
}
1643+
},
1644+
{
1645+
"plugin": "@curatedotfun/ai-transform",
1646+
"config": {
1647+
"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.",
1648+
"apiKey": "{OPENROUTER_API_KEY}",
1649+
"schema": {
1650+
"title": {
1651+
"type": "string",
1652+
"description": "Title derived from summary of content"
1653+
},
1654+
"summary": {
1655+
"type": "string",
1656+
"description": "Summary of content influenced by curator notes"
1657+
},
1658+
"tags": {
1659+
"type": "array",
1660+
"items": {
1661+
"type": "string"
1662+
},
1663+
"description": "Relevant tags for the content"
1664+
}
1665+
}
1666+
}
1667+
}
1668+
],
1669+
"distribute": [
1670+
{
1671+
"transform": [
1672+
{
1673+
"plugin": "@curatedotfun/simple-transform",
1674+
"config": {
1675+
"template": "*[{{title}}](<{{source}}>)*\n\n{{summary}}\n\n👤 Source [@{{author}}](https://x.com/{{author}})"
1676+
}
1677+
}
1678+
],
1679+
"plugin": "@curatedotfun/telegram",
1680+
"config": {
1681+
"botToken": "{TELEGRAM_BOT_TOKEN}",
1682+
"channelId": "@activitydao"
1683+
}
1684+
}
1685+
]
1686+
}
1687+
}
1688+
},
16191689
{
16201690
"id": "africa",
16211691
"name": "Web3Fusion",

0 commit comments

Comments
 (0)