Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,13 @@ Changes people using Tightbeam will notice. Add a line under **Unreleased** as t

## Unreleased

- Send any file, not just pictures: pick files with the paperclip, or drop them on the window. Files up to 1 GB go straight from disk, so big ones don't slow the app down. Changing or moving the original afterwards doesn't affect what was sent. The other side needs version 0.7 or later.
- More kinds of received files open in their app with one click: PDFs, text and Office documents, audio and video, as well as pictures. Programs, scripts, web pages and archives can only be shown in their folder.
- After unpairing and pairing with someone new, they get only the messages written from then on. Before, they also received every message sent to the previous person. Editing or deleting those older messages stays on your computer.
- Messages from someone you were paired with before keep their name, instead of showing the name of whoever you're paired with now.
- Clicking the quote in a reply jumps to the original message even when it's further back than the history loaded so far. Before, it did nothing until you'd scrolled back that far.
- A reply quoting a vanishing message shows "Message vanished" as soon as it vanishes, instead of "Deleted message" until the app restarts.
- A problem with what you're sending, like a file that's too big or a message that didn't go, shows just above the message box instead of at the top of the window.

## 0.7.0 — 2026-11-24

Expand Down
3 changes: 2 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ Windows and macOS. Rust + [Tauri](https://tauri.app) for the app, [iroh](https:/

**Commands:** type `/` in the message box for a list. `/clear` erases the conversation on this computer; the other person keeps their copy, and your messages that haven't reached them yet stay so they still get delivered. The erased messages are overwritten in the database file, not just marked free. `/nudge` shakes the other person's window and plays a sound, or shows a notification if Tightbeam is in their tray. `/away lunch` shows the other person "Away · lunch" (the note is optional) until `/back` or your next message. After 10 minutes without keyboard or mouse input anywhere on the computer, you show as away until you're back at it. `/dnd 2h` turns on do not disturb: no notifications or nudge sounds, the other person sees it, and their nudges are paused; `/dnd off` ends it early. `/vanish 1m the code is 4321` sends a message that erases itself from both computers a minute after the other person sees it (both apps need 0.6 or later). `/me waves` shows "Alex waves"; `/shrug`, `/tableflip` and `/unflip` add the face to your message. `/status` shows the connection's address and round-trip time, and both apps' versions. To send a message that starts with a slash, begin it with `//`.

**Pictures:** paste a screenshot, drop pictures on the window, or use the picture button beside the message box; what you type goes with them as a caption. Each picture can be up to 1 GB. The message syncs like any other, carrying the picture's name, size, BLAKE3 hash and a tiny preview, shown blurred until the picture arrives. The picture itself travels on a QUIC stream of its own, so a big one never holds up messages: the receiving app asks for it, checks the whole file against the hash, and keeps it in the data folder under `files/`. A transfer that breaks off picks up where it stopped. Click a picture to see it full size, open it in its default app, save a copy somewhere else, or show it in its folder. The data folder is the app's own: a file moved out of it, or changed in it, is fetched again from the other computer (it's checked against its hash before it's sent), or shows as no longer available if neither has it intact. One this computer can't display, such as HEIC on Windows, shows as a file. Deleting the message or `/clear` removes the file once no message has it, though as an ordinary file delete: unlike message text, it isn't overwritten on disk. Both apps need 0.7 or later.
**Files and pictures:** pick files with the paperclip beside the message box, drop them on the window, or paste a screenshot; what you type goes with them as a caption. Each file can be up to 1 GB. Picked and dropped files go straight from disk by path, never through the webview, and the app keeps its own copy, so changing or moving the original afterwards doesn't affect what was sent. The message syncs like any other, carrying the file's name, size, type and BLAKE3 hash, and for a picture its dimensions and a tiny preview, shown blurred until the picture arrives. The file itself travels on a QUIC stream of its own, so a big one never holds up messages: the receiving app asks for it, checks the whole file against the hash, and keeps it in the data folder under `files/`. A transfer that breaks off picks up where it stopped. Click a picture to see it full size. Pictures, PDFs, text and Office documents, audio and video open in their default app; anything else, such as a program, a script, a web page or an archive, can only be shown in its folder. Any file can be saved as a copy somewhere else. The data folder is the app's own: a file moved out of it, or changed in it, is fetched again from the other computer (it's checked against its hash before it's sent), or shows as no longer available if neither has it intact. One this computer can't display, such as HEIC on Windows, shows as a file. Deleting the message or `/clear` removes the file once no message has it, though as an ordinary file delete: unlike message text, it isn't overwritten on disk. Both apps need 0.7 or later.

**Search:** the magnifier in the header, Ctrl+F (Cmd+F on macOS), or `/search words`. Each word matches words that start with it, ignoring case and accents, and a message must match them all. Matches are listed newest first; picking one scrolls to it, loading older history if needed. The index (SQLite FTS5) holds each message's current text, so edits are found by their new text and deleted or cleared messages aren't found at all.

Expand All @@ -45,6 +45,7 @@ src-tauri/src/net.rs the network the engine runs on: iroh and mDNS, or in m
src-tauri/src/clock.rs wall-clock time, which tests move with tokio's paused clock
src-tauri/src/entry.rs log entries: each kind, its wire form, admission of a peer's
src-tauri/src/db.rs SQLite storage and history paging
src-tauri/src/files.rs the file store: files in the data folder, what's kept, what may open
src-tauri/src/lib.rs Tauri commands and events
src-tauri/src/desktop.rs tray, unread count, notifications
src-tauri/src/updates.rs automatic updates
Expand Down
3 changes: 2 additions & 1 deletion ROADMAP.md
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,8 @@ New frame types or message kinds. The per-author append-only log stays as it is:
## 3. Bigger pieces

- [x] **Pictures**, including pasted screenshots. `Msg` carries a `file` (BLAKE3 hash, name, size, type, and for images the size and a tiny preview), sent only to peers whose `Hello` lists the `files` feature. The bytes go on QUIC streams of their own: the receiver asks for a file from the first byte it lacks, checks the whole file against the hash, and keeps it as `files/<hash>/<name>` in the data folder, with a `files` table saying which have arrived. Written directly rather than with `iroh-blobs`, which would bring a second store whose deletes we wouldn't control. Files go when no message has them any more. The webview loads them through a `tbfile` protocol that serves only those, uncached.
- [ ] **Any file.** The transfer already handles any file; the UI only offers pictures. A file picker and drop for other kinds, sent by path rather than through the webview, so a big one isn't read into memory. Received files open only if they're a known safe kind; anything else is "Show in folder".
- [x] **Any file.** A file picker (the paperclip) and drag and drop with paths (Tauri's), so files go from disk by path and a big one is never read into the webview. The store copies a sent file in while hashing it. A staged picture's preview is made from its bytes, which Rust hands over only for pictures up to 50 MB. Pasting still goes as bytes, up to 100 MB. Received files open only if they're a known safe kind (`files::may_open`); anything else is "Show in folder".
- [ ] **Remove from this computer.** An action on a received file that frees its space on this side only: the message stays and shows "Removed from this computer", and it isn't fetched again. Also a deliberate way to take a file out of the data folder, which today makes the app fetch it again. Nothing is cleared automatically, and never on the other side.
- [x] **Automatic builds.** GitHub Actions (free for public repos, macOS included):
- `ci.yml` runs the UI checks, plus rustfmt, clippy and the tests on Windows and macOS, for each push to main and each pull request.
- `release.yml` runs CI on the tagged commit, then builds the Windows installer and the macOS `.dmg` into a draft release when a `v*` tag is pushed (`scripts/release.ps1`). The release text comes from `CHANGELOG.md`.
Expand Down
Loading
Loading