Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/git-bruh/matrix-discord-bridge
A simple bridge between Matrix and Discord written in Python.
https://github.com/git-bruh/matrix-discord-bridge
appservice bridge discord matrix matrix-nio python
Last synced: 3 months ago
JSON representation
A simple bridge between Matrix and Discord written in Python.
- Host: GitHub
- URL: https://github.com/git-bruh/matrix-discord-bridge
- Owner: git-bruh
- License: mit
- Created: 2020-11-11T09:42:41.000Z (about 4 years ago)
- Default Branch: main
- Last Pushed: 2022-09-28T12:13:06.000Z (over 2 years ago)
- Last Synced: 2023-03-07T20:15:03.783Z (almost 2 years ago)
- Topics: appservice, bridge, discord, matrix, matrix-nio, python
- Language: Python
- Homepage:
- Size: 609 KB
- Stars: 29
- Watchers: 3
- Forks: 6
- Open Issues: 6
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# matrix-discord-bridge
A simple bridge between Matrix and Discord written in Python.
This repository contains two bridges:
* A [puppeting appservice](appservice): The puppeting bridge written with minimal dependencies. Running this requires a self-hosted homeserver.
* A [non-puppeting bridge](bridge): The non-puppeting plaintext bridge written with `matrix-nio` and `discord.py`, most people would want to use this one if running on heroku or similar and don't have their own server. **NOTE:** This is unmaintained and might break in the future due to Discord changes.
Check their READMEs for specific information.
![Demo](demo.png)
## What Works
- [x] Puppeting (Appservice only, regular bridge only uses webhooks on Discord.)
- [x] Attachments (Converted to URLs.)
- [x] Typing Indicators (Per-user indicators on Appservice, otherwise sent as bot user.)
- [x] Message redaction
- [x] Replies
- [x] Bridging multiple channels
- [x] Discord emojis displayed as inline images
- [x] Sending Discord emotes from Matrix (`:emote_name:`)
- [x] Mentioning Discord users via partial username (`@partialname`)## TODO
- [ ] Handle cases where the webhook is messed with on the Discord side (Deleted/Edited by someone other than the bot).
- [ ] Use embeds on Discord side for replies.
- [ ] Unbridging.