Repository navigation
Releases: kongesque/line-cli
Release list
LINE CLI v0.5.0
What's Changed
- Add message-history pagination with
messages --page --jsonand continuation cursors - Add bounded lookup of older messages for replies, downloads, reactions, and unsends
- Add
--details --jsonfor structured chat and message content, including locations, attachments, stickers, contacts, and mentions - Add optional sender-name lookup with
--resolve-names - Add
membersto list group members and invitees - Add
send --mentionswith validated UTF-16 spans for text, stdin, and replies - Add
--timeoutacross core commands and improve cancellation and terminal restoration - Add global
--error-format=jsonwith structured errors, mutation outcomes, and sanitized request diagnostics - Add
messages --diagnostics --jsonto inspect history IDs and counts before decryption - Preserve confirmed mutation outcomes when output fails and report partial failures without automatically replaying actions
- Prefer Letter Sealing and automatically use HTTPS/TLS when LINE explicitly reports no E2EE support. Add
--require-e2eeto block non-E2EE sends; LINE can read non-E2EE content. See LINE’s Encryption Report 2025 - Add JPEG/PNG image preparation and capability-checked non-E2EE sending. Encrypted native-image sending remains disabled, and live image delivery remains unverified
- Fix group encryption to honor LINE's negotiated encryption version
- Improve chat search and profile lookup when some profiles are unavailable
- Keep encrypted-file keys and filenames inside the authenticated Letter Sealing payload. Live encrypted-file interoperability remains unverified
- Reject authenticated-request redirects and limit response sizes and SSE event accumulation
- Require Go 1.27.2 for source builds and add source and release-binary vulnerability scans
- Consolidate JSON, session, security, and development references, and bundle the complete documentation in every release archive
Full Changelog: v0.4.0...v0.5.0
LINE CLI v0.4.0
What's Changed
- Add
line updatewith release checks, install detection, SHA-256 verification, and safe standalone upgrades - Add direct contact lookup by MID, including group members and users outside your friend list
- Improve contact lookup validation and partial-result handling
- Refresh CLI documentation and Homebrew/update guidance across English, Thai, Japanese, and Traditional Chinese
Full Changelog: v0.3.1...v0.4.0
LINE CLI v0.3.1
What's Changed
- Reliable V3 token refresh at the normal approximately 168-hour (7-day) access-token boundary, using server timing metadata and durable access/refresh-token rotation
- Bounded exponential backoff and jitter using LINE's refresh retry policy, with cancellation support
- Improved authentication error detection and safe read recovery, while preserving single-shot sends, reactions, unsends, and uploads
- Resilient
line watchreconnection after token refresh, with protection against stale clients invalidating newer credentials - Expanded regression coverage for proactive refresh, token rotation, concurrent recovery, forced logout, and simulated restarts across the seven-day refresh boundary
- Documentation updates across English, Thai, Japanese, and Traditional Chinese, plus a detailed token/session audit and LINEJS/Beeper comparison
Full Changelog: v0.3.0...v0.3.1
LINE CLI v0.3.0
What's Changed
- QR-first login with terminal QR rendering, phone approval, PIN flow, cancellation handling, and email/password fallback
- Improved session expiration and authentication recovery with clearer re-login and headless service diagnostics
- Media downloads for images, video, audio, and files up to 20 MiB, including authenticated full-media retrieval and binary stdout support
- Expanded test coverage for QR login, terminal input, signals, session/storage behavior, and media downloads
- Documentation updates across English, Thai, Japanese, and Traditional Chinese, plus new QR login and media download protocol notes
Full Changelog: v0.2.0...v0.3.0
LINE CLI v0.2.0
What's Changed
- Headless Linux support: versioned storage engine, systemd credential adapter, and
login --headless/auth migrate --storage=headlessCLI integration - Cross-platform release installers for POSIX shells and PowerShell with SHA-256 verification
- Homebrew support and README refresh with new banner
- Thai, Japanese, and Traditional Chinese translations
- Documentation clarity pass, including the token refresh boundary note
Full Changelog: cli-v0.1.0...v0.2.0
LINE CLI v0.1.0
The first standalone LINE CLI release: use your personal LINE account from a terminal, with guided prompts for everyday use and JSON output for scripts.
What's included
line login,whoami,contacts,chats,messages,send, andlogout.- Searchable chat selection, readable conversation history, and recipient names instead of copying IDs.
- Letter Sealing encrypted text and generic file attachments up to 20 MiB.
- Replies, six standard reactions, reaction removal, file downloads, and unsend.
- Live events with
line watch, saved resume position, and NDJSON output. - Native credential protection: macOS Keychain, Linux Secret Service, and Windows DPAPI.
- A standalone CLI with the legacy Matrix/Beeper bridge removed; upstream MIT attribution retained.
Download and install
Choose the archive matching your computer:
| Computer | Archive |
|---|---|
| macOS — Apple Silicon | line-darwin-arm64.tar.gz |
| macOS — Intel | line-darwin-amd64.tar.gz |
| Linux — Intel/AMD 64-bit | line-linux-amd64.tar.gz |
| Linux — ARM64 | line-linux-arm64.tar.gz |
| Windows — Intel/AMD 64-bit | line-windows-amd64.tar.gz |
| Windows — ARM64 | line-windows-arm64.tar.gz |
Extract into a new directory, verify the included SHA256SUMS, and place line or line.exe on your PATH. SHA256SUMS.txt attached to this release also contains checksums for the six archives. Each archive includes the README, CLI reference, and MIT license. Go is not required to run these binaries.
On macOS, verify the extracted binary with shasum -a 256 -c SHA256SUMS; on Linux, use sha256sum -c SHA256SUMS. On Windows, compare Get-FileHash .\line.exe -Algorithm SHA256 with the included checksum.
Start with:
line version
line login
line chats
line messages
line sendSee the installation and usage guide and complete CLI reference.
Validation
Tagged CI passed on Linux, macOS, and Windows, including native Linux Secret Service and Windows DPAPI checks. All six release builds passed. The macOS Apple Silicon release binary passed local version/help startup checks without accessing a LINE account.
Requirements and current limits
- Login needs an email/password configured in LINE and phone approval. This client uses a Chrome-style session and may replace another LINE Chrome extension session.
- Linux needs
secret-tooland an unlocked Secret Service keyring in the current D-Bus session. There is no plaintext credential fallback. - Binaries are unsigned and not notarized. macOS may require approval in Privacy & Security. Keep the executable at a stable path for Keychain access.
- Recent message history is limited to 100 messages per read. File uploads are generic files, not specialized photo/video/audio messages.
- Only one saved account is supported. Reading does not mark messages read; logout removes the local saved session.
- Fresh group-key registration, some live token-refresh scenarios, and live watch message-event delivery still have validation gaps. No send is automatically retried after an uncertain result.
This is an independent client derived from beeper/line, not an official LINE product.