Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/syuilo/misskey-github-notifier
GitHub notifier for Misskey
https://github.com/syuilo/misskey-github-notifier
misskey nodejs
Last synced: about 2 months ago
JSON representation
GitHub notifier for Misskey
- Host: GitHub
- URL: https://github.com/syuilo/misskey-github-notifier
- Owner: syuilo
- License: mit
- Created: 2018-11-23T07:08:04.000Z (about 6 years ago)
- Default Branch: master
- Last Pushed: 2024-02-03T04:08:30.000Z (11 months ago)
- Last Synced: 2024-04-13T12:53:26.603Z (8 months ago)
- Topics: misskey, nodejs
- Language: TypeScript
- Size: 16.6 KB
- Stars: 22
- Watchers: 4
- Forks: 9
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# 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
1. Go to the settings of your repo -> Webhooks -> Add Webhook
2. For Payload URL, put the URL or IP you'll be hosting the bot on followed by `/github`
3. For content type, select `application/json`
4. Make a random string of characters (~25 chars) and put it under Secret. Put the same string under `hookSecret` in `config.json`.### Misskey bot
1. Go to a bot-friendly Misskey instance and make a new account. Put the instance URL (including the https:// part) under `instance` in `config.json`. Please mark the account as a bot.
2. On the profile, hit the 3 dots -> Edit Profile
3. Go to API -> Generate Token
4. Put the token into `i` in `config.json`### Config schema
``` json
{
"port": 3000,
"hookSecret": "",
"i": "",
"instance": ""
}
```