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:
@@ -0,0 +1,27 @@
|
||||
#!/usr/bin/env python3
|
||||
"""List the enabled Evolution Data Server address books as JSON.
|
||||
|
||||
Only reads the source registry (no book connections), so it's fast. The app
|
||||
uses this to know which ~/.cache/evolution/addressbook/<uid>/cache.db files
|
||||
are live, and what they're called.
|
||||
"""
|
||||
import json
|
||||
import sys
|
||||
|
||||
import gi
|
||||
|
||||
gi.require_version("EDataServer", "1.2")
|
||||
from gi.repository import EDataServer as EDS # noqa: E402
|
||||
|
||||
reg = EDS.SourceRegistry.new_sync(None)
|
||||
out = []
|
||||
for s in reg.list_enabled(EDS.SOURCE_EXTENSION_ADDRESS_BOOK):
|
||||
ext = s.get_extension(EDS.SOURCE_EXTENSION_ADDRESS_BOOK)
|
||||
parent = reg.ref_source(s.get_parent()) if s.get_parent() else None
|
||||
out.append({
|
||||
"uid": s.get_uid(),
|
||||
"name": s.get_display_name(),
|
||||
"backend": ext.get_backend_name(),
|
||||
"account": parent.get_display_name() if parent else "",
|
||||
})
|
||||
json.dump(out, sys.stdout)
|
||||
Binary file not shown.
|
After Width: | Height: | Size: 54 KiB |
@@ -0,0 +1,13 @@
|
||||
<svg xmlns="http://www.w3.org/2000/svg" width="512" height="512" viewBox="0 0 512 512">
|
||||
<defs>
|
||||
<linearGradient id="g" x1="0" y1="0" x2="0" y2="1">
|
||||
<stop offset="0" stop-color="#3a78f2"/>
|
||||
<stop offset="1" stop-color="#2257d6"/>
|
||||
</linearGradient>
|
||||
</defs>
|
||||
<rect x="32" y="32" width="448" height="448" rx="104" fill="url(#g)"/>
|
||||
<path d="M256 120c-86 0-150 55-150 124 0 38 19 71 50 94l-12 58 60-32c16 4 34 6 52 6 86 0 150-55 150-126S342 120 256 120z" fill="#fff"/>
|
||||
<circle cx="196" cy="246" r="18" fill="#2c6bed"/>
|
||||
<circle cx="256" cy="246" r="18" fill="#2c6bed"/>
|
||||
<circle cx="316" cy="246" r="18" fill="#2c6bed"/>
|
||||
</svg>
|
||||
|
After Width: | Height: | Size: 651 B |
Reference in New Issue
Block a user