internal/

directory
v0.1.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 10, 2026 License: Apache-2.0

Directories

Path Synopsis
Package api implements the imsgd HTTP API described by api/openapi.yaml.
Package api implements the imsgd HTTP API described by api/openapi.yaml.
Package config loads imsgd configuration from a YAML file with environment variable overrides.
Package config loads imsgd configuration from a YAML file with environment variable overrides.
Package contacts resolves phone numbers and emails to contact names by reading the macOS AddressBook databases directly (no Contacts framework, no CGO).
Package contacts resolves phone numbers and emails to contact names by reading the macOS AddressBook databases directly (no Contacts framework, no CGO).
Package events is the in-process event bus.
Package events is the in-process event bus.
imessage
appledate
Package appledate converts between Apple's Core Data epoch timestamps (as stored in chat.db) and time.Time.
Package appledate converts between Apple's Core Data epoch timestamps (as stored in chat.db) and time.Time.
db
Package db provides read-only access to the Messages database (chat.db).
Package db provides read-only access to the Messages database (chat.db).
fixture
Package fixture builds synthetic chat.db files for tests, using the real schema captured from macOS 26.5 (no private data).
Package fixture builds synthetic chat.db files for tests, using the real schema captured from macOS 26.5 (no private data).
keyedarchive
Package keyedarchive decodes binary property lists, resolving NSKeyedArchiver object graphs into plain Go values.
Package keyedarchive decodes binary property lists, resolving NSKeyedArchiver object graphs into plain Go values.
typedstream
Package typedstream decodes NeXTSTEP/Apple "typedstream" archives, the legacy NSArchiver format Messages uses for message.attributedBody.
Package typedstream decodes NeXTSTEP/Apple "typedstream" archives, the legacy NSArchiver format Messages uses for message.attributedBody.
Package logging configures the process-wide slog logger.
Package logging configures the process-wide slog logger.
Package macos wraps macOS-specific facilities: OS version detection, AppleScript execution and permission probes.
Package macos wraps macOS-specific facilities: OS version detection, AppleScript execution and permission probes.
Package media inspects and converts attachment files: image dimensions, HEIC→JPEG and audio→M4A conversion (via sips/afconvert), and Live Photo companions.
Package media inspects and converts attachment files: image dimensions, HEIC→JPEG and audio→M4A conversion (via sips/afconvert), and Live Photo companions.
Package present converts database models into the JSON shapes of the public API (api/openapi.yaml).
Package present converts database models into the JSON shapes of the public API (api/openapi.yaml).
Package send delivers outgoing messages through Messages.app.
Package send delivers outgoing messages through Messages.app.
sendtest
Package sendtest provides a fake send.Runner that behaves like Messages by inserting rows into a fixture chat.db.
Package sendtest provides a fake send.Runner that behaves like Messages by inserting rows into a fixture chat.db.
Package store is imsgd's own SQLite database (webhooks, delivery queue).
Package store is imsgd's own SQLite database (webhooks, delivery queue).
Package tracker turns changes in chat.db into events.
Package tracker turns changes in chat.db into events.
Package watcher signals when the Messages database may have changed.
Package watcher signals when the Messages database may have changed.
Package webhook delivers events to registered HTTP endpoints.
Package webhook delivers events to registered HTTP endpoints.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL