|
2193 | 2193 | }, |
2194 | 2194 | "outputs": { |
2195 | 2195 | "stream": { |
2196 | | - "enabled": false |
| 2196 | + "enabled": true, |
| 2197 | + "transform": [ |
| 2198 | + { |
| 2199 | + "plugin": "@curatedotfun/object-transform", |
| 2200 | + "config": { |
| 2201 | + "mappings": { |
| 2202 | + "source": "https://x.com/{{username}}/status/{{tweetId}}", |
| 2203 | + "content": "{{content}}", |
| 2204 | + "author": "{{username}}", |
| 2205 | + "notes": "{{curator.notes}}", |
| 2206 | + "submittedAt": "{{submittedAt}}" |
| 2207 | + } |
| 2208 | + } |
| 2209 | + }, |
| 2210 | + { |
| 2211 | + "plugin": "@curatedotfun/ai-transform", |
| 2212 | + "config": { |
| 2213 | + "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.", |
| 2214 | + "apiKey": "{OPENROUTER_API_KEY}", |
| 2215 | + "schema": { |
| 2216 | + "title": { |
| 2217 | + "type": "string", |
| 2218 | + "description": "Title derived from summary of content" |
| 2219 | + }, |
| 2220 | + "summary": { |
| 2221 | + "type": "string", |
| 2222 | + "description": "Summary of content influenced by curator notes" |
| 2223 | + }, |
| 2224 | + "tags": { |
| 2225 | + "type": "array", |
| 2226 | + "items": { |
| 2227 | + "type": "string" |
| 2228 | + }, |
| 2229 | + "description": "Relevant tags for the content" |
| 2230 | + } |
| 2231 | + } |
| 2232 | + } |
| 2233 | + } |
| 2234 | + ], |
| 2235 | + "distribute": [ |
| 2236 | + { |
| 2237 | + "transform": [ |
| 2238 | + { |
| 2239 | + "plugin": "@curatedotfun/simple-transform", |
| 2240 | + "config": { |
| 2241 | + "template": "*[{{title}}](<{{source}}>)*\n\n{{summary}}\n\n👤 Source [@{{author}}](https://x.com/{{author}})" |
| 2242 | + } |
| 2243 | + } |
| 2244 | + ], |
| 2245 | + "plugin": "@curatedotfun/telegram", |
| 2246 | + "config": { |
| 2247 | + "botToken": "{TELEGRAM_BOT_TOKEN}", |
| 2248 | + "channelId": "@based_reporter" |
| 2249 | + } |
| 2250 | + } |
| 2251 | + ] |
2197 | 2252 | } |
2198 | 2253 | } |
2199 | 2254 | }, |
|
2208 | 2263 | }, |
2209 | 2264 | "outputs": { |
2210 | 2265 | "stream": { |
2211 | | - "enabled": false |
| 2266 | + "enabled": true, |
| 2267 | + "transform": [ |
| 2268 | + { |
| 2269 | + "plugin": "@curatedotfun/object-transform", |
| 2270 | + "config": { |
| 2271 | + "mappings": { |
| 2272 | + "source": "https://x.com/{{username}}/status/{{tweetId}}", |
| 2273 | + "content": "{{content}}", |
| 2274 | + "author": "{{username}}", |
| 2275 | + "notes": "{{curator.notes}}", |
| 2276 | + "submittedAt": "{{submittedAt}}" |
| 2277 | + } |
| 2278 | + } |
| 2279 | + }, |
| 2280 | + { |
| 2281 | + "plugin": "@curatedotfun/ai-transform", |
| 2282 | + "config": { |
| 2283 | + "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.", |
| 2284 | + "apiKey": "{OPENROUTER_API_KEY}", |
| 2285 | + "schema": { |
| 2286 | + "title": { |
| 2287 | + "type": "string", |
| 2288 | + "description": "Title derived from summary of content" |
| 2289 | + }, |
| 2290 | + "summary": { |
| 2291 | + "type": "string", |
| 2292 | + "description": "Summary of content influenced by curator notes" |
| 2293 | + }, |
| 2294 | + "tags": { |
| 2295 | + "type": "array", |
| 2296 | + "items": { |
| 2297 | + "type": "string" |
| 2298 | + }, |
| 2299 | + "description": "Relevant tags for the content" |
| 2300 | + } |
| 2301 | + } |
| 2302 | + } |
| 2303 | + } |
| 2304 | + ], |
| 2305 | + "distribute": [ |
| 2306 | + { |
| 2307 | + "transform": [ |
| 2308 | + { |
| 2309 | + "plugin": "@curatedotfun/simple-transform", |
| 2310 | + "config": { |
| 2311 | + "template": "*[{{title}}](<{{source}}>)*\n\n{{summary}}\n\n👤 Source [@{{author}}](https://x.com/{{author}})" |
| 2312 | + } |
| 2313 | + } |
| 2314 | + ], |
| 2315 | + "plugin": "@curatedotfun/telegram", |
| 2316 | + "config": { |
| 2317 | + "botToken": "{TELEGRAM_BOT_TOKEN}", |
| 2318 | + "channelId": "@monadpress" |
| 2319 | + } |
| 2320 | + } |
| 2321 | + ] |
2212 | 2322 | } |
2213 | 2323 | } |
2214 | 2324 | }, |
|
2230 | 2340 | { |
2231 | 2341 | "id": "arbitrum", |
2232 | 2342 | "name": "arbitrum", |
2233 | | - "description": "News about Atrbitrum Ecoystem", |
| 2343 | + "description": "News about Arbitrum Ecoystem", |
2234 | 2344 | "moderation": { |
2235 | 2345 | "approvers": { |
2236 | 2346 | "twitter": ["plugrel", "potlock_intern"] |
2237 | 2347 | } |
2238 | 2348 | }, |
2239 | 2349 | "outputs": { |
2240 | 2350 | "stream": { |
2241 | | - "enabled": false |
| 2351 | + "enabled": true, |
| 2352 | + "transform": [ |
| 2353 | + { |
| 2354 | + "plugin": "@curatedotfun/object-transform", |
| 2355 | + "config": { |
| 2356 | + "mappings": { |
| 2357 | + "source": "https://x.com/{{username}}/status/{{tweetId}}", |
| 2358 | + "content": "{{content}}", |
| 2359 | + "author": "{{username}}", |
| 2360 | + "notes": "{{curator.notes}}", |
| 2361 | + "submittedAt": "{{submittedAt}}" |
| 2362 | + } |
| 2363 | + } |
| 2364 | + }, |
| 2365 | + { |
| 2366 | + "plugin": "@curatedotfun/ai-transform", |
| 2367 | + "config": { |
| 2368 | + "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.", |
| 2369 | + "apiKey": "{OPENROUTER_API_KEY}", |
| 2370 | + "schema": { |
| 2371 | + "title": { |
| 2372 | + "type": "string", |
| 2373 | + "description": "Title derived from summary of content" |
| 2374 | + }, |
| 2375 | + "summary": { |
| 2376 | + "type": "string", |
| 2377 | + "description": "Summary of content influenced by curator notes" |
| 2378 | + }, |
| 2379 | + "tags": { |
| 2380 | + "type": "array", |
| 2381 | + "items": { |
| 2382 | + "type": "string" |
| 2383 | + }, |
| 2384 | + "description": "Relevant tags for the content" |
| 2385 | + } |
| 2386 | + } |
| 2387 | + } |
| 2388 | + } |
| 2389 | + ], |
| 2390 | + "distribute": [ |
| 2391 | + { |
| 2392 | + "transform": [ |
| 2393 | + { |
| 2394 | + "plugin": "@curatedotfun/simple-transform", |
| 2395 | + "config": { |
| 2396 | + "template": "*[{{title}}](<{{source}}>)*\n\n{{summary}}\n\n👤 Source [@{{author}}](https://x.com/{{author}})" |
| 2397 | + } |
| 2398 | + } |
| 2399 | + ], |
| 2400 | + "plugin": "@curatedotfun/telegram", |
| 2401 | + "config": { |
| 2402 | + "botToken": "{TELEGRAM_BOT_TOKEN}", |
| 2403 | + "channelId": "@arbitrumintern" |
| 2404 | + } |
| 2405 | + } |
| 2406 | + ] |
2242 | 2407 | } |
2243 | 2408 | } |
2244 | | - }, |
2245 | 2409 | { |
2246 | 2410 | "id": "stablecoins", |
2247 | 2411 | "name": "Stablecoins", |
|
2392 | 2556 | } |
2393 | 2557 | } |
2394 | 2558 | }, |
2395 | | - { |
2396 | | - "id": "arbitrum", |
2397 | | - "name": "arbitrum", |
2398 | | - "description": "News about Arbitrum Ecoystem", |
2399 | | - "moderation": { |
2400 | | - "approvers": { |
2401 | | - "twitter": ["plugrel", "potlock_intern"] |
2402 | | - } |
2403 | | - }, |
2404 | | - "outputs": { |
2405 | | - "stream": { |
2406 | | - "enabled": false |
2407 | | - } |
2408 | | - } |
2409 | | - }, |
2410 | 2559 | { |
2411 | 2560 | "id": "polygon", |
2412 | 2561 | "name": "Polygon", |
|
2448 | 2597 | }, |
2449 | 2598 | "outputs": { |
2450 | 2599 | "stream": { |
2451 | | - "enabled": false |
| 2600 | + "enabled": true, |
| 2601 | + "transform": [ |
| 2602 | + { |
| 2603 | + "plugin": "@curatedotfun/object-transform", |
| 2604 | + "config": { |
| 2605 | + "mappings": { |
| 2606 | + "source": "https://x.com/{{username}}/status/{{tweetId}}", |
| 2607 | + "content": "{{content}}", |
| 2608 | + "author": "{{username}}", |
| 2609 | + "notes": "{{curator.notes}}", |
| 2610 | + "submittedAt": "{{submittedAt}}" |
| 2611 | + } |
| 2612 | + } |
| 2613 | + }, |
| 2614 | + { |
| 2615 | + "plugin": "@curatedotfun/ai-transform", |
| 2616 | + "config": { |
| 2617 | + "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.", |
| 2618 | + "apiKey": "{OPENROUTER_API_KEY}", |
| 2619 | + "schema": { |
| 2620 | + "title": { |
| 2621 | + "type": "string", |
| 2622 | + "description": "Title derived from summary of content" |
| 2623 | + }, |
| 2624 | + "summary": { |
| 2625 | + "type": "string", |
| 2626 | + "description": "Summary of content influenced by curator notes" |
| 2627 | + }, |
| 2628 | + "tags": { |
| 2629 | + "type": "array", |
| 2630 | + "items": { |
| 2631 | + "type": "string" |
| 2632 | + }, |
| 2633 | + "description": "Relevant tags for the content" |
| 2634 | + } |
| 2635 | + } |
| 2636 | + } |
| 2637 | + } |
| 2638 | + ], |
| 2639 | + "distribute": [ |
| 2640 | + { |
| 2641 | + "transform": [ |
| 2642 | + { |
| 2643 | + "plugin": "@curatedotfun/simple-transform", |
| 2644 | + "config": { |
| 2645 | + "template": "*[{{title}}](<{{source}}>)*\n\n{{summary}}\n\n👤 Source [@{{author}}](https://x.com/{{author}})" |
| 2646 | + } |
| 2647 | + } |
| 2648 | + ], |
| 2649 | + "plugin": "@curatedotfun/telegram", |
| 2650 | + "config": { |
| 2651 | + "botToken": "{TELEGRAM_BOT_TOKEN}", |
| 2652 | + "channelId": "@btcintern" |
| 2653 | + } |
| 2654 | + } |
| 2655 | + ] |
2452 | 2656 | } |
2453 | 2657 | } |
2454 | 2658 | }, |
|
2493 | 2697 | }, |
2494 | 2698 | "outputs": { |
2495 | 2699 | "stream": { |
2496 | | - "enabled": false |
| 2700 | + "enabled": true, |
| 2701 | + "transform": [ |
| 2702 | + { |
| 2703 | + "plugin": "@curatedotfun/object-transform", |
| 2704 | + "config": { |
| 2705 | + "mappings": { |
| 2706 | + "source": "https://x.com/{{username}}/status/{{tweetId}}", |
| 2707 | + "content": "{{content}}", |
| 2708 | + "author": "{{username}}", |
| 2709 | + "notes": "{{curator.notes}}", |
| 2710 | + "submittedAt": "{{submittedAt}}" |
| 2711 | + } |
| 2712 | + } |
| 2713 | + }, |
| 2714 | + { |
| 2715 | + "plugin": "@curatedotfun/ai-transform", |
| 2716 | + "config": { |
| 2717 | + "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.", |
| 2718 | + "apiKey": "{OPENROUTER_API_KEY}", |
| 2719 | + "schema": { |
| 2720 | + "title": { |
| 2721 | + "type": "string", |
| 2722 | + "description": "Title derived from summary of content" |
| 2723 | + }, |
| 2724 | + "summary": { |
| 2725 | + "type": "string", |
| 2726 | + "description": "Summary of content influenced by curator notes" |
| 2727 | + }, |
| 2728 | + "tags": { |
| 2729 | + "type": "array", |
| 2730 | + "items": { |
| 2731 | + "type": "string" |
| 2732 | + }, |
| 2733 | + "description": "Relevant tags for the content" |
| 2734 | + } |
| 2735 | + } |
| 2736 | + } |
| 2737 | + } |
| 2738 | + ], |
| 2739 | + "distribute": [ |
| 2740 | + { |
| 2741 | + "transform": [ |
| 2742 | + { |
| 2743 | + "plugin": "@curatedotfun/simple-transform", |
| 2744 | + "config": { |
| 2745 | + "template": "*[{{title}}](<{{source}}>)*\n\n{{summary}}\n\n👤 Source [@{{author}}](https://x.com/{{author}})" |
| 2746 | + } |
| 2747 | + } |
| 2748 | + ], |
| 2749 | + "plugin": "@curatedotfun/telegram", |
| 2750 | + "config": { |
| 2751 | + "botToken": "{TELEGRAM_BOT_TOKEN}", |
| 2752 | + "channelId": "@web3exploits" |
| 2753 | + } |
| 2754 | + } |
| 2755 | + ] |
2497 | 2756 | } |
2498 | 2757 | } |
2499 | 2758 | }, |
|
0 commit comments