voip.ms Messages: Signal-style desktop SMS client

Electron + React app that imports the full voip.ms SMS history into a
local SQLite/FTS5 database, polls for new messages, sends SMS, resolves
names/photos from GNOME EDS address books, and supports global and
per-chat search with jump-to-message.

Data lives in ~/Documents/voipms-desktop-data (covered by Deja Dup) with
daily consistent snapshots.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
This commit is contained in:
2026-09-17 21:25:12 -07:00
co-authored by Claude Opus 5
commit 241a44f0ee
47 changed files with 10956 additions and 0 deletions
+71
View File
@@ -0,0 +1,71 @@
// Types shared between the main process, preload bridge and renderer.
export type Direction = 'in' | 'out'
export type MessageStatus = 'delivered' | 'pending' | 'failed'
export interface Message {
id: number
did: string
contact: string
direction: Direction
body: string
ts: number // epoch ms, UTC
kind: 'sms' | 'mms'
status: MessageStatus
}
export interface Conversation {
did: string
contact: string
lastBody: string
lastTs: number
lastDirection: Direction
unread: number
}
export interface ContactInfo {
name: string
number: string // normalized
label?: string // e.g. "cell", "work"
photo?: string // data: URL
book: string
}
export interface SearchHit {
id: number
did: string
contact: string
ts: number
direction: Direction
snippet: string // contains  /  markers around matched text
}
export interface Did {
did: string
description: string
smsEnabled: boolean
}
export interface SyncStatus {
phase: 'idle' | 'backfill' | 'polling' | 'error' | 'unconfigured'
backfillCursor?: string // YYYY-MM-DD the backfill has reached
backfillDone: boolean
lastPoll?: number
error?: string
total: number
}
export interface Settings {
pollSeconds: number
dids: string[] // DIDs to sync; empty = all SMS-enabled
defaultDid?: string
backfillFloor: string // YYYY-MM-DD, stop backfill here
}
export interface Credentials {
username: string
password: string
}
export const SNIPPET_START = ''
export const SNIPPET_END = ''