Skip to main content

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

  1. Display name.
  2. Group code (min 12 chars, shared with your peers).
  3. 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.10 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].
  • M opens a sectioned menu (Chat / History / Privacy / Session / System).
  • Ctrl+Z opens a modal with your current add code.
  • I opens the add-by-IP dialog. ? opens help. Ctrl+L locks. Ctrl+Q quits.

Migrating

From v1.1.3 through v1.1.9: enter your PIN. Nothing lost.

See THREAT_MODEL.md for what is and isn't defended.

Metadata

Release files for lanmess 1.1.10

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for lanmess 1.1.10
File Size Uploaded Provenance Actions
lanmess-1.1.10.tar.gz 49.8 kB With provenance Details for lanmess-1.1.10.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for lanmess 1.1.10
File Interpreter ABI Platform Actions
lanmess-1.1.10-py3-none-any.whl Python 3 none any Details for lanmess-1.1.10-py3-none-any.whl

Total release size: 90.1 kB

Release files / lanmess-1.1.10.tar.gz

Download URL lanmess-1.1.10.tar.gz
Size 49.8 kB
Tags Source
SHA-256 checksum
How to use checksums
a26a45cb6f2398ab71d4aa96e1e35ec6eac7b346752973d0d33d2352a61a0a94
BLAKE2b-256 checksum
How to use checksums
10432350bd4604a23d9dcdea952693a1233c6779aed35ffa189aed4065493e31
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 log

Release files / lanmess-1.1.10-py3-none-any.whl

Download URL lanmess-1.1.10-py3-none-any.whl
Size 40.3 kB
Tags Python 3
SHA-256 checksum
How to use checksums
a78861fcec8fbc13cdca40e1b406abac674aa6b74a304edccb248869e9ce7d80
BLAKE2b-256 checksum
How to use checksums
b2b3707267bb5ecb1650d5326ae8663e1d9355cbd3db39c4c930cd6902022206
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 log

Security for lanmess 1.1.10

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.

Select from 2 files

Attestation for lanmess-1.1.10.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 log

A 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.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page