v0.6.0 · MIT · written in Rust

Like netcat, but over your own device mesh.

Noscat joins any computer you own into one private mesh: a laptop, a Raspberry Pi in a closet, a VPS, a desktop at work, an Android phone. Each device is addressed by its own Nostr key, every byte is end-to-end encrypted, and nothing needs root, an account or a company in the middle.

LinuxmacOSWindowsAndroidx86_64 and ARM64
Think Tailscale, but

Your devices run the mesh themselves.

No company in the control plane

Membership is a Marmot group (MLS, the IETF group encryption standard) carried by ordinary Nostr relays. Use public ones or run your own.

No coordinator, no owner

Every member can verify who is in, and any member can invite or remove. Lose a device and the mesh carries on.

No root, no kernel module

Everything runs in userspace, on a Raspberry Pi as well as a Windows desktop. The CLI is a single binary, and Android has a native app.

No accounts

Each device generates its own keypair, and its npub is its address. There is no sign-up, email address or phone number.

How it works

Membership goes through a relay. Your data doesn't.

public relays never contacted public STUN never contacted your server (a small VPS) noscat-relay: members only STUN on UDP 3478 Noscat, --reachable laptopcafé Wi-Fi raspberry piat home desktopat home phonemobile data

Your relay, members only

noscat-relay serves only your mesh's devices, which log in with their keys. Your devices stop using public relays, and because the relay also runs STUN, no public STUN server learns their addresses.

The server is an ordinary member

It is reachable from the internet, so devices that cannot reach each other connect through it. It cannot read the traffic it passes on, because that traffic is encrypted between the two devices.

How to set up a private mesh →

What you do with it

What members can do

Only members can connect to a device, and each device sets what every member may do to it: send it files and messages, use its forwarded services, or open a terminal on it.

Send files

Interrupted transfers resume, and each file is checked against its SHA-256 on arrival.

noscat send ./report.pdf npub1…

Chat

Chat in the terminal while noscat up runs, or send a single message from a script.

noscat chat npub1… lunch at noon?

Share a clipboard

Copy on one device and paste on another, across operating systems.

noscat clip npub1…

Forward ports

Reach a member's SSH server, web interface or database on a local port.

noscat forward npub1… --port 2222

Open a shell

Open the member's login shell in your terminal. The member asks first unless it already allows you.

noscat shell pi

Pipe data

Netcat mode connects stdin and stdout to another member.

echo hello | noscat pipe npub1…
Install

Install

The Linux packages are static builds with no dependencies, for x86_64 and ARM64 (including a Raspberry Pi running a 64-bit OS). Every package includes shell completions and a man page.

curl -fsSL https://raw.githubusercontent.com/Letdown2491/noscat/main/packaging/install.sh | sh

Installs into ~/.local/bin. Prefer a package? .deb, .rpm and .apk files are attached to every release.

Every option, with details: INSTALL.md · all releases

Apps

Three clients for the same mesh

Command line

noscat

Creates meshes, runs on headless machines as a background service, and does everything described above. Runs on Linux, macOS and Windows.

Letdown2491/noscat →
Desktop

Noscat for desktop

A native Linux app written in Rust, with chat, file transfer, port forwards, clipboard sharing and terminals, including hosting terminals for other members.

Download from releases →
Android

Noscat for Android

A native Kotlin app. Join a mesh by scanning a member's QR code, then chat, send files, forward ports and open terminals.

Get the APK →

The apps join existing meshes and approve new devices; a device running the CLI creates the mesh.

Open protocol

The protocol is documented

Everything Noscat sends is specified in a draft NIP, so other clients can be written against it. A White Noise account can also be invited into a mesh.