2022-02-23 19:26:38 +00:00
2022-02-23 19:26:38 +00:00
2021-12-15 09:51:25 +00:00
2022-02-21 20:35:17 +00:00
2021-10-10 13:09:50 +01:00
2022-02-23 19:26:38 +00:00
2021-12-27 00:34:41 +00:00
2021-10-10 13:09:50 +01:00
2021-10-26 12:46:59 +01:00
2021-10-26 12:46:59 +01:00
2021-05-13 16:25:42 +01:00
2022-01-04 15:32:50 +00:00
2022-02-23 19:26:38 +00:00
2021-12-23 16:36:12 +00:00
2022-02-22 10:42:54 +00:00
2021-12-22 18:20:02 +00:00

sync-v3

Run an experimental sync v3 server using an existing Matrix account. This is possible because, for the most part, v3 sync is a strict subset of v2 sync.

An implementation of MSC3575.

Usage

Requires Postgres 13+.

$ createdb syncv3
$ go build ./cmd/syncv3
$ ./syncv3 -server "https://matrix-client.matrix.org" -db "user=$(whoami) dbname=syncv3 sslmode=disable"

Then visit http://localhost:8008/client/ (with trailing slash) and paste in the access_token for any account on -server.

When you hit the Sync button nothing will happen initially, but you should see:

INF Poller: v2 poll loop started ip=::1 since= user_id=@kegan:matrix.org

Wait for the first initial v2 sync to be processed (this can take minutes!) and then v3 APIs will be responsive.

How can I help?

At present, the best way to help would be to run a local v3 server pointed at a busy account and just leave it and a client running in the background. Look at it occasionally and submit any issues you notice. You can save console logs by right-clicking -> Save As.

Please run the server with SYNCV3_DEBUG=1 set. This will force the server to panic when assertions fail rather than just log them.

API

API is under active development and is not stable. See api.md for the current API.

Description
Proxy implementation of MSC3575's sync protocol.
Readme Apache-2.0 4.7 MiB
Languages
Go 96.2%
JavaScript 3.4%
HTML 0.2%
CSS 0.1%