Directories
¶
| Path | Synopsis |
|---|---|
|
cmd
|
|
|
gotifacts
command
Command gotifacts is a self-hosted service that hosts static sites by host-based routing and serves a dynamic management portal.
|
Command gotifacts is a self-hosted service that hosts static sites by host-based routing and serves a dynamic management portal. |
|
internal
|
|
|
api
Package api wires the management plane (/api/*, forward-auth) and the ingest plane (/ingest/*, API-key) onto the apex host, plus the embedded SPA.
|
Package api wires the management plane (/api/*, forward-auth) and the ingest plane (/ingest/*, API-key) onto the apex host, plus the embedded SPA. |
|
archive
Package archive safely extracts site bundles, defending against zip-slip, tar-bombs, symlink escapes, and oversized payloads.
|
Package archive safely extracts site bundles, defending against zip-slip, tar-bombs, symlink escapes, and oversized payloads. |
|
auth
Package auth implements the two-plane authorization model.
|
Package auth implements the two-plane authorization model. |
|
config
Package config loads and validates the gotifacts runtime configuration.
|
Package config loads and validates the gotifacts runtime configuration. |
|
httplog
Package httplog provides request-logging middleware.
|
Package httplog provides request-logging middleware. |
|
ingest
Package ingest implements site publishing: staging an upload to a temp dir on the same volume, validating it, atomically swapping it into place (with optional versioning), and recording the registry row in a transaction.
|
Package ingest implements site publishing: staging an upload to a temp dir on the same volume, validating it, atomically swapping it into place (with optional versioning), and recording the registry row in a transaction. |
|
keys
Package keys handles API-key token generation, hashing, and scope semantics.
|
Package keys handles API-key token generation, hashing, and scope semantics. |
|
logging
Package logging builds the process-wide structured logger from configuration.
|
Package logging builds the process-wide structured logger from configuration. |
|
mcpserver
Package mcpserver embeds an OAuth 2.1-protected Model Context Protocol server inside gotifacts, exposing a single publish_site tool over Streamable HTTP.
|
Package mcpserver embeds an OAuth 2.1-protected Model Context Protocol server inside gotifacts, exposing a single publish_site tool over Streamable HTTP. |
|
portal
Package portal serves static site content (host-routed) and the embedded management SPA.
|
Package portal serves static site content (host-routed) and the embedded management SPA. |
|
router
Package router implements the URL ⇄ filesystem-path convention that is the core contract of gotifacts, plus host-based request classification.
|
Package router implements the URL ⇄ filesystem-path convention that is the core contract of gotifacts, plus host-based request classification. |
|
store
Package store is the SQLite-backed registry: the sole source of truth for sites and API keys.
|
Package store is the SQLite-backed registry: the sole source of truth for sites and API keys. |
|
Package web embeds the built management SPA (web/dist) for serving by the portal.
|
Package web embeds the built management SPA (web/dist) for serving by the portal. |
Click to show internal directories.
Click to hide internal directories.