misskey-github-notifier
misskey-github-notifier copied to clipboard
GitHub notifier for Misskey
misskey-github-notifier
GitHub notifier for Misskey
Configuration
Make a file called config.json and put your JSON into it to configure the bot.
GitHub webhook
- 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
hookSecretinconfig.json.
Misskey bot
- Go to a bot-friendly Misskey instance and make a new account. Put the instance URL (including the https:// part) under
instanceinconfig.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
iinconfig.json
Config schema
{
"port": 3000,
"hookSecret": "",
"i": "",
"instance": ""
}