add telegram integraion

This commit is contained in:
2022-04-08 03:41:07 +03:00
parent 733c014229
commit 86af13f09e
12 changed files with 267 additions and 0 deletions

View File

@ -45,6 +45,9 @@ ssl = disabled
[html]
template_path = /usr/share/ahriman/templates/repo-index.jinja2
[telegram]
template_path = /usr/share/ahriman/templates/telegram.jinja2
[upload]
target =

View File

@ -0,0 +1,10 @@
{#simplified version of full report, now in markdown#}
## {{ repository }} update
{% for package in packages %}
* [{{ package.name }}]({{ link_path }}/{{ package.filename }}) {{ package.version }} at {{ package.build_date }}
{% endfor %}
{% if homepage is not none %}
[Repository]({{ homepage }})
{% endif %}