mirror of
https://github.com/TehPeGaSuS/GitBot.git
synced 2026-06-29 20:45:44 +02:00
Add support for Shlink URL shortener
This commit is contained in:
@@ -72,3 +72,14 @@ nickname = "gitbot"
|
||||
username = "gitbot"
|
||||
realname = "git webhook + RSS bot"
|
||||
channels = ["#myproject"]
|
||||
|
||||
# ── Shlink URL shortener ──────────────────────────────────────────────────────
|
||||
# When enabled, all URLs posted to IRC will be shortened via your Shlink
|
||||
# instance. Requires a Shlink API key with "Short URLs / Create" permission.
|
||||
#
|
||||
# [shlink]
|
||||
# url = "https://shlink.example.com" # base URL of your Shlink instance
|
||||
# api_key = "YOUR-API-KEY"
|
||||
# # enabled = true # set false to bypass shortening
|
||||
# # timeout = 5 # seconds to wait for the API
|
||||
# # domain = "s.example.com" # custom domain (optional)
|
||||
|
||||
Reference in New Issue
Block a user