v0.2.0: bubble for Android 0.2.0 — chat search, swipe for unread, faster chat opening
Desktop: - Search lists chats whose own name matches first, so a named group isn't pushed out of the top 8 by chats that merely include a member. Android (Rabbit R1) app, 0.2.0: - Pull the chat list past its top for a search box (name, person, number, then group members; archived chats too; Back clears it). - Swipe right to left marks a chat unread / read over a magenta band; left to right still archives (SwipeActions replaces SwipeArchive). - Google Voice chats don't offer voice notes in the paperclip bubble. - Chats open with their newest 60 messages, then the full history; marking read (and the Google Voice network call) waits until they're on screen. Cached pictures show at once, and one slow download no longer blocks the other images. Fixed a contacts reload race. - Sandbox data gains filler chats, a named group and a 4,000-message chat. Also: the Android app, Google Voice support, media, export, emoji and the other work since the first commit, and a CLAUDE.md carrying the privacy rule.
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
# voip.ms Messages
|
||||
# bubble
|
||||
|
||||
A Signal Desktop–style SMS client for [voip.ms](https://voip.ms). It keeps your full message history on your own machine, lets you search it, and shows your GNOME contacts' names and photos.
|
||||
|
||||
@@ -10,7 +10,10 @@ A Signal Desktop–style SMS client for [voip.ms](https://voip.ms). It keeps you
|
||||
- **New chat** (Ctrl+N), with autocomplete from your contacts by name or number.
|
||||
- Contacts are read-only, straight from GNOME's Evolution Data Server caches: your Nextcloud CardDAV books and anything else GNOME Contacts shows. They reload automatically when the books sync.
|
||||
- Messages longer than 160 characters are split automatically. If a send fails, it's marked with Retry and Delete options.
|
||||
- **MMS**: photos, video and audio appear inline in the chat. Click a photo to view it full size or save it. You can attach up to 3 files with the paperclip, by drag-and-drop, or by pasting. Photos too big for voip.ms (the budget is 900 KB each) are shrunk automatically before sending.
|
||||
- **Emoji shortcodes**: type `:` and at least two letters, for example `:jo`, to get matching emoji. Pick one with ↑/↓ and Tab/Enter or by clicking it; Esc closes the list. A finished `:joy:` converts on its own. The shortcodes are Signal's and Slack's, from [emoji-datasource](https://github.com/iamcal/emoji-data); `npm run gen:emoji` regenerates them.
|
||||
- Alt+↑/↓ moves between conversations.
|
||||
- Ctrl +/− zooms and Ctrl 0 resets. Choose Light, Dark, or System under Settings → Appearance.
|
||||
|
||||
## Where your data lives
|
||||
|
||||
@@ -19,6 +22,7 @@ A Signal Desktop–style SMS client for [voip.ms](https://voip.ms). It keeps you
|
||||
| Message database | `~/Documents/voipms-desktop-data/messages.db` | ✅ Déjà Dup covers `~/Documents` |
|
||||
| Daily snapshots, last 7 kept | `~/Documents/voipms-desktop-data/snapshots/` | ✅ |
|
||||
| Settings | `~/Documents/voipms-desktop-data/settings.json` | ✅ |
|
||||
| MMS photos and attachments (cached on arrival) | `~/Documents/voipms-desktop-data/media/` | ✅ |
|
||||
| API password | GNOME Keyring (via Electron `safeStorage`) → `~/.config/voipms-desktop/credentials.bin` | ❌ on purpose; you re-enter it after a restore |
|
||||
| Contact photo cache | `~/.config/voipms-desktop/photo-cache/` | ❌ not needed |
|
||||
|
||||
@@ -34,10 +38,33 @@ In the voip.ms portal, go to **Main Menu → SOAP & REST/JSON API** and:
|
||||
|
||||
Then launch the app and enter your account email and API password.
|
||||
|
||||
### Apple-style emoji (optional)
|
||||
|
||||
To look like Signal, the app uses an `Apple Color Emoji` font when one is installed, and falls back to Noto Color Emoji otherwise. To install it for your user only (about 116 MB):
|
||||
|
||||
```sh
|
||||
curl -L -o ~/.local/share/fonts/AppleColorEmoji.ttf \
|
||||
https://github.com/samuelngs/apple-emoji-linux/releases/latest/download/AppleColorEmoji-Linux.ttf
|
||||
fc-cache -f
|
||||
```
|
||||
|
||||
Alternatively, install the `fonts-apple-color-emoji.rpm` from the same release to make it available system-wide. Restart the app afterward.
|
||||
|
||||
## Development
|
||||
|
||||
Dependencies are installed through [Socket Firewall](https://docs.socket.dev/docs/socket-firewall-free)
|
||||
(`sfw`), which checks every package, transitive ones included, against socket.dev
|
||||
before npm downloads it. Install it once with `npm i -g sfw`, then use the
|
||||
`deps:*` scripts instead of bare `npm install` (a Claude Code hook in
|
||||
`.claude/` enforces this for Claude):
|
||||
|
||||
```bash
|
||||
npm run deps:install # after cloning or pulling changes to package-lock.json
|
||||
npm run deps:add -- pkg # add a package
|
||||
npm run deps:update # update within package.json's ranges
|
||||
```
|
||||
|
||||
```bash
|
||||
npm install
|
||||
npm run dev # run with hot reload
|
||||
npm test # unit tests (run under Electron's Node for better-sqlite3)
|
||||
npm run test:live # also reads your real EDS address books (read-only)
|
||||
@@ -45,10 +72,15 @@ npm run typecheck
|
||||
npm run install-desktop # build the AppImage and add a GNOME launcher
|
||||
```
|
||||
|
||||
To work on the UI against fake data, without touching your real history, run:
|
||||
To try the app or work on the UI without going near your real account, run it
|
||||
in a sandbox. Everything it uses (Electron profile, so no saved voip.ms password
|
||||
or Google sign-in, plus settings and the message database) lives under the given
|
||||
folder; it skips your address book and fills itself with made-up conversations,
|
||||
1:1 and group, on a demo voip.ms number and a demo Google Voice number:
|
||||
|
||||
```bash
|
||||
VOIPMS_DEMO=1 VOIPMS_DATA_DIR=/tmp/voipms-demo npm run dev
|
||||
VOIPMS_SANDBOX=/tmp/voipms-sandbox npm run dev # or VOIPMS_DEMO=1, same folder
|
||||
rm -rf /tmp/voipms-sandbox # start over
|
||||
```
|
||||
|
||||
### Layout
|
||||
|
||||
Reference in New Issue
Block a user