mirror of
https://github.com/pinpox/gitea-matrix-bot
synced 2024-11-26 08:43:47 +01:00
24 lines
526 B
Plaintext
24 lines
526 B
Plaintext
[http]
|
|
# The path the listener will expect the post data
|
|
http_uri = "/post"
|
|
# The port the listener will listen on
|
|
http_port = "9000"
|
|
|
|
|
|
[matrix]
|
|
# The matrix server to connect to
|
|
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
|
|
matrix_pass = "supersecretpass"
|
|
matrix_user = "my-awesome-bot"
|
|
|
|
|
|
[bot]
|
|
# Path of the database to be used
|
|
db_path = "./tokens.db"
|
|
# message type: 'html' or 'plain'
|
|
message_type = "html"
|
|
|