Directories
¶
| Path | Synopsis |
|---|---|
|
Package api holds the imsgd OpenAPI specification, the source of truth for the HTTP API.
|
Package api holds the imsgd OpenAPI specification, the source of truth for the HTTP API. |
|
cmd
|
|
|
imsgd
command
Command imsgd is a headless iMessage server for the local network.
|
Command imsgd is a headless iMessage server for the local network. |
|
examples
|
|
|
watch
command
Command watch is an example imsgd client: it streams events over WebSocket, reconnecting and resuming from the last event it saw.
|
Command watch is an example imsgd client: it streams events over WebSocket, reconnecting and resuming from the last event it saw. |
|
internal
|
|
|
api
Package api implements the imsgd HTTP API described by api/openapi.yaml.
|
Package api implements the imsgd HTTP API described by api/openapi.yaml. |
|
config
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. |
|
contacts
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). |
|
events
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. |
|
imessage/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). |
|
imessage/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). |
|
imessage/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. |
|
imessage/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. |
|
logging
Package logging configures the process-wide slog logger.
|
Package logging configures the process-wide slog logger. |
|
macos
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. |
|
media
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. |
|
present
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). |
|
send
Package send delivers outgoing messages through Messages.app.
|
Package send delivers outgoing messages through Messages.app. |
|
send/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. |
|
store
Package store is imsgd's own SQLite database (webhooks, delivery queue).
|
Package store is imsgd's own SQLite database (webhooks, delivery queue). |
|
tracker
Package tracker turns changes in chat.db into events.
|
Package tracker turns changes in chat.db into events. |
|
watcher
Package watcher signals when the Messages database may have changed.
|
Package watcher signals when the Messages database may have changed. |
|
webhook
Package webhook delivers events to registered HTTP endpoints.
|
Package webhook delivers events to registered HTTP endpoints. |
Click to show internal directories.
Click to hide internal directories.