williamhorning / bolt

a cross-platform chat bot connecting your communities
MIT License
36 stars 4 forks source link

Matrix #19

Open r3k2 opened 1 year ago

r3k2 commented 1 year ago

Hello, we use revolt, and matrix left discord 2 months a go, will be nice to have this also connect a matrix room with a revolt room, I was going to write the bot myself in go or rust but then I saw this, so why reinvent the wheel.

williamhorning commented 1 year ago

I was working on this, I'm just trying to find a way to implement it without going insane requiring people to host a Matrix homeserver to host Bolt and bloating the codebase, which I'm also rewriting (see #18)

williamhorning commented 1 year ago

Just an update on this, got a bunch more time recently and I'm finalizing a bunch of stuff in the new version Matrix support will be in. should be released soontm

williamhorning commented 1 year ago

Another update on this: the Matrix plugin on the dev branch supports basic text but not much else at the moment. I'm going to fix that before release though so stay tuned

r3k2 commented 8 months ago

Hello, sorry I was away waiting for revolt to get a bit more mature, I see this issue is closed, so it is working now? any instructions in how to make it work? cheers!

williamhorning commented 8 months ago

oh shoot! this shouldn't've been closed and it seems like something else should've been closed instead. #46 is what actually closes this and that's still a bit far off. i'm so sorry about that!

williamhorning commented 8 months ago

it seems like i'm unable to change the sidebar to say that this is closed by that since github is annoyed at the non-existence of the dev branch, whoops

updating it on the PR fixed that

r3k2 commented 8 months ago

Thank you @williamhorning :heart:

r3k2 commented 3 months ago

Hello everyone! Any news on this? :crying_cat_face:

williamhorning commented 3 months ago

hey there @r3k2! #66 needs a bit more work before i can get proper matrix support to work, especially with the following things i still have left to do:

r3k2 commented 2 months ago

Thanks for the news @williamhorning to bad this project is not on rust or go, I could have helped instead of asking for updates :( I made a rss bot for our revolt server but don't want to start from 0 in a full on bridge if there is already a project with half the work done. As a small way to help, we can offer our revolt server in revolt.chat for testing if needed.

williamhorning commented 2 months ago

hey @r3k2! i've been considering writing the matrix logic in go for a while now, especially since there're libraries there which work really well. there're a few things that approach would need to have solutions for, though:

  1. reply handling would need to change, as right now, the reply function is on the message interface (which would make it more difficult to hand off to go code)
  2. communication between go and typescript code would need to be possible, ideally in a way that allows you to mix/match other languages later on too
  3. the go code for the plugin should be distributed in a way so that it can be shipped similarly to the other plugins

if you have any ideas, i'd love to hear them!