Skip to content

Commit 2726555

Browse files
committed
add grants
1 parent 39ff461 commit 2726555

File tree

1 file changed

+34
-0
lines changed

1 file changed

+34
-0
lines changed

curate.config.json

Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -125,6 +125,40 @@
125125
"submittedAt": "date"
126126
}
127127
}
128+
},
129+
{
130+
"transform": [
131+
{
132+
"plugin": "@curatedotfun/object-transform",
133+
"config": {
134+
"mappings": {
135+
"title": "{{title}}",
136+
"content": "<h2>{{title}}</h2><p>{{summary}}</p>",
137+
"description": "{{summary}}",
138+
"link": "{{source}}",
139+
"publishedAt": "{{createdAt}}",
140+
"author": {
141+
"name": "{{username}}",
142+
"link": "https://x.com/{{author}}"
143+
},
144+
"categories": ["grants", "{{tags}}"],
145+
"source": {
146+
"url": "{{source}}",
147+
"title": "twitter"
148+
}
149+
}
150+
}
151+
}
152+
],
153+
"plugin": "@curatedotfun/rss",
154+
"config": {
155+
"serviceUrl": "https://grants-rss.up.railway.app",
156+
"apiSecret": "{GRANTS_RSS_API_SECRET}",
157+
"feedConfig": {
158+
"title": "Crypto Grant Wire",
159+
"description": "Blockchain grant updates"
160+
}
161+
}
128162
}
129163
]
130164
},

0 commit comments

Comments
 (0)