1
0
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:
ThePeGaSuS
2026-05-05 13:02:38 +02:00
parent 01bac5cd53
commit 8ff46c8601
3 changed files with 104 additions and 1 deletions
+11
View File
@@ -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)