1
0
mirror of https://github.com/pinpox/gitea-matrix-bot synced 2024-11-26 08:43:47 +01:00

Update README.md

This commit is contained in:
Pablo Ovelleiro Corral 2019-04-20 22:25:02 +02:00 committed by GitHub
parent 3903633752
commit 111f3b917c
Signed by: GitHub
GPG Key ID: 4AEE18F83AFDEB23

@ -5,7 +5,7 @@
# gitea-matrix-bot (WORK IN PROGRESS, ALPHA!) # gitea-matrix-bot (WORK IN PROGRESS!)
A bot to listen for [gitea](https://gitea.io) webhooks and post to a [matrix](https://matrix.org) channel A bot to listen for [gitea](https://gitea.io) webhooks and post to a [matrix](https://matrix.org) channel
@ -19,17 +19,23 @@ following options:
[http] [http]
# The path the listener will expect the post data # The path the listener will expect the post data
http_uri = "/post" http_uri = "/post"
# The port the listener will listen on # The port the listener will listen on
http_port = "9000" http_port = "9000"
[matrix] [matrix]
# The matrix server to connect to # The matrix server to connect to
matrix_host = "http://matrix.org" matrix_host = "http://matrix.org"
# The matrix room to post to
matrix_room = "#my-awesome-room:matrix.org"
# User credentions of the bot for posting to the room # User credentions of the bot for posting to the room
matrix_pass = "supersecretpass" matrix_pass = "supersecretpass"
matrix_user = "my-awesome-bot" matrix_user = "my-awesome-bot"
[bot]
# Path of the database to be used
db_path = "./tokens.db"
``` ```
Then start the bot. It will listen on the configured URI for incoming gitea Then start the bot. It will listen on the configured URI for incoming gitea