Work

Muniko Share

Scan once. Send anything between your phone and computer.

In short

Muniko Share moves photos, files and copied text between your phone and your computer, or between two computers, when they are on the same WiFi. You scan a code on the computer screen with your phone, and the two are connected. Everything goes straight from one device to the other, not through the internet or anyone’s servers. You do not need an account, and the phone does not need an app. It is still an early version.

Muniko Share running: nearby computers, an incoming file, then a phone joining by QR code. The clip uses sample data.
What it is
File and clipboard transfer on a local network
Built with
Rust, Tokio, axum, Tauri, React
AI
None
Runs on
A desktop app and any phone browser
Tests
160
Status
Source available, v0.2.1

Full stack: Rust, Tokio, axum, Tauri, mDNS, Mutual TLS, Self signed certificates, Device pairing, Resumable transfers, React

Screens, full size

The Muniko Share desktop app on the Nearby tab: two paired computers, each with Send files, Send folder and Send clipboard buttons, and a third computer waiting to pair.
Computers on the same network find each other.
The Connect a phone window in Muniko Share: a QR code, the local link it opens, a ten minute expiry and a note about the one time certificate warning.
A phone joins by scanning a code. No app needed.
An incoming files prompt in Muniko Share: another computer wants to send two files totalling 19 MB, with Decline and Accept buttons.
You see what is coming and accept or decline it.

Screenshots from the Muniko Share repo, with sample device and file names. Select a picture to see it full size.

Everything below is for engineers: how it is built, what I measured and what went wrong.

The problem

Getting a photo from a phone to a laptop on the same desk usually means a cloud upload, a chat app or a cable. The two devices are a few metres apart on the same network. I wanted them to find each other and talk directly, with trust that does not depend on anyone else’s server.

How it works

A Rust core. Discovery, pairing, transfer and the phone page all live in one Rust crate on Tokio and axum. Tauri wraps it as the desktop app.

Finding each other. Devices announce themselves over mDNS. On networks that block multicast, a UDP broadcast takes over, and a peer can also be added by hand.

Identity and trust. Each device makes its own self signed certificate, and its ID is that certificate’s fingerprint. Desktops talk over mutual TLS and check each other by fingerprint, so no certificate authority is involved. Pairing uses a six digit code, trusted devices are stored in SQLite, and each one can be set to auto accept. The server answers only devices on the local network.

The phone. The desktop shows a QR code. The phone opens a web page served by the desktop and trades the code’s one time token for a session. The token sits in the part of the URL that is never sent to a server, so it cannot end up in a log, and the desktop keeps only its digest.

Step Phone Desktop
1 Shows a one time QR code
2 Scans it, opens the page Checks the token’s digest
3 Gets a session cookie Invalidates the token
4 Swaps files and text Streams files, resumes if cut

Transfers. A sender offers a list of files and the receiver accepts or declines. When a file arrives, its size and SHA 256 hash must match the offer, or it is rejected. Partial files are kept after an interruption, so an upload resumes from the byte the receiver already has. Folders keep their structure.

Clipboard. Copied text moves between devices, using each platform’s own clipboard on macOS, Windows and Linux, including Wayland.

How each risk is handled

Risk How it is handled
A device poses as yours Mutual TLS, pinned at pairing
An outside device connects Only local addresses get an answer
Join link lands in a log Token in URL fragment, kept as a digest
A file arrives damaged Size and SHA 256 hash must match
Connection drops halfway The partial file is kept and resumes
Network blocks multicast UDP broadcast, or add a peer by hand

Decisions that mattered

No app on the phone. Installing an app to receive one file is the kind of friction this tool is meant to remove. Serving the phone a web page from the desktop removes it, at the cost of more work in the Rust core.

Trust by fingerprint. Because a device’s ID is its certificate’s fingerprint, pairing once is enough to recognise it later, and a different device cannot pretend to be it without its private key.

Resume, not restart. WiFi connections drop. Keeping partial files and resuming from the receiver’s byte count makes a large transfer survive that.

Where it stands

The Rust code has 160 tests, including end to end tests over a real TLS socket.

Limits

  • Version 0.2.1 is an early release, so expect rough edges.
  • Both devices have to be on the same local network. It does not send files across the internet.
  • The code is source available under the PolyForm Internal Use license: you can read it, use it and change it inside your own company, but you may not distribute it.