Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Create a Matrix bridge for qaul #530

Open
MathJud opened this issue Feb 8, 2023 · 2 comments
Open

Create a Matrix bridge for qaul #530

MathJud opened this issue Feb 8, 2023 · 2 comments
Assignees
Labels
Discussion Feature Request A new feature, that extends functionality Libqaul Rust Tracking Issue Tracking progress on larger tasks

Comments

@MathJud
Copy link
Member

MathJud commented Feb 8, 2023

qaul <-> Matrix Bridge

Write a matrix bridge for qaul, to be able to interconnect qaul with matrix and all supported communication protocols by matrix. This shall allow to send qaul messages to matrix, signal messenger, WhatsApp, Telegram, etc.

A matrix bridge is interconnects matrix with other systems. There are already matrix bridges for many other messengers (Signal messenger, WhatsApp, Telegram, etc.). With the qaul-matrix bridge we could interconnect qaul to all these messengers.

The bridge shall have the following qualities:

  1. Relay Bridge: creates a relay bot for matrix & qaul
  2. Double-Puppeting: makes users from one system appear as users in the other system.

This project can be split into different parts.

Resources

Suggestions

In order to create a concept for this project the following things might help:

  • Create a list which functionality of qaul can be mapped to which matrix functionality (public messages, private messages, group chat, chat identities, etc.)
  • Check out this issue create qauld-ctl to control qauld #541 can give you a good overview on the functionality, an insight on the control of qaul's communication and a useful communication channel with qauld that could be used by a matrix bridge.
  • Discuss your ideas with @MathJud
@MathJud MathJud added Feature Request A new feature, that extends functionality Discussion Tracking Issue Tracking progress on larger tasks Libqaul Rust labels Feb 8, 2023
@MathJud
Copy link
Member Author

MathJud commented May 25, 2023

qaul - Matrix Mapping

qaul Matrix Comments
Public Chat Public Chat a public Matrix room
User Name Qaul User Name (UTF-8 Name) Matrix User Name (UTF-8 Name) compatible
User ID (qaul -> matrix) Qaul User ID (53 ASCII chars, Base 58 encoded Hash of Public Key) @qaul_{QAULID}:qaul.net create matrix ID for each qaul user
User ID (matrix -> qaul) ??? needs to create a new qaul user ID
Chat Rooms Chat Group Matrix Room
Room ID UUID
Room Name Group Name (UTF-8 String) Room Name (UTF-8 String) compatible
Chat Message Text UTF-8 Text UTF-8 compatible

@MathJud
Copy link
Member Author

MathJud commented May 25, 2023

Naming Systems of other Bridges

IRC Bridges

Freenode

Naming system for IRC Freenode server.

  • Channels: #freenode_{FREENODECHANNELNAME}:matrix.org

  • Users: @freenode_{FREENODEUSERNAME}:matrix.org

Hackint

Naming system for hackint.org server

  • Channel: #{HACKINTCHANNELNAME}:hackint.org

  • Users: @{HACKINTUSERNAME}:hackint.org

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Discussion Feature Request A new feature, that extends functionality Libqaul Rust Tracking Issue Tracking progress on larger tasks
Projects
None yet
Development

No branches or pull requests

2 participants