A wrapper around mautrix-go with infrastructure/glue code included
go get github.com/etkecc/go-linkpearl
lp, err := linkpearl.New(&linkpearl.Config{
// your options here
})
if err != nil {
panic(err)
}
go lp.Start()
- Unit tests
- Zero configuration End-to-End encryption
- Zero configuration persistent storage
- Zero configuration session restores
- Zero configuration room and user account data encryption with AES GCM (both keys and values)
- Zero configuration room and user account data caching
- Shared Secret Auth support
- Threads support
- All wrapped components exported
| Mode | Config field | Notes |
|---|---|---|
| Password | Config.Password |
Standard Matrix password login |
| Shared Secret | Config.SharedSecret |
Shared Secret Auth |
| Access Token | Config.Token |
Pre-created token; skips /login entirely. UserID and DeviceID are resolved via /account/whoami. E2EE requires the device to have no prior Olm identity keys uploaded (fresh device) and a persistent Config.DB paired 1:1 with the token's DeviceID. |