Skip to content

Instantly share code, notes, and snippets.

@johackim johackim/auto-boost.json
Last active Mar 27, 2019

Embed
What would you like to do?
Auto Boost Mastodon
{
"schema_version": 1,
"name": "Auto Boost",
"description": "Auto Boost Mastodon Accounts",
"source_url": false,
"guid": "a2364ae9eccffe6d6af00f40f1d735eb",
"tag_fg_color": "#ffffff",
"tag_bg_color": "#5bc0de",
"icon": "gear",
"exported_at": "2019-03-25T15:51:31Z",
"agents": [
{
"type": "Agents::PostAgent",
"name": "Auto Boost",
"disabled": false,
"guid": "91693d2eaf93b01d456db4fb59bdbbdd",
"options": {
"post_url": "https://{% credential mastodon_instance %}/api/v1/statuses/{{ id }}/reblog",
"content_type": "application/json",
"method": "post",
"payload": {
},
"headers": {
"Authorization": "Bearer {% credential mastodon_token %}"
},
"no_merge": "true"
},
"schedule": "never",
"keep_events_for": 0,
"propagate_immediately": true
},
{
"type": "Agents::WebsiteAgent",
"name": "Get toots",
"disabled": false,
"guid": "b137a6ab545df0fd2c39480a985d372f",
"options": {
"expected_update_period_in_days": "2",
"url": "https://{% credential mastodon_instance %}/api/v1/timelines/list/{% credential mastodon_list_id %}",
"type": "json",
"headers": {
"Authorization": "Bearer {% credential mastodon_token %}"
},
"mode": "on_change",
"extract": {
"id": {
"path": "[*].id"
},
"url": {
"path": "[*].url"
}
}
},
"schedule": "every_5m",
"keep_events_for": 0,
"propagate_immediately": false
}
],
"links": [
{
"source": 1,
"receiver": 0
}
],
"control_links": [
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.