Files
bubble/package.json
T
trav 96c368dfd1 v0.5.0: bubble for Android 0.5.0 — text from the Rabbit's SIM on the desktop, and chat names and read status sync, through jai
A relay on jai (server/bubble_relay.py, stdlib + SQLite, tailscale address
only, bearer token) carries sealed blobs between the desktop and the Rabbit:
AES-256-GCM with a key the desktop makes and hands over USB (Sync to Rabbit),
so jai can neither read nor forge anything. It deletes what's been picked up,
and anything after 14 days.

- Desktop (src/main/relay.ts): "Rabbit SIM" is a number to text from, groups
  included; the SIM's history and new texts arrive; older photos are fetched
  when shown; names and read/unread/archived go both ways. Settings → Rabbit
  relay connects it.
- Rabbit (Relay.java, RelayJob): no timer of its own for the battery; it rides
  along with the background checks, plus one network job after a text, a send
  or a swipe. Each send from the desktop goes out at most once and not after a
  day. Plain http only to jai and localhost (network_security_config).
- scripts/deploy-jai.sh; tests: server unit tests, an end-to-end relay test,
  and DEVICE=1 relay.device.test.ts against the dev app.
2026-11-06 17:35:00 -08:00

92 lines
2.6 KiB
JSON

{
"name": "voipms-desktop",
"productName": "bubble",
"version": "0.5.0",
"description": "Signal-style desktop SMS client for voip.ms",
"author": "trav <trav@teafry.me>",
"private": true,
"main": "out/main/index.js",
"scripts": {
"dev": "electron-vite dev",
"build": "electron-vite build",
"start": "electron-vite preview",
"typecheck": "tsc --noEmit -p tsconfig.node.json && tsc --noEmit -p tsconfig.web.json",
"test": "ELECTRON_RUN_AS_NODE=1 electron node_modules/vitest/vitest.mjs run",
"postinstall": "electron-builder install-app-deps",
"dist": "electron-vite build && electron-builder --linux AppImage",
"install-desktop": "npm run android && npm run dist && ./scripts/install-desktop.sh",
"test:live": "LIVE=1 npm test",
"gen:emoji": "node scripts/gen-emoji.mjs",
"deps:install": "sfw npm install --prefer-online",
"deps:add": "sfw npm install --prefer-online",
"deps:update": "sfw npm update --prefer-online",
"android": "python3 android/build.py --ship"
},
"dependencies": {
"better-sqlite3": "^13.0.3"
},
"devDependencies": {
"@types/better-sqlite3": "^9.6.0",
"@types/node": "^26.6.1",
"@types/react": "^19.3.0",
"@types/react-dom": "^19.3.0",
"@vitejs/plugin-react": "^5.2.0",
"electron": "^44.4.2",
"electron-builder": "^26.15.3",
"electron-vite": "^5.0.0",
"emoji-datasource": "^16.0.0",
"react": "^19.3.0",
"react-dom": "^19.3.0",
"react-virtuoso": "^4.18.13",
"typescript": "^7.0.2",
"vite": "^7.3.6",
"vitest": "^3.2.7"
},
"build": {
"appId": "me.teafry.voipms-desktop",
"productName": "bubble",
"directories": {
"output": "dist",
"buildResources": "resources"
},
"files": [
"out/**",
"resources/icon.png",
"resources/icon-inverted.png",
"package.json"
],
"extraResources": [
{
"from": "resources/eds-sources.py",
"to": "eds-sources.py"
},
{
"from": "resources/eds-add-contact.py",
"to": "eds-add-contact.py"
},
{
"from": "resources/android",
"to": "android"
}
],
"linux": {
"target": [
"AppImage"
],
"icon": "resources/icon.png",
"category": "Network",
"executableName": "voipms-desktop",
"desktop": {
"entry": {
"Name": "bubble",
"Comment": "Text messages via voip.ms",
"StartupWMClass": "bubble"
}
},
"syncDesktopName": true,
"artifactName": "voipms-desktop-${version}.${ext}"
}
},
"desktopName": "voipms-desktop.desktop"
}