Created
February 21, 2020 00:34
-
-
Save penguwin/67a5ee185458eca9772fc85649b34e04 to your computer and use it in GitHub Desktop.
A Beehive configuration for Mastodon&IRC interactions
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"Bees": [ | |
{ | |
"Name": "MastodonBee", | |
"Class": "mastodonbee", | |
"Description": "Bee buzzing on mastodon", | |
"Options": [ | |
{ | |
"Name": "server", | |
"Value": "https://chaos.social/" | |
}, | |
{ | |
"Name": "client_id", | |
"Value": "" | |
}, | |
{ | |
"Name": "client_secret", | |
"Value": "" | |
}, | |
{ | |
"Name": "email", | |
"Value": "" | |
}, | |
{ | |
"Name": "password", | |
"Value": "" | |
} | |
] | |
}, | |
{ | |
"Name": "IrcBee", | |
"Class": "ircbee", | |
"Description": "Buzzing on freenode IRC", | |
"Options": [ | |
{ | |
"Name": "address", | |
"Value": "irc.freenode.org:6697" | |
}, | |
{ | |
"Name": "nick", | |
"Value": "" | |
}, | |
{ | |
"Name": "password", | |
"Value": null | |
}, | |
{ | |
"Name": "channels", | |
"Value": "" | |
}, | |
{ | |
"Name": "ssl", | |
"Value": "true" | |
} | |
] | |
} | |
], | |
"Actions": [ | |
{ | |
"ID": "799c60a3-74c6-4310-64ac-450d0ce8fc32", | |
"Bee": "IrcBee", | |
"Name": "send", | |
"Options": [ | |
{ | |
"Name": "channel", | |
"Type": "string", | |
"Value": "" | |
}, | |
{ | |
"Name": "text", | |
"Type": "string", | |
"Value": "Toot on Mastodon Deleted: {{.id}}" | |
} | |
] | |
}, | |
{ | |
"ID": "cafd5ec6-4d7f-4f68-4c9e-5d260eeabd52", | |
"Bee": "IrcBee", | |
"Name": "send", | |
"Options": [ | |
{ | |
"Name": "channel", | |
"Type": "string", | |
"Value": "" | |
}, | |
{ | |
"Name": "text", | |
"Type": "string", | |
"Value": "Toot Fetched: ID: {{.id}} Text: {{.text}} User ID: {{.user_id}} Username: {{.username}} Reblogs: {{.reblogs}} Favourites: {{.favourites}} URL: {{.url}}" | |
} | |
] | |
}, | |
{ | |
"ID": "6eefcc1d-e48f-4925-43b0-a734ba316f54", | |
"Bee": "IrcBee", | |
"Name": "send", | |
"Options": [ | |
{ | |
"Name": "channel", | |
"Type": "string", | |
"Value": "" | |
}, | |
{ | |
"Name": "text", | |
"Type": "string", | |
"Value": "Someone wants to follow you on Mastodon: User ID: {{.user_id}} Username: {{.username}} Following?: {{.following}} Followed By?: {{.followed_by}} Followers: {{.followers}} Follows: {{.follows}}" | |
} | |
] | |
}, | |
{ | |
"ID": "615b32ae-a03c-46de-5f2c-93bc5147e99a", | |
"Bee": "IrcBee", | |
"Name": "send", | |
"Options": [ | |
{ | |
"Name": "channel", | |
"Type": "string", | |
"Value": "" | |
}, | |
{ | |
"Name": "text", | |
"Type": "string", | |
"Value": "You want to follow someone on Mastodon: User ID:{{.user_id}} Following: {{.following}} Requested?: {{.requested}} Followed By?: {{.followed_by}}" | |
} | |
] | |
}, | |
{ | |
"ID": "cf2ec509-e76c-4eaf-5c4a-276ee8d7db8f", | |
"Bee": "IrcBee", | |
"Name": "send", | |
"Options": [ | |
{ | |
"Name": "channel", | |
"Type": "string", | |
"Value": "" | |
}, | |
{ | |
"Name": "text", | |
"Type": "string", | |
"Value": "You unfollowed someone on Mastodon: User ID: {{.user_id}} Following?: {{.following}} Followed By?: {{.followed by}}" | |
} | |
] | |
}, | |
{ | |
"ID": "40a510de-276c-4ee7-5c3e-0a47911ab079", | |
"Bee": "IrcBee", | |
"Name": "send", | |
"Options": [ | |
{ | |
"Name": "channel", | |
"Type": "string", | |
"Value": "" | |
}, | |
{ | |
"Name": "text", | |
"Type": "string", | |
"Value": "Someone favourited one of your toots: ID: {{.id}} User ID: {{.user_id}} Username: {{.username}} Text: {{.text}} URL: {{.url}} Favourites: {{.favourites}}" | |
} | |
] | |
}, | |
{ | |
"ID": "209d068c-2c5d-4fc6-4bdd-0c051dece83c", | |
"Bee": "IrcBee", | |
"Name": "send", | |
"Options": [ | |
{ | |
"Name": "channel", | |
"Type": "string", | |
"Value": "" | |
}, | |
{ | |
"Name": "text", | |
"Type": "string", | |
"Value": "You favourited on Mastodon: ID: {{.id}} User ID: {{.user_id}} Username: {{.username}} Text: {{.text}} URL: {{.url}} Favourites: {{.favourites}}" | |
} | |
] | |
}, | |
{ | |
"ID": "2bcf7a1a-fcd9-4bee-582d-f104848ac6dc", | |
"Bee": "IrcBee", | |
"Name": "send", | |
"Options": [ | |
{ | |
"Name": "channel", | |
"Type": "string", | |
"Value": "" | |
}, | |
{ | |
"Name": "text", | |
"Type": "string", | |
"Value": "Someone reblogged you on Mastodon: User ID: {{.user_id}} Username: {{.username}} Text: {{.text}} URL: {{.url}} Reblogs: {{.reblogs}}" | |
} | |
] | |
}, | |
{ | |
"ID": "f1724947-ff7d-43b0-7d1f-d82a4a32a866", | |
"Bee": "IrcBee", | |
"Name": "send", | |
"Options": [ | |
{ | |
"Name": "channel", | |
"Type": "string", | |
"Value": "" | |
}, | |
{ | |
"Name": "text", | |
"Type": "string", | |
"Value": "You reblogged on Mastodon: User ID: {{.user_id}} Username: {{.username}} Text: {{.text}} URL: {{.url}} Reblogs: {{.reblogs}}" | |
} | |
] | |
}, | |
{ | |
"ID": "3561ecf0-cdfd-4a9f-639c-4c8bdb1e4235", | |
"Bee": "IrcBee", | |
"Name": "send", | |
"Options": [ | |
{ | |
"Name": "channel", | |
"Type": "string", | |
"Value": "" | |
}, | |
{ | |
"Name": "text", | |
"Type": "string", | |
"Value": "Someone mentioned you on Mastodon: ID: {{.id}} User ID: {{.user_Id}} Username: {{.username}} Text: {{.text}} URL: {{.url}}" | |
} | |
] | |
}, | |
{ | |
"ID": "e2c1ec1b-a21d-4fb7-6acf-8728007f5e45", | |
"Bee": "MastodonBee", | |
"Name": "toot", | |
"Options": [ | |
{ | |
"Name": "text", | |
"Type": "string", | |
"Value": "{{Trim .text \".toot \"}}" | |
} | |
] | |
}, | |
{ | |
"ID": "fbc00881-8264-4525-627c-7a566c364a4e", | |
"Bee": "MastodonBee", | |
"Name": "delete_toot", | |
"Options": [ | |
{ | |
"Name": "id", | |
"Type": "string", | |
"Value": "{{Trim .text \".delete\"}}" | |
} | |
] | |
}, | |
{ | |
"ID": "ed56a7e7-e6ea-4075-6a11-f5a3d7ce0120", | |
"Bee": "MastodonBee", | |
"Name": "get_toots", | |
"Options": [] | |
}, | |
{ | |
"ID": "2d5492b2-9351-48a6-48da-5b0787621cce", | |
"Bee": "MastodonBee", | |
"Name": "follow", | |
"Options": [ | |
{ | |
"Name": "id", | |
"Type": "string", | |
"Value": "{{Trim .text \".follow \"}}" | |
} | |
] | |
}, | |
{ | |
"ID": "59f8456a-591b-42c3-48da-8346bf7744d7", | |
"Bee": "MastodonBee", | |
"Name": "unfollow", | |
"Options": [ | |
{ | |
"Name": "id", | |
"Type": "string", | |
"Value": "{{Trim .text \".unfollow \"}}" | |
} | |
] | |
}, | |
{ | |
"ID": "91024ff4-9bb5-4b14-7ccb-b0e2c21f86cb", | |
"Bee": "MastodonBee", | |
"Name": "reblog", | |
"Options": [ | |
{ | |
"Name": "id", | |
"Type": "string", | |
"Value": "{{Trim .text \".reblog \"}}" | |
} | |
] | |
}, | |
{ | |
"ID": "7da5bb2f-bd07-44fb-7a0f-5aac6fd6a8b4", | |
"Bee": "MastodonBee", | |
"Name": "favourite", | |
"Options": [ | |
{ | |
"Name": "id", | |
"Type": "string", | |
"Value": "{{Trim .text \".favourite \"}}" | |
} | |
] | |
}, | |
{ | |
"ID": "52c8cc87-b38f-482b-70fe-9f7c2172a2e3", | |
"Bee": "MastodonBee", | |
"Name": "unfollow", | |
"Options": [ | |
{ | |
"Name": "id", | |
"Type": "string", | |
"Value": "{{Trim .text \".unfollow \"}}" | |
} | |
] | |
}, | |
{ | |
"ID": "3df80b47-49c4-45dd-50f8-354fc9ae9a66", | |
"Bee": "IrcBee", | |
"Name": "send", | |
"Options": [ | |
{ | |
"Name": "channel", | |
"Type": "string", | |
"Value": "" | |
}, | |
{ | |
"Name": "text", | |
"Type": "string", | |
"Value": "You unfollowed someone on Mastodon: User ID: {{.user_id}} Following?: {{.following}} Followed By?: {{.followed_by}}" | |
} | |
] | |
}, | |
{ | |
"ID": "3f91c123-4b8e-41c1-6bc4-19c094a8b6ea", | |
"Bee": "IrcBee", | |
"Name": "send", | |
"Options": [ | |
{ | |
"Name": "channel", | |
"Type": "string", | |
"Value": "" | |
}, | |
{ | |
"Name": "text", | |
"Type": "string", | |
"Value": "Someone reblogged you on Mastodon: User ID: {{.user_id}} Username: {{.username}} Text: {{.text}} URL: {{.url}} Reblogs: {{.reblogs}}" | |
} | |
] | |
} | |
], | |
"Chains": [ | |
{ | |
"Name": "Notify Toot Deletion", | |
"Description": "Notifies you on a Toot Deletion in IRC", | |
"Event": { | |
"Bee": "MastodonBee", | |
"Name": "deleted", | |
"Options": null | |
}, | |
"Filters": [], | |
"Actions": [ | |
"799c60a3-74c6-4310-64ac-450d0ce8fc32" | |
] | |
}, | |
{ | |
"Name": "Notify Toot Fetched", | |
"Description": "Notifies you on IRC when a Toot has been Fetched", | |
"Event": { | |
"Bee": "MastodonBee", | |
"Name": "toot_fetched", | |
"Options": null | |
}, | |
"Filters": [], | |
"Actions": [ | |
"cafd5ec6-4d7f-4f68-4c9e-5d260eeabd52" | |
] | |
}, | |
{ | |
"Name": "Notify Mastodon Follow", | |
"Description": "Notifies you on IRC when someone wants to follow you on Mastodon", | |
"Event": { | |
"Bee": "MastodonBee", | |
"Name": "follow", | |
"Options": null | |
}, | |
"Filters": [], | |
"Actions": [ | |
"6eefcc1d-e48f-4925-43b0-a734ba316f54" | |
] | |
}, | |
{ | |
"Name": "Notify Mastodon Followed", | |
"Description": "Notifies you on IRC when you start following someone on Mastodon via Beehive", | |
"Event": { | |
"Bee": "MastodonBee", | |
"Name": "followed", | |
"Options": null | |
}, | |
"Filters": [], | |
"Actions": [ | |
"615b32ae-a03c-46de-5f2c-93bc5147e99a" | |
] | |
}, | |
{ | |
"Name": "Notify Mastodon Favourite", | |
"Description": "Notifies you on IRC when someone favourites one of your toots on Mastodon", | |
"Event": { | |
"Bee": "MastodonBee", | |
"Name": "favourite", | |
"Options": null | |
}, | |
"Filters": [], | |
"Actions": [ | |
"40a510de-276c-4ee7-5c3e-0a47911ab079" | |
] | |
}, | |
{ | |
"Name": "Notify Mastodon Favourited", | |
"Description": "Notifies you on IRC when you favourited a Toot on Mastodon via Beehive", | |
"Event": { | |
"Bee": "MastodonBee", | |
"Name": "favourited", | |
"Options": null | |
}, | |
"Filters": [], | |
"Actions": [ | |
"209d068c-2c5d-4fc6-4bdd-0c051dece83c" | |
] | |
}, | |
{ | |
"Name": "Notify Mastodon Reblogged", | |
"Description": "Notifies you on IRC when you reblogged someone on mastodon via beehive", | |
"Event": { | |
"Bee": "MastodonBee", | |
"Name": "reblogged", | |
"Options": null | |
}, | |
"Filters": [], | |
"Actions": [ | |
"f1724947-ff7d-43b0-7d1f-d82a4a32a866" | |
] | |
}, | |
{ | |
"Name": "Notify Mastodon Mention", | |
"Description": "Notifies you on IRC when someone mentions you on Mastodon", | |
"Event": { | |
"Bee": "MastodonBee", | |
"Name": "mention", | |
"Options": null | |
}, | |
"Filters": [], | |
"Actions": [ | |
"3561ecf0-cdfd-4a9f-639c-4c8bdb1e4235" | |
] | |
}, | |
{ | |
"Name": "Toot to Mastodon", | |
"Description": "Lets you Post Toots on Mastodon Over IRC", | |
"Event": { | |
"Bee": "IrcBee", | |
"Name": "message", | |
"Options": null | |
}, | |
"Filters": [ | |
"{{test HasPrefix .text \".toot\"}}" | |
], | |
"Actions": [ | |
"e2c1ec1b-a21d-4fb7-6acf-8728007f5e45" | |
] | |
}, | |
{ | |
"Name": "Delete Toot from Mastodon", | |
"Description": "Deletes a specified Toot from Mastodon over IRC", | |
"Event": { | |
"Bee": "IrcBee", | |
"Name": "message", | |
"Options": null | |
}, | |
"Filters": [ | |
"{{test HasPrefix .text \".delete\"}}" | |
], | |
"Actions": [ | |
"fbc00881-8264-4525-627c-7a566c364a4e" | |
] | |
}, | |
{ | |
"Name": "Fetch User Toots", | |
"Description": "Fetches the Users toots when desired over IRC", | |
"Event": { | |
"Bee": "IrcBee", | |
"Name": "message", | |
"Options": null | |
}, | |
"Filters": [ | |
"{{test HasPrefix .text \".get_toots\"}}" | |
], | |
"Actions": [ | |
"ed56a7e7-e6ea-4075-6a11-f5a3d7ce0120" | |
] | |
}, | |
{ | |
"Name": "Follow Mastodon User", | |
"Description": "Follows the Mastodon user from the given ID over IRC", | |
"Event": { | |
"Bee": "IrcBee", | |
"Name": "message", | |
"Options": null | |
}, | |
"Filters": [ | |
"{{test HasPrefix .text \".follow\"}}" | |
], | |
"Actions": [ | |
"2d5492b2-9351-48a6-48da-5b0787621cce" | |
] | |
}, | |
{ | |
"Name": "Reblog Toot on Mastodon", | |
"Description": "Reblogs the Toot with the given ID from Mastodon over IRC", | |
"Event": { | |
"Bee": "IrcBee", | |
"Name": "message", | |
"Options": null | |
}, | |
"Filters": [ | |
"{{test HasPrefix .text \".reblog\"}}" | |
], | |
"Actions": [ | |
"91024ff4-9bb5-4b14-7ccb-b0e2c21f86cb" | |
] | |
}, | |
{ | |
"Name": "Favourite Toot on Mastodon", | |
"Description": "Favourites the Toot with the given ID on Mastodon over IRC", | |
"Event": { | |
"Bee": "IrcBee", | |
"Name": "message", | |
"Options": null | |
}, | |
"Filters": [ | |
"{{test HasPrefix .text \".favourite\"}}" | |
], | |
"Actions": [ | |
"7da5bb2f-bd07-44fb-7a0f-5aac6fd6a8b4" | |
] | |
}, | |
{ | |
"Name": "Unfollow user on Mastodon", | |
"Description": "Unfollow the user with the given ID on mastodon via irc", | |
"Event": { | |
"Bee": "IrcBee", | |
"Name": "message", | |
"Options": null | |
}, | |
"Filters": [ | |
"{{test HasPrefix .text \".unfollow\"}}" | |
], | |
"Actions": [ | |
"52c8cc87-b38f-482b-70fe-9f7c2172a2e3" | |
] | |
}, | |
{ | |
"Name": "Notify Mastodon Unfollow User", | |
"Description": "Notifies you on IRC when you unfollow an user on Mastodon via Beehive", | |
"Event": { | |
"Bee": "MastodonBee", | |
"Name": "unfollowed", | |
"Options": null | |
}, | |
"Filters": [], | |
"Actions": [ | |
"3df80b47-49c4-45dd-50f8-354fc9ae9a66" | |
] | |
}, | |
{ | |
"Name": "Notify Mastodon Reblog", | |
"Description": "Notifies you on IRC when someone reblogs one of your Toots on Mastodon", | |
"Event": { | |
"Bee": "MastodonBee", | |
"Name": "reblog", | |
"Options": null | |
}, | |
"Filters": [], | |
"Actions": [ | |
"3f91c123-4b8e-41c1-6bc4-19c094a8b6ea" | |
] | |
} | |
] | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment