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.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].
  • 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.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)

Source distribution for lanmess 1.1.9
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)

Table of built distributions (wheels) for lanmess 1.1.9
File Interpreter ABI Platform Actions
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 log

Release 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 log

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

Select from 2 files

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