QuickDrop is a personal, trusted-device message and file drop MVP. It is shaped like a small chat app: one device runs the Hub, other devices run Agents, and CLI/GUI clients send text, files, and group messages through the Hub.
This repository is intentionally lightweight: one Go module, SQLite storage, REST APIs, SSE events, multipart file upload, and an embedded static Web GUI.
quickdrop hubstarts the Hub HTTP server.quickdrop agentconnects to the Hub SSE stream, stores local history, downloads attachments, verifies SHA-256, and acks deliveries.quickdrop textsends text todevice:<id>orgroup:<id>.quickdrop senduploads one file todevice:<id>orgroup:<id>.quickdrop devicesandquickdrop groupslist Hub state.quickdrop guistarts a local browser UI that proxies Hub API calls with the configured device token.quickdrop appstarts the Agent and GUI together in one process, with an optional Hub in the same process.- Running
quickdropwith no arguments starts app mode. In Windows release packages, double-clickQuickDropApp.exefor the same flow without opening PowerShell first. - App mode exposes a close button and page heartbeat so closing the GUI shuts down Agent/GUI/tunnel services instead of leaving QuickDrop in the background.
quickdrop updatechecks GitHub Releases, downloads the matching package, verifieschecksums.txt, and applies the update.- The Web GUI includes a Settings panel for editing the current device config without manually editing JSON.
- The Web GUI includes a peer device management panel. Any authenticated device can add, edit, or remove trusted devices and group membership through the Hub.
- Devices can set a profile color. The color appears in the device list and beside sender names in conversations.
- The Web GUI includes a Monitor panel. Any authenticated device can view Hub reachability, online devices, SSE connection counts, pending deliveries, and last-seen times.
quickdrop init-devwrites local dev configs and data directories without overwriting existing config files unless--forceis used.- SSH tunnel configuration is present and can start system
ssh -N -L ...when enabled.
For day-to-day use, prefer app mode:
.\quickdrop.exe app -c configs\dev\laptop.jsonIf the same machine should also run the Hub:
.\quickdrop.exe app -c configs\dev\server.json -hub-config configs\dev\hub.jsonIn a release package, double-click QuickDropApp.exe to start app mode with the default config. On first run it creates dev configs when needed, opens the browser GUI, and exits after the GUI page is closed. Keep quickdrop.exe for CLI/debug commands.
To make a configured portable install one-click, place a local quickdrop.json next to the executable. It is ignored by Git and used before configs/dev/laptop.json.
Terminal 1:
go run ./cmd/quickdrop init-dev
go run ./cmd/quickdrop hub -c configs/dev/hub.jsonTerminal 2:
go run ./cmd/quickdrop agent -c configs/dev/laptop.jsonTerminal 3:
go run ./cmd/quickdrop agent -c configs/dev/workstation.jsonTerminal 4:
go run ./cmd/quickdrop devices -c configs/dev/laptop.json
go run ./cmd/quickdrop groups -c configs/dev/laptop.json
go run ./cmd/quickdrop text -c configs/dev/laptop.json device:workstation "hello from laptop"
go run ./cmd/quickdrop send -c configs/dev/laptop.json device:workstation README.md
go run ./cmd/quickdrop text -c configs/dev/laptop.json group:all "hello all"Terminal 5:
go run ./cmd/quickdrop gui -c configs/dev/laptop.jsonThen open the printed URL, normally:
http://127.0.0.1:47900
Use the Settings button in the GUI to edit the current device identity, language, Hub URL, local directories, GUI listen address, and SSH tunnel fields. Use Devices to add, edit, or remove trusted devices and group membership from any connected device. Use Monitor to watch Hub ping, online devices, pending deliveries, SSE connections, and last-seen times from any connected device. Save writes back to the config file used to start the GUI. Restart the relevant QuickDrop processes after changing connection, identity, listen, or tunnel settings.
The workstation agent should print messages like:
[QuickDrop] New text from laptop: hello from laptop
[QuickDrop] New file from laptop: README.md -> data/workstation/downloads/<message_id>/README.md
device:workstationsends to one device.group:allsends to a group.- A bare target such as
workstationdefaults to a device. - A bare target such as
allis treated as a group when the Hub has a group with that id.
Hub:
data/hub/
quickdrop.db
blobs/
tmp/
logs/
Agent:
data/<device_id>/
agent.db
downloads/
logs/
Clients send:
X-Device-ID: <device_id>
Authorization: Bearer <token>
The Hub stores SHA-256(token) through the internal/auth package. This is an MVP placeholder that is deliberately centralized for later replacement.
Local dev configs keep SSH tunneling disabled. To enable it, set either:
"hub_client": {
"use_ssh_tunnel": true
}or:
"ssh_tunnel": {
"enabled": true
}When enabled, QuickDrop calls the system SSH client:
ssh -N -L <local_port>:<remote_host>:<remote_port> <ssh_host>
QuickDrop does not implement SSH itself and does not rely on the current Codex SSH session.
- No installer.
- No Windows Service or systemd deployment.
- No system notifications.
- Updates are user-triggered through
quickdrop updateor the app UI; no background auto-update daemon. - No end-to-end encryption.
- No directory transfer.
- No mobile client.
- SSH tunnel support is basic and disabled by default in local dev.
- Hub defaults to
127.0.0.1; real cross-device use should go through SSH tunnel or a later explicit LAN listen configuration.
Run:
gofmt -w ./cmd ./internal ./webui
go test ./...The project rule is to run formatting and tests after each implementation stage.
More detailed local and SSH-based integration coverage is documented in tests/INTEGRATION.md.
Build portable release packages:
powershell -ExecutionPolicy Bypass -File scripts\package.ps1 -Version v0.1.0Packages are written to dist/ for Windows, Linux, and macOS, with checksums.txt.
GitHub release automation is included in .github/workflows/release.yml. Push a tag such as v0.1.0 to run tests, build all packages, and publish release assets.
See PACKAGING.md for the full distribution flow.
From a packaged install:
.\quickdrop.exe updateOn Windows, the updater downloads the latest GitHub Release asset for your CPU architecture, verifies checksums.txt, then starts a small .cmd apply script. Close QuickDrop if it is still running; the updater window copies the new files after the old process exits.