← All tools

dkisser/wenchat

Popularity 75 Updated DevOps & Cloud

LAN-only P2P terminal chat over WebRTC. Auto-discovers peers via mDNS/Bonjour — no server, no STUN/TURN, no cloud relay. Ink TUI with markdown rendering, file transfer, mouse mode, and clipboard support.

githubauto-collected

Installation

A directly usable install command is not verified yet. Check the project documentation or releases.

WenChat

中文 · Changelog · License

LAN-only P2P terminal chat: mDNS auto-discovery + direct WebRTC. No server, no STUN/TURN, no cloud relay.

Open two terminals on the same Wi-Fi, wired, or VPN network and start chatting with a single command — no public internet, no accounts, no messages leaving your LAN. Text supports Markdown rendering, you can transfer files, double-click to copy, and press Ctrl+T to toggle the native mouse-selection mode.

Table of Contents

  • Features
  • Preview
  • Installation
  • Quick Start
  • Slash Commands
  • Tech Stack
  • Project Layout
  • Configuration
  • Development
  • Contributing
  • Security
  • License

Features

Networking

  • 🔍 mDNS / Bonjour auto-discovery — peers on the same LAN appear

instantly, no IP typing required

  • 🔗 WebRTC DataChannel direct — pure P2P, no STUN / TURN, no

relay server

  • 🛡️ DTLS in-transit — link-layer encryption; the data channel

itself carries plaintext frames

  • 💓 Application-layer heartbeat — 2 s ping (suppressed while traffic

flows) / 15 s total-silence watchdog, with auto-pong and automatic cleanup on link loss

Chat UX