{"id":48236018,"url":"https://github.com/highesttt/matrix-line-messenger","last_synced_at":"2026-04-14T06:34:31.736Z","repository":{"id":329422135,"uuid":"1114154127","full_name":"highesttt/matrix-line-messenger","owner":"highesttt","description":"A bridgev2 project for bridging Matrix and LINE - Intended for use with Beeper","archived":false,"fork":false,"pushed_at":"2026-04-14T01:19:42.000Z","size":3017,"stargazers_count":24,"open_issues_count":11,"forks_count":3,"subscribers_count":2,"default_branch":"main","last_synced_at":"2026-04-14T01:20:58.735Z","etag":null,"topics":["beeper","beeper-desktop","line","matrix"],"latest_commit_sha":null,"homepage":"","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/highesttt.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":"AGENTS.md","dco":null,"cla":null}},"created_at":"2025-12-11T01:22:52.000Z","updated_at":"2026-04-14T01:19:47.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/highesttt/matrix-line-messenger","commit_stats":null,"previous_names":["highesttt/mautrix-line-messenger","highesttt/matrix-line-messenger"],"tags_count":3,"template":false,"template_full_name":null,"purl":"pkg:github/highesttt/matrix-line-messenger","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/highesttt%2Fmatrix-line-messenger","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/highesttt%2Fmatrix-line-messenger/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/highesttt%2Fmatrix-line-messenger/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/highesttt%2Fmatrix-line-messenger/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/highesttt","download_url":"https://codeload.github.com/highesttt/matrix-line-messenger/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/highesttt%2Fmatrix-line-messenger/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31785677,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-14T02:24:21.117Z","status":"ssl_error","status_checked_at":"2026-04-14T02:24:20.627Z","response_time":153,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"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":["beeper","beeper-desktop","line","matrix"],"created_at":"2026-04-04T20:00:26.649Z","updated_at":"2026-04-14T06:34:31.724Z","avatar_url":"https://github.com/highesttt.png","language":"Go","funding_links":[],"categories":["🌉 Bridges"],"sub_categories":["Community Bridges"],"readme":"# matrix-line-messenger\n\n[![Go Report Card](https://goreportcard.com/badge/github.com/highesttt/matrix-line-messenger)](https://goreportcard.com/report/github.com/highesttt/matrix-line-messenger)\n![Languages](https://img.shields.io/github/languages/top/highesttt/matrix-line-messenger.svg)\n[![License](https://img.shields.io/github/license/highesttt/matrix-line-messenger.svg)](LICENSE)\n\nA Matrix bridge for LINE Messenger using mautrix-go.\\\nBased on the [mautrix-twilio](https://github.com/mautrix/twilio) bridge\n\n\u003e [!WARNING]\n\u003e When updating from a version released before February 14, 2026,\n\u003e please make sure to reset your configuration and log in again.\\\n\u003e This is due to a change in the login flow that requires users to log\n\u003e in again to fetch the necessary keys for E2EE decryption.\n\n## Known issues\n\n\u003e [!NOTE]\n\u003e Messages sent to the LINE Bot using Beeper Desktop may appear as\n\u003e indefinitely sending.\\\n\u003e Use Beeper Mobile to send commands to the LINE Bot account after\n\u003e creating the chat with Beeper Desktop.\n\n\u003e [!WARNING]\n\u003e The bridge identifies itself as a LINE Chrome Extension client. LINE\n\u003e only allows one active Chrome Extension session at a time, so you\n\u003e cannot use the LINE Chrome Extension and the bridge simultaneously.\n\u003e Logging into the LINE Chrome Extension will invalidate the bridge's\n\u003e session (and vice versa). If this happens, you will need to\n\u003e re-authenticate the bridge. If you want to use LINE Chrome, you will\n\u003e need to log out of the bridge first as the bridge will try to automatically\n\u003e log back in and invalidate the LINE Chrome session again.\n\n## Features\n\n- [x] Messages\n  - [x] Text\n  - [x] Images\n  - [x] Videos\n  - [x] Files\n  - [x] Voice notes\n  - [ ] Audio files\n  - [x] GIFs\n  - [x] Location sharing (receive only)\n  - [x] Contact sharing (receive only)\n    - [x] LINE friend (name only)\n    - [x] Device contact (vCard)\n  - [ ] Mentions\n- [x] Read receipts\n- [x] Reaction support (Receive ONLY)\n- [x] Replies\n- [x] Prefetch missed chats upon starting the bridge\n- [x] Group chats\n- [x] Sticker retrieval support\n- [x] Link previews\n- [x] Message unsending/deletion\n- [x] Call notifications (voice and video, with duration)\n- [x] Leaving chats\n\n## Setup\n\n### 1. Clone the repository\n\n```bash\ngit clone https://github.com/highesttt/matrix-line-messenger.git\ncd matrix-line-messenger\nmkdir data\n```\n\n### 2. Choose your setup\n\n---\n\n## Beeper users (Docker)\n\n### Beeper Docker prerequisites\n\n- [Docker](https://www.docker.com/get-started/) and [Docker Compose](https://docs.docker.com/compose/install/)\n- [bbctl](https://github.com/beeper/bridge-manager) (compile from source if you don't have it):\n\n```bash\ngit clone https://github.com/beeper/bridge-manager.git\ncd bridge-manager\n./build.sh\n```\n\n### Beeper Docker configuration\n\n```bash\nbbctl c --type bridgev2 sh-line \u003e data/config.yaml\n```\n\nThe Docker container will automatically generate a matching\n`registration.yaml` from the Beeper-issued tokens in your config on\nfirst startup.\n\n### Beeper Docker run\n\n```bash\ndocker compose up --build -d\n```\n\n---\n\n## Self-hosted Matrix server (Docker)\n\n### Self-hosted Docker prerequisites\n\n- [Docker](https://www.docker.com/get-started/) and [Docker Compose](https://docs.docker.com/compose/install/)\n- A Matrix homeserver (Synapse, Dendrite, Conduit, etc.)\n\n### Self-hosted Docker configuration\n\nStart the container once to generate the example config:\n\n```bash\ndocker compose up --build\n```\n\nThe container will create `data/config.yaml` and exit. Edit it and set:\n\n- `homeserver.address` — your Matrix server URL (e.g. `http://localhost:8008`)\n- `homeserver.domain` — your Matrix server domain (e.g. `your.domain.com`)\n- `database.uri` — your database URI (e.g. `postgres://user:pass@host/db`)\n- `bridge.permissions` — who can use the bridge\n\nStart the container again to generate the registration file:\n\n```bash\ndocker compose up --build\n```\n\nIt will create `data/registration.yaml` and exit. Register the\nappservice with your homeserver by adding the registration file path to\nyour homeserver config. For Synapse, add it to\n`app_service_config_files` in `homeserver.yaml`, then restart the\nhomeserver.\n\n### Self-hosted Docker run\n\n```bash\ndocker compose up --build -d\n```\n\nTo run without rebuilding on subsequent starts:\n\n```bash\ndocker compose up -d\n```\n\n---\n\n## Native on Windows (without Docker)\n\n### Windows prerequisites\n\n- [MSYS2](https://www.msys2.org/) with mingw-w64 toolchain:\n\n```bash\nwinget install MSYS2.MSYS2\n# Open MSYS2 MinGW 64-bit terminal and install packages:\npacman -Syu mingw-w64-x86_64-gcc cmake\n```\n\n- [Go](https://go.dev/dl/)\n- [olm](https://gitlab.matrix.org/matrix-org/olm) library:\n\n```bash\ngit clone https://gitlab.matrix.org/matrix-org/olm.git\ncd olm\ncmake -Bbuild -G \"Unix Makefiles\" \\\n  -DCMAKE_C_COMPILER=x86_64-w64-mingw32-gcc \\\n  -DCMAKE_CXX_COMPILER=x86_64-w64-mingw32-g++ \\\n  -DCMAKE_INSTALL_PREFIX=/mingw64\ncmake --build build\ncmake --install build\ncd ..\n```\n\n- If using Beeper, compile [bbctl](https://github.com/beeper/bridge-manager) from source:\n\n```bash\ngit clone https://github.com/beeper/bridge-manager.git\ncd bridge-manager\n\n# Windows only: In cmd/bbctl/run.go, remove the following lines\n# because MSYS2 is still seen as Linux, but Windows doesn't support Setpgid:\n#\n#   if runtime.GOOS == \"linux\" {\n#       cmd.SysProcAttr = \u0026syscall.SysProcAttr{\n#           Setpgid: true,\n#       }\n#   }\n\n./build.sh\n```\n\n### Windows build\n\nCopy the olm `.dll` and `.dll.a` files to the project root, then:\n\n```bash\n./build-windows.sh\n```\n\n### Windows configuration\n\n**Beeper users:**\n\n```bash\nbbctl c --type bridgev2 sh-line \u003e data/config.yaml\nbbctl r sh-line \u003e data/registration.yaml\n```\n\n**Self-hosted Matrix server:**\n\n```bash\n./matrix-line.exe -e -c data/config.yaml\n# Edit data/config.yaml and set:\n#   homeserver.address: http://localhost:8008  (your Matrix server URL)\n#   homeserver.domain: your.domain.com         (your Matrix server domain)\n#   database.uri: sqlite:///data/matrix-line.db  (or a postgres URI)\n#   bridge.permissions: (who can use the bridge)\n\n./matrix-line.exe -g -c data/config.yaml -r data/registration.yaml\n# Register the appservice with your homeserver\n```\n\n### Windows run\n\n```bash\ncd data\n../matrix-line.exe\n```\n\n---\n\n## Native on Linux / macOS (without Docker)\n\n### Linux / macOS prerequisites\n\n- [Go](https://go.dev/dl/) and build tools (`gcc`, `make`)\n- [olm](https://gitlab.matrix.org/matrix-org/olm) library (install via your package manager or build from source)\n- If using Beeper, compile [bbctl](https://github.com/beeper/bridge-manager) from source\n\n### Linux / macOS build\n\n```bash\n./build.sh\n```\n\n### Linux / macOS configuration\n\n**Beeper users:**\n\n```bash\nbbctl c --type bridgev2 sh-line \u003e data/config.yaml\nbbctl r sh-line \u003e data/registration.yaml\n```\n\n**Self-hosted Matrix server:**\n\n```bash\n./matrix-line -e -c data/config.yaml\n# Edit data/config.yaml and set:\n#   homeserver.address: http://localhost:8008  (your Matrix server URL)\n#   homeserver.domain: your.domain.com         (your Matrix server domain)\n#   database.uri: sqlite:///data/matrix-line.db  (or a postgres URI)\n#   bridge.permissions: (who can use the bridge)\n\n./matrix-line -g -c data/config.yaml -r data/registration.yaml\n# Register the appservice with your homeserver\n```\n\n### Linux / macOS run\n\n```bash\ncd data\n../matrix-line\n```\n\n---\n\n## Login\n\n### Via Beeper Desktop Settings\n\n1. Open Beeper Desktop Settings\n2. Navigate to `Bridges`\n3. Click the three dots next to your LINE Bridge and select\n   `Experimental: Add an account`\n4. Follow the instructions to log in to your LINE account.\n\n### Using the Bridge Bot (any Matrix client)\n\n1. Open your Matrix client and start a chat with\n   `@sh-linebot:your.matrix.homeserver.domain`.\\\n   For Beeper, use `@sh-linebot:beeper.local`.\n2. Send the command `login` and follow the instructions.\n\n## Can't log in?\n\nThere are two common reasons login can fail:\n\n### 1. No email is set on your LINE account\n\nThis bridge uses the email from your account information. If your\naccount is older, you signed in using a phone number, or you signed in\nwith Google, you may not have an email set for your LINE account.\n\n**How to set an email for your LINE account:**\n\n1. Open the LINE app on your mobile device.\n2. Go to `Settings` \u003e `Account`.\n3. Tap on `Email address` and set your email address.\n\n### 2. Letter Sealing (End-to-End Encryption)\n\nThe bridge supports both `Letter Sealing` ON and OFF accounts. Messages\nto peers or groups without `Letter Sealing` are sent as plain text\nautomatically.\n\nFor details on how the bridge handles different Letter Sealing\ncombinations, see [readme/LETTER_SEALING.md](readme/LETTER_SEALING.md).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhighesttt%2Fmatrix-line-messenger","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fhighesttt%2Fmatrix-line-messenger","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhighesttt%2Fmatrix-line-messenger/lists"}