Skip to content

etkecc/go-linkpearl

Repository files navigation

linkpearl

more about that name

A wrapper around mautrix-go with infrastructure/glue code included

How to get

go get github.com/etkecc/go-linkpearl
lp, err := linkpearl.New(&linkpearl.Config{
	// your options here
})
if err != nil {
	panic(err)
}

go lp.Start()

TODO

  • Unit tests

Features

  • 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

Authentication modes

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.

About

No description or website provided.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Sponsor this project

Packages

 
 
 

Contributors