{"id":20217957,"url":"https://github.com/matrix-org/lb","last_synced_at":"2025-04-10T15:45:35.379Z","repository":{"id":44673197,"uuid":"365218885","full_name":"matrix-org/lb","owner":"matrix-org","description":"MSC3079 Low Bandwidth library for servers and clients","archived":false,"fork":false,"pushed_at":"2022-08-25T09:50:36.000Z","size":135,"stargazers_count":25,"open_issues_count":7,"forks_count":3,"subscribers_count":4,"default_branch":"main","last_synced_at":"2025-03-24T13:36:16.226Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/matrix-org.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2021-05-07T11:59:00.000Z","updated_at":"2024-09-17T13:08:53.000Z","dependencies_parsed_at":"2022-09-05T17:40:21.862Z","dependency_job_id":null,"html_url":"https://github.com/matrix-org/lb","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/matrix-org%2Flb","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/matrix-org%2Flb/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/matrix-org%2Flb/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/matrix-org%2Flb/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/matrix-org","download_url":"https://codeload.github.com/matrix-org/lb/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248243509,"owners_count":21071055,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-14T06:36:36.717Z","updated_at":"2025-04-10T15:45:35.349Z","avatar_url":"https://github.com/matrix-org.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Low Bandwidth Matrix\n\n[![Go Reference](https://pkg.go.dev/badge/github.com/matrix-org/lb.svg)](https://pkg.go.dev/github.com/matrix-org/lb)\n\nThis repository implements [MSC3079](https://github.com/matrix-org/matrix-doc/pull/3079) in Go.\nIt also provides several command line tools to get up to speed with existing low bandwidth enabled servers.\n\n\n### Mobile implementations\n\nSee [mobile](/mobile) for Android/iOS bindings.\n\n### Command Line Tools\n\n - [jc](/cmd/jc): This tool can be used to convert JSON \u003c--\u003e CBOR.\n - [coap](/cmd/coap): This tool can be used to send a single CoAP request/response, similar to `curl`.\n - [proxy](/cmd/proxy): This tool can be used to add low bandwidth support to any Matrix homeserver.\n\nThese can be tied together to interact with low-bandwidth enabled Matrix servers. For example:\n```bash\n# convert inline JSON to CBOR then pipe into coap to localhost:8008 then convert the CBOR response back to JSON and print to stdout\n./jc -out \"-\" '{\"auth\":{\"type\":\"m.login.dummy\"},\"username\":\"foo\",\"password\":\"barbarbar\"}' \\\n| ./coap -X POST -d '-' -H \"Content-Type: application/cbor\" -k  https://localhost:8008/_matrix/client/r0/register \\\n| ./jc -c2j -out '-' '-'\n```","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmatrix-org%2Flb","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmatrix-org%2Flb","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmatrix-org%2Flb/lists"}