Directories
¶
| Path | Synopsis |
|---|---|
|
cmd
|
|
|
homed
command
Command homed is the Homie hub daemon and its CLI.
|
Command homed is the Homie hub daemon and its CLI. |
|
internal
|
|
|
admin
Package admin serves the hub's own admin API under /api/home: plugins and their tools, admin tool calls with progress, jobs, the activity log, the settings, the tunnel, the system info and the event stream (server-sent events, with a long-poll fallback for a quick tunnel, which carries no SSE).
|
Package admin serves the hub's own admin API under /api/home: plugins and their tools, admin tool calls with progress, jobs, the activity log, the settings, the tunnel, the system info and the event stream (server-sent events, with a long-poll fallback for a quick tunnel, which carries no SSE). |
|
audit
Package audit keeps the hub's activity log: every tool call, from the assistants (the MCP endpoint), the admin and the CLI, with redacted arguments, in the activity table of homie.db (store.Activity).
|
Package audit keeps the hub's activity log: every tool call, from the assistants (the MCP endpoint), the admin and the CLI, with redacted arguments, in the activity table of homie.db (store.Activity). |
|
config
Package config reads and writes the hub's data dir: homed.yaml, the instance id, the instance lock and the paths of the other files homed keeps there.
|
Package config reads and writes the hub's data dir: homed.yaml, the instance id, the instance lock and the paths of the other files homed keeps there. |
|
firstrun
Package firstrun serves the first-run page (docs/ADMIN-API.md §7): the local admin before the tunnel.
|
Package firstrun serves the first-run page (docs/ADMIN-API.md §7): the local admin before the tunnel. |
|
gateway
Package gateway serves the hub's MCP endpoint, /mcp: the whole home as one MCP resource, "home", for ChatGPT and Claude.
|
Package gateway serves the hub's MCP endpoint, /mcp: the whole home as one MCP resource, "home", for ChatGPT and Claude. |
|
hub
Package hub holds the types the hub's packages share, so they can be built in parallel.
|
Package hub holds the types the hub's packages share, so they can be built in parallel. |
|
install
Package install installs, updates and removes plugins from GitHub releases, and updates the homed binary itself.
|
Package install installs, updates and removes plugins from GitHub releases, and updates the homed binary itself. |
|
plugins
Package plugins runs the hub's plugins and calls their tools.
|
Package plugins runs the hub's plugins and calls their tools. |
|
store
Package store is the hub's database, <data dir>/homie.db: MCP Gatekeeper's tables (accounts, people, passkeys, sessions, invites, OAuth, the admin-action audit) through package sqlitestore, and the hub's own tables next to them in the same file:
|
Package store is the hub's database, <data dir>/homie.db: MCP Gatekeeper's tables (accounts, people, passkeys, sessions, invites, OAuth, the admin-action audit) through package sqlitestore, and the hub's own tables next to them in the same file: |
|
tunnel
Package tunnel is how homed reaches the internet: a Cloudflare Tunnel run by cloudflared as homed's child process (MCP Gatekeeper's tunnel/cloudflare Supervisor), in one of two modes:
|
Package tunnel is how homed reaches the internet: a Cloudflare Tunnel run by cloudflared as homed's child process (MCP Gatekeeper's tunnel/cloudflare Supervisor), in one of two modes: |
|
tunnel/tunneltest
Package tunneltest gives tests a fake cloudflared: internal/tunnel/testdata/fakecloudflared, built once per test binary and copied, with its own control directory, for each test.
|
Package tunneltest gives tests a fake cloudflared: internal/tunnel/testdata/fakecloudflared, built once per test binary and copied, with its own control directory, for each test. |
|
web
Package web serves the admin SPA (web/, built by `make web` into dist/) from the homed binary, through MCP Gatekeeper's webui: the SPA's client routes answer index.html (a reload of /devices/tv works), hashed assets under /assets/ are cached for a year, the top-level files of the build (theme.js, the icons, the manifest) revalidate by ETag, and every answer carries the strict CSP of csp.txt (no inline script or style, no eval).
|
Package web serves the admin SPA (web/, built by `make web` into dist/) from the homed binary, through MCP Gatekeeper's webui: the SPA's client routes answer index.html (a reload of /devices/tv works), hashed assets under /assets/ are cached for a year, the top-level files of the build (theme.js, the icons, the manifest) revalidate by ETag, and every answer carries the strict CSP of csp.txt (no inline script or style, no eval). |
|
wire
Package wire holds the JSON conventions of the hub's own APIs, /api/home (internal/admin) and the first-run page's /api/firstrun (internal/firstrun): bodies, times, and MCP Gatekeeper's error form
|
Package wire holds the JSON conventions of the hub's own APIs, /api/home (internal/admin) and the first-run page's /api/firstrun (internal/firstrun): bodies, times, and MCP Gatekeeper's error form |
|
Package pluginkit helps write Homie plugins in Go.
|
Package pluginkit helps write Homie plugins in Go. |
|
example
command
Command example is a minimal Homie plugin built on pluginkit.
|
Command example is a minimal Homie plugin built on pluginkit. |
Click to show internal directories.
Click to hide internal directories.






