Directories
¶
| Path | Synopsis |
|---|---|
|
cmd
|
|
|
macontrol
command
Command macontrol is the single binary shipped to macOS.
|
Command macontrol is the single binary shipped to macOS. |
|
internal
|
|
|
capability
Package capability detects what the running macOS supports so the Telegram layer can hide (or politely reject) features that need a newer OS than the host has.
|
Package capability detects what the running macOS supports so the Telegram layer can hide (or politely reject) features that need a newer OS than the host has. |
|
config
Package config loads runtime secrets from the macOS Keychain.
|
Package config loads runtime secrets from the macOS Keychain. |
|
domain/apps
Package apps exposes a control surface for the Mac's running user-facing applications: list them, quit them gracefully, force-kill them, or hide their windows.
|
Package apps exposes a control surface for the Mac's running user-facing applications: list them, quit them gracefully, force-kill them, or hide their windows. |
|
domain/battery
Package battery reads battery percentage, charging state, and long-term health from `pmset -g batt` and `system_profiler SPPowerDataType`.
|
Package battery reads battery percentage, charging state, and long-term health from `pmset -g batt` and `system_profiler SPPowerDataType`. |
|
domain/bluetooth
Package bluetooth wraps the `blueutil` brew formula to expose Bluetooth radio + paired-device control.
|
Package bluetooth wraps the `blueutil` brew formula to expose Bluetooth radio + paired-device control. |
|
domain/display
Package display exposes brightness and screensaver control for the built-in display.
|
Package display exposes brightness and screensaver control for the built-in display. |
|
domain/media
Package media captures still images and recordings of the Mac: screenshots via `screencapture`, screen recordings via the same CLI's record mode, and webcam single-frame photos via the optional `imagesnap` brew formula.
|
Package media captures still images and recordings of the Mac: screenshots via `screencapture`, screen recordings via the same CLI's record mode, and webcam single-frame photos via the optional `imagesnap` brew formula. |
|
domain/music
Package music exposes player-agnostic playback control + now- playing metadata via the third-party `nowplaying-cli` binary.
|
Package music exposes player-agnostic playback control + now- playing metadata via the third-party `nowplaying-cli` binary. |
|
domain/notify
Package notify sends desktop notifications and text-to-speech.
|
Package notify sends desktop notifications and text-to-speech. |
|
domain/power
Package power exposes lock / sleep / restart / shutdown / logout + keep-awake controls.
|
Package power exposes lock / sleep / restart / shutdown / logout + keep-awake controls. |
|
domain/sound
Package sound exposes macOS audio output controls — volume, mute, and text-to-speech.
|
Package sound exposes macOS audio output controls — volume, mute, and text-to-speech. |
|
domain/status
Package status aggregates a single one-screen dashboard snapshot by composing the other read-only domain packages.
|
Package status aggregates a single one-screen dashboard snapshot by composing the other read-only domain packages. |
|
domain/system
Package system exposes read-only macOS inspection: OS version and build, hardware model, chip, memory, CPU load and top processes, thermal pressure, and approximate temperatures.
|
Package system exposes read-only macOS inspection: OS version and build, hardware model, chip, memory, CPU load and top processes, thermal pressure, and approximate temperatures. |
|
domain/tools
Package tools groups small utility capabilities that don't warrant their own domain package: clipboard read/write, timezone query and set, mounted-volume listing and ejection, and the user-Shortcuts CLI runner.
|
Package tools groups small utility capabilities that don't warrant their own domain package: clipboard read/write, timezone query and set, mounted-volume listing and ejection, and the user-Shortcuts CLI runner. |
|
domain/wifi
Package wifi controls the Mac's Wi-Fi radio and reads its current state.
|
Package wifi controls the Mac's Wi-Fi radio and reads its current state. |
|
keychain
Package keychain wraps the macOS `security` CLI to read, write, and delete generic-password Keychain entries owned by macontrol.
|
Package keychain wraps the macOS `security` CLI to read, write, and delete generic-password Keychain entries owned by macontrol. |
|
runner
Package runner is the macOS-subprocess boundary for the entire bot.
|
Package runner is the macOS-subprocess boundary for the entire bot. |
|
telegram/bot
Package bot wires the upstream go-telegram client to macontrol's own routers, middleware, and per-domain services.
|
Package bot wires the upstream go-telegram client to macontrol's own routers, middleware, and per-domain services. |
|
telegram/callbacks
Package callbacks owns the inline-keyboard callback protocol that glues every Telegram tap to the matching domain action.
|
Package callbacks owns the inline-keyboard callback protocol that glues every Telegram tap to the matching domain action. |
|
telegram/flows
Package flows implements multi-step Telegram conversations.
|
Package flows implements multi-step Telegram conversations. |
|
telegram/handlers
Package handlers implements the bot's command and callback routers.
|
Package handlers implements the bot's command and callback routers. |
|
telegram/keyboards
Package keyboards builds Telegram reply and inline keyboards.
|
Package keyboards builds Telegram reply and inline keyboards. |
|
telegram/musicrefresh
Package musicrefresh owns the per-chat live-refresh goroutines that keep the 🎵 Music dashboard's photo caption in sync with the player's actual position every 5 seconds.
|
Package musicrefresh owns the per-chat live-refresh goroutines that keep the 🎵 Music dashboard's photo caption in sync with the player's actual position every 5 seconds. |
|
telegram/telegramtest
Package telegramtest provides an httptest-based fake Telegram Bot API server that records every outgoing request.
|
Package telegramtest provides an httptest-based fake Telegram Bot API server that records every outgoing request. |
|
version
Package version exposes the binary's build-time identity: semver tag (release-please-managed), git short SHA, and build date.
|
Package version exposes the binary's build-time identity: semver tag (release-please-managed), git short SHA, and build date. |
Click to show internal directories.
Click to hide internal directories.