LANMess
End-to-end encrypted messenger with a terminal UI. Discovers peers on the local LAN, or add them by IP and port to use any network you can route to.
Install
pip install lanmess
Run
lanmess
First launch
- Display name.
- Group code (min 12 chars, shared with your peers).
- PIN (min 12 chars, mixed character classes). Unlocks your local database.
Adding contacts
- By code (
A): the peer must be on the same broadcast domain. - By IP (
I): peer's IP, port, and current add code. Works on any routable network.
Addresses from add-by-IP are pinned: they will not be overwritten by
_apply_peer_ip when the peer's LAN address changes. Add-by-code contacts
are not pinned.
v1.1.9 features
- Manual IP pinning: typed addresses survive LAN visits.
- Session idle timeout: 10 minutes of inactivity ends the session.
- PIN brute-force lockout: 5 failures -> 30s, 10 -> 5min, 20 -> 1h, 50 -> 24h.
- Verified-only mode: reject chats with unverified contacts (menu toggle).
- Message search:
/find <text>. - Cross-platform notifications: notify-send, termux-notification, terminal-notifier, osascript, PowerShell, or terminal bell.
- Presence and typing indicators (opt-in, menu toggle).
- Replies (
/reply <id> <text>) and reactions (/react <id> <emoji>). - Command history: up/down in the message input.
UI overview
- Sidebar: contacts with unread badges
(3), verified markers*, and state tags[active],[chat req],[BLOCKED]. Mopens a sectioned menu (Chat / History / Privacy / Session / System).Ctrl+Zopens a modal with your current add code.Iopens the add-by-IP dialog.?opens help.Ctrl+Llocks.Ctrl+Qquits.
Migrating
From v1.1.3 through v1.1.8: enter your PIN. Nothing lost.
See THREAT_MODEL.md for what is and isn't defended.
Metadata
Release files for lanmess 1.1.9
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| lanmess-1.1.9.tar.gz | 49.7 kB | With provenance | Details for lanmess-1.1.9.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| lanmess-1.1.9-py3-none-any.whl | Python 3 | none | any | Details for lanmess-1.1.9-py3-none-any.whl |
Total release size: 89.9 kB
Release files / lanmess-1.1.9.tar.gz
| Download URL | lanmess-1.1.9.tar.gz |
|---|---|
| Size | 49.7 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
a05980aec0fbc7ad7da176888f80b5c0d2b9241f9b33b2a9a0bea5c148271a20
|
|
BLAKE2b-256 checksum How to use checksums |
7815218eccc558b1db7094171debd807de18a15a46ce70b12aa9ffb56ede01a7
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.16
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Nov 7, 2026.
Transparency logRelease files / lanmess-1.1.9-py3-none-any.whl
| Download URL | lanmess-1.1.9-py3-none-any.whl |
|---|---|
| Size | 40.2 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
e3f7b5d602b38cb704f49b3aba509b9a6eda2683f3dfbf3b974552627d46e8fb
|
|
BLAKE2b-256 checksum How to use checksums |
fb32bc24f275f2679b636bf4b8cdb41a568fde97ffd31d31fcdccbdea1a55aaa
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.16
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Nov 7, 2026.
Transparency logSecurity for lanmess 1.1.9
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
Full provenance
Both files in this release have been uploaded with provenance metadata.
Attestation for lanmess-1.1.9.tar.gz
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Nov 7, 2026.
Transparency logA note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.