Directories
¶
| Path | Synopsis |
|---|---|
|
cmd
|
|
|
flats
command
Command flats hosts agent-built websites on this machine.
|
Command flats hosts agent-built websites on this machine. |
|
Package runtimeref contains the agent documentation shipped with the host: guide topics and refusal pages under agent/, and the two versioned references assembled from them.
|
Package runtimeref contains the agent documentation shipped with the host: guide topics and refusal pages under agent/, and the two versioned references assembled from them. |
|
internal
|
|
|
api
Package api is the HTTP API shared by agents, the CLI and the web console.
|
Package api is the HTTP API shared by agents, the CLI and the web console. |
|
app
Package app wires every Flats module into the `flats serve` process.
|
Package app wires every Flats module into the `flats serve` process. |
|
apps/docs
Package docs embeds the built-in collaborative document editor that runs "docs" content-type flats on the Flats JavaScript runtime.
|
Package docs embeds the built-in collaborative document editor that runs "docs" content-type flats on the Flats JavaScript runtime. |
|
buildinfo
Package buildinfo reports which build of Flats is running: the release version for a release, otherwise the commit it was built from.
|
Package buildinfo reports which build of Flats is running: the release version for a release, otherwise the commit it was built from. |
|
bundle
Package bundle validates uploaded builds and writes them as immutable version directories.
|
Package bundle validates uploaded builds and writes them as immutable version directories. |
|
cli
Package cli implements the `flats` command line.
|
Package cli implements the `flats` command line. |
|
clientstate
Package clientstate describes compatibility between a Flats host and its clients.
|
Package clientstate describes compatibility between a Flats host and its clients. |
|
config
Package config reads, validates and writes the host configuration file (config.json).
|
Package config reads, validates and writes the host configuration file (config.json). |
|
console
Package console serves the operator's web console: a single-page app with no build step whose assets are embedded in the binary.
|
Package console serves the operator's web console: a single-page app with no build step whose assets are embedded in the binary. |
|
contenttype
Package contenttype names the content adapters supported by the host.
|
Package contenttype names the content adapters supported by the host. |
|
core
Package core implements Flats: flats, versions, deployments, exposure, previews and approvals.
|
Package core implements Flats: flats, versions, deployments, exposure, previews and approvals. |
|
egress
Package egress provides a deny-by-default, bounded HTTP client for guest code.
|
Package egress provides a deny-by-default, bounded HTTP client for guest code. |
|
expose/cfquick
Package cfquick serves public flats through Cloudflare quick tunnels: an anonymous tunnel on a random *.trycloudflare.com hostname, with no Cloudflare account and no domain.
|
Package cfquick serves public flats through Cloudflare quick tunnels: an anonymous tunnel on a random *.trycloudflare.com hostname, with no Cloudflare account and no domain. |
|
expose/local
Package local serves flats on one loopback port, routing by Host header (<host>.localhost:<port>).
|
Package local serves flats on one loopback port, routing by Host header (<host>.localhost:<port>). |
|
expose/portal
Package portal exposes public flats through Portal relays (github.com/gosuda/portal-tunnel).
|
Package portal exposes public flats through Portal relays (github.com/gosuda/portal-tunnel). |
|
expose/provider
Package provider serves flats on explicitly permitted networks.
|
Package provider serves flats on explicitly permitted networks. |
|
expose/tsnet
Package tsnet serves flats on the operator's tailnet.
|
Package tsnet serves flats on the operator's tailnet. |
|
expose/zrok
Package zrok exposes public flats through zrok public shares (github.com/openziti/zrok).
|
Package zrok exposes public flats through zrok public shares (github.com/openziti/zrok). |
|
forkwatch
Package forkwatch unwedges child processes stuck between fork and exec; it is only needed on macOS.
|
Package forkwatch unwedges child processes stuck between fork and exec; it is only needed on macOS. |
|
launchd
Package launchd installs `flats serve` as a per-user launchd agent on macOS.
|
Package launchd installs `flats serve` as a per-user launchd agent on macOS. |
|
lifecyclecheck/adapter
command
Command lifecyclecheck is a test-only HTTP host for deterministic provider faults.
|
Command lifecyclecheck is a test-only HTTP host for deterministic provider faults. |
|
lifecyclecheck/legacyadapter
command
Command legacyadapter seeds historical exposure and approval references.
|
Command legacyadapter seeds historical exposure and approval references. |
|
mcpx
Package mcpx exposes Flats to coding agents as an MCP server over Streamable HTTP (stateless, JSON responses).
|
Package mcpx exposes Flats to coding agents as an MCP server over Streamable HTTP (stateless, JSON responses). |
|
runtime
Package runtime runs server flats.
|
Package runtime runs server flats. |
|
selfupdate
Package selfupdate performs explicit local client resource updates.
|
Package selfupdate performs explicit local client resource updates. |
|
site
Package site serves the files of one flat version.
|
Package site serves the files of one flat version. |
|
slug
Package slug validates flat names and builds preview host names.
|
Package slug validates flat names and builds preview host names. |
|
store
Package store keeps Flats metadata in a single SQLite database.
|
Package store keeps Flats metadata in a single SQLite database. |
|
systemd
Package systemd installs `flats serve` as a systemd user service on Linux (the counterpart of package launchd on macOS).
|
Package systemd installs `flats serve` as a systemd user service on Linux (the counterpart of package launchd on macOS). |
|
Package plugins embeds the bootstrap shipped by the Flats plugin.
|
Package plugins embeds the bootstrap shipped by the Flats plugin. |
|
scripts
|
|
|
tsnet-logout
command
Command tsnet-logout logs a stopped tsnet node out of its tailnet, given the node's state directory (for example <data>/tsnet/<host>).
|
Command tsnet-logout logs a stopped tsnet node out of its tailnet, given the node's state directory (for example <data>/tsnet/<host>). |
Click to show internal directories.
Click to hide internal directories.