gitea-irc-bot 0.0.1
A Gitea webhook-based IRC bot
To use this package, run the following command in your project's root directory:
Manual usage
Put the following dependency into your project's dependences section:
gitea-irc-bot
Usage
Webhook setup
You should setup the following webhooks on your Gitea instance:
HOSTNAME:PORT/issue
- MIME type:
application/json
- Method:
POST
- Enable "Custom Events":
Issues
Issue Labeled
Issue Comment
Issue Milestoned
Issue Assigned
- MIME type:
HOSTNAME:PORT/commit
- MIME type:
application/json
- Method:
POST
- Enable "Custom Events":
Push
- MIME type:
Building
Simply clone the repository with:
TODO: Add clone command
Then run the following command to build the library:
cd gitea-irc-bot
dub build
Configuring
You should have a config.json
in the repository. You can now customize this to tweak settings for the bot.
An example configuration file can look as follows:
{
"irc" : {
"host": "fd08:8441:e254::5",
"port": 6667,
"nickname": "tlangbot",
"realname": "TLang Development Bot",
"channel": "#tlang"
},
"ntfy": {
"endpoint": "http://ntfy.sh",
"topic": "tlang_dev"
}
}
You can also run the program with gitea-irc-bot myConfig.json
to specify a custom JSON configuration path other than the default.
- Registered by Tristan B. Velloza Kildaire
- 0.0.1 released 2 years ago
- deavmi/gitea-irc-bot
- LGPL-3.0
- Copyright © 2022, Tristan B. Kildaire
- Authors:
- Dependencies:
- vibe-d, gogga, birchwood
- Versions:
-
0.5.0 2024-May-12 0.4.1 2023-Oct-24 0.4.0 2023-Oct-24 0.3.5 2023-Jul-09 0.3.4 2023-Jul-07 - Download Stats:
-
-
0 downloads today
-
0 downloads this week
-
0 downloads this month
-
48 downloads total
-
- Score:
- 0.1
- Short URL:
- gitea-irc-bot.dub.pm