!maunium-v10:maunium.net

Maunium

295 Members
Discussion about any of tulir's projects that don't have dedicated rooms | https://github.com/tulir | https://mau.dev | https://mau.fi151 Servers

Load older messages


SenderMessageTime
16 May 2024
@pulsedev:pulseflow.chPulseDev * Hi there, did I understand this correctly: https://github.com/mautrix/go is the framework which can be/get used for creating matrix bridges?15:20:10
@pulsedev:pulseflow.chPulseDevCool work man appreciate it15:20:33
@pulsedev:pulseflow.chPulseDevI've planned to try to create a MS Teams Bridge. Any tips where to start?15:28:02
@davicorn:beeper.comdavidHmmmm, so best is to read through the gmessages bridge I think, and then puzzle the base together15:31:58
@davicorn:beeper.comdavid

If you want I can push my stuff to github early, it’s just still very WIP and full of debug comments. But it includes a veeeeeeerry small boilerplate that can help you get started

But I’m also still learning so no idea if my stuff is correct or not

15:33:17
@tulir:maunium.nettulirwaiting a few months is still recommended for new bridges15:34:26
@tulir:maunium.nettuliror at least a few weeks so the bridgev2 module has all the basics15:34:55
@pulsedev:pulseflow.chPulseDev
In reply to @davicorn:beeper.com

If you want I can push my stuff to github early, it’s just still very WIP and full of debug comments. But it includes a veeeeeeerry small boilerplate that can help you get started

But I’m also still learning so no idea if my stuff is correct or not

Would be really cool 🙃
15:40:32
@pulsedev:pulseflow.chPulseDev
In reply to @tulir:maunium.net
or at least a few weeks so the bridgev2 module has all the basics
Okay, Ill just try out the Graph API for now then
15:40:50
@tulir:maunium.nettuliryeah I'd definitely recommend figuring out the remote API first15:43:01
@tulir:maunium.nettuliryou'll probably have to reverse-engineer it, I doubt the official apis will work for normal users15:43:20
@pulsedev:pulseflow.chPulseDev
In reply to @tulir:maunium.net
yeah I'd definitely recommend figuring out the remote API first
Yeah makes sende
15:44:08
@pulsedev:pulseflow.chPulseDev
In reply to @tulir:maunium.net
you'll probably have to reverse-engineer it, I doubt the official apis will work for normal users
Depends, most stuff is actually included in the graph Api and I was able to retrieve some relevant data on a very quck first look with a normal user token
15:44:51
@pulsedev:pulseflow.chPulseDevHardest part will be figuring out a way to keep the user authenticated w/o having to go through the signin process over and over again especially with corp logins which are secured over 2FA/15:45:38
@davicorn:beeper.comdavidoof yeah, when we migrated to Okta it broke a bunch of internal tools 15:46:03
@pulsedev:pulseflow.chPulseDevyeah15:46:52
@davicorn:beeper.comdavidI’d check how far you can get with the official apis, and see what’s on github for 3rd party SDKs 15:48:15
@pulsedev:pulseflow.chPulseDevactually theres also an official go library of the graph api so everything looks good so far15:48:43
@pulsedev:pulseflow.chPulseDev
In reply to @davicorn:beeper.com
I’d check how far you can get with the official apis, and see what’s on github for 3rd party SDKs
thats what I was gonna do anyways. Looks like most of the stuff is solvable via the official sdk/api on the first sight the other few % ill have to reverse engineer from the teams webclient
15:50:16
@pulsedev:pulseflow.chPulseDevBut the api is really fckd up and completely unlogical formatted on the first sight, as every Ms product is 😂15:51:42
@pulsedev:pulseflow.chPulseDevlike i didn’t find any endpoints to retrieve the user chats at all only one to get the messages in the channel. Really messed up. Ill have to further investigate as soon as I‘m home15:52:42
@pulsedev:pulseflow.chPulseDevI guess Ill try to make a small bridge which only supports direct messages for now until the lib v2 is out15:53:20
@tulir:maunium.nettulir
In reply to @pulsedev:pulseflow.ch
Depends, most stuff is actually included in the graph Api and I was able to retrieve some relevant data on a very quck first look with a normal user token
yeah if you're lucky it's just the documented api with an undocumented token, discord and slack work like that
15:55:03
@pulsedev:pulseflow.chPulseDev
In reply to @tulir:maunium.net
yeah if you're lucky it's just the documented api with an undocumented token, discord and slack work like that
I‘ll have a deeper look at it :D
15:56:50
@pulsedev:pulseflow.chPulseDevi think im gonna do a cli tool to get used to the library etc first15:57:03
@pulsedev:pulseflow.chPulseDevand then do a very stripped down bridge15:57:12
@tulir:maunium.nettulira very stripped down bridge can already be done in the new architecture (it supports sending/receiving messages, but nothing else)15:58:07
@pulsedev:pulseflow.chPulseDevOh, perfect!15:58:25
@pulsedev:pulseflow.chPulseDevBut I suppose there are no sample bridges for the new versions out there?15:58:52
@tulir:maunium.nettulirthere's signal15:59:12

Show newer messages


Back to Room ListRoom Version: 10