Skip to content

Instantly share code, notes, and snippets.

@exul
Created August 10, 2016 20:22
Show Gist options
  • Save exul/55d8b4385d2aa9d723d473e0d5bd4471 to your computer and use it in GitHub Desktop.
Save exul/55d8b4385d2aa9d723d473e0d5bd4471 to your computer and use it in GitHub Desktop.
# Obtain this key from
# https://developer.gitter.im/apps
gitter_api_key: "secret"
# The location of the homeserver this AS is configured for
matrix_homeserver: "https://exul.org:8448"
# The domain for locally-created users
matrix_user_domain: "exul.org"
# Room to control the gitter AS
matrix_admin_room: "!mzJoIAiEBUkfSoByLY:exul.org"
# A template to use to generate locally-created usernames. This string must
# contain ${USER} somewhere inside it.
username_template: "_gitter_${USER}"
# A list of rules to define how to generate `usernames` on the gitter side
# of the relaybot for various patterns of matrix user ID
name_mangling:
- pattern: "@irc_(.*):exul.org"
template: "$1 (IRC)"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment