GitHub notifier for Misskey
Make a file called config.json
and put your JSON into it to configure the bot.
- Go to the settings of your repo -> Webhooks -> Add Webhook
- For Payload URL, put the URL or IP you'll be hosting the bot on followed by
/github
- For content type, select
application/json
- Make a random string of characters (~25 chars) and put it under Secret. Put the same string under
hookSecret
inconfig.json
.
- Go to a bot-friendly Misskey instance and make a new account. Put the instance URL (including the https:// part) under
instance
inconfig.json
. Please mark the account as a bot. - On the profile, hit the 3 dots -> Edit Profile
- Go to API -> Generate Token
- Put the token into
i
inconfig.json
{
"port": 3000,
"hookSecret": "",
"i": "",
"instance": ""
}