{"id":15924760,"url":"https://github.com/jaywink/ansible-mautrix-telegram","last_synced_at":"2026-03-05T19:49:09.888Z","repository":{"id":142056906,"uuid":"345189316","full_name":"jaywink/ansible-mautrix-telegram","owner":"jaywink","description":"Runs and configures a Mautrix Telegram instance.","archived":false,"fork":false,"pushed_at":"2024-06-17T13:21:52.000Z","size":45,"stargazers_count":2,"open_issues_count":0,"forks_count":1,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-03-02T07:12:08.505Z","etag":null,"topics":["ansible","bridges","matrix","telegram"],"latest_commit_sha":null,"homepage":"","language":null,"has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/jaywink.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2021-03-06T20:32:22.000Z","updated_at":"2024-06-17T13:21:56.000Z","dependencies_parsed_at":null,"dependency_job_id":"d66598c7-2947-4a9c-899c-24c48d3412d1","html_url":"https://github.com/jaywink/ansible-mautrix-telegram","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jaywink%2Fansible-mautrix-telegram","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jaywink%2Fansible-mautrix-telegram/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jaywink%2Fansible-mautrix-telegram/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jaywink%2Fansible-mautrix-telegram/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/jaywink","download_url":"https://codeload.github.com/jaywink/ansible-mautrix-telegram/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245279955,"owners_count":20589553,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["ansible","bridges","matrix","telegram"],"created_at":"2024-10-06T21:40:47.377Z","updated_at":"2026-03-05T19:49:04.860Z","avatar_url":"https://github.com/jaywink.png","language":null,"funding_links":[],"categories":[],"sub_categories":[],"readme":"# Ansible Mautrix Telegram\n\nMatrix Mautrix Telegram bridge using Docker.\n\nRuns and configures a Mautrix Telegram instance.\n\nTraefik friendly via Docker container labels. This role is rather opinionated \nthough more configurability is welcome via pull requests.\n\nThis repository is also mirrored on GitHub at https://github.com/jaywink/ansible-mautrix-telegram\n\n## Installing\n\n`ansible-galaxy install jaywink.ansible_mautrix_telegram`\n\n## Configuration\n\n### Required\n\n```yaml\nmautrix_telegram_homeserver_name: domain.tld\nmautrix_telegram_homeserver_domain: matrix.domain.tld\nmautrix_telegram_appservice_base_url: https://mautrix-telegram.domain.tld\nmautrix_telegram_appservice_database: sqlite:///filename.db or postgres://username:password@hostname/dbname\nmautrix_telegram_appservice_as_token: changemetosomethingsecret\nmautrix_telegram_appservice_hs_token: changemetosomethingsecret\nmautrix_telegram_bridge_permissions:\n  \"*\": \"relaybot\"\n  \"public.example.com\": \"user\"\n  \"example.com\": \"full\"\n  \"@admin:example.com\": \"admin\"\nmautrix_telegram_telegram_api_id: getfromtelegram\nmautrix_telegram_telegram_api_hash: getfromtelegram\n```\n\n### Optional\n\nThese defaults will be used if no values provided.\n\n```yaml\nmautrix_telegram_docker_image: dock.mau.dev/mautrix/telegram:v0.15.1\n# Use for example to hook up with Traefik\n# Ensure to use `PathPrefixStrip:/mautrix-telegram` in your frontend\n# rule for Traefik, should you keep the default path mount. Mautrix-Telegram\n# will not recognize the requests unless the path is stripped.\nmautrix_telegram_docker_labels: []\n# Docker network to attach to\nmautrix_telegram_docker_network: default\n# Routing\nmautrix_telegram_appservice_path: \"/mautrix-telegram\"\nmautrix_telegram_appservice_public_path: \"{{ mautrix_telegram_appservice_path }}/public\"\nmautrix_telegram_telegram_bot_token: disabled\n# Max size of remote groups/channels to bridge (-1 for any size)\nmautrix_telegram_bridge_max_member_count: \"-1\"\n# Sync at startup\nmautrix_telegram_bridge_startup_sync: true\n```\n\n### Appservice\n\nYou'll also need to template in the following into your Matrix homeserver appservice \nregistration file.\n\n```yaml\nid: mautrix-telegram\nas_token: \"{{  mautrix_telegram_appservice_as_token }}\"\nhs_token: \"{{ mautrix_telegram_appservice_hs_token }}\"\nnamespaces:\n  users:\n  - exclusive: true\n    regex: '@telegram_.+:{{ mautrix_telegram_homeserver_name }}'\n  aliases:\n  - exclusive: true\n    regex: '#telegram_.+:{{ mautrix_telegram_homeserver_name }}'\nurl: \"{{ mautrix_telegram_appservice_base_url }}{{ mautrix_telegram_appservice_path }}\"\nsender_localpart: telegrambot\nrate_limited: false\nde.sorunome.msc2409.push_ephemeral: true\npush_ephemeral: true\n```\n\n## License\n\nApache 2.0\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjaywink%2Fansible-mautrix-telegram","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjaywink%2Fansible-mautrix-telegram","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjaywink%2Fansible-mautrix-telegram/lists"}