Localhost stays local to it.
The example target is reached from office-edge. Likewise, localhost always means the selected connector’s host environment, even when you administer it remotely.
Fibmesh Publish / CLI & automation
A proposed command-line workflow for selecting applications, administering remote connectors and making deployments repeatable.
Read the command specimens CLI design reference · Confirm platform and deployment support during assisted setup.Publish is available with assisted setup. Confirm supported platforms and deployment requirements. Separately marked proposals remain outside the released scope.
Reference / proposal status
The commands on this page are proposed syntax. They are not supported installation instructions or a released CLI contract. No download or executable quickstart is offered here. Publish is available with assisted setup; these CLI, status and configuration specimens remain proposals.
The intended CLI authenticates to your workspace and requests changes from the backend. The background connector executes the WireGuard connection and forwarding. Endpoint private keys stay on the endpoint.
01 / Create specimens
Choose an enrolled connector, then name each app’s address and port from that connector’s point of view. Each publication gets its own managed hostname.
# Proposed syntax — not executable release documentation
fibmesh publish create portal --connector studio-server \
--target http://127.0.0.1:3000 --access public
fibmesh publish create api --connector studio-server \
--target http://127.0.0.1:8080 --access public
fibmesh publish create preview --connector studio-server \
--target http://127.0.0.1:5173 --access publicportal--connector--target--access public02 / Remote administration
The workspace and connector determine where the target is evaluated. Running a command on a laptop does not make the target refer to that laptop.
# Proposed syntax
fibmesh publish create inventory --connector office-edge \
--target http://192.168.1.20:8080 --access publicThe example target is reached from office-edge. Likewise, localhost always means the selected connector’s host environment, even when you administer it remotely.
Preview the chosen workspace, connector, target and public access before activation. An unrecognised connector, unsupported protocol or unauthorised target must stop the operation. It must not fall back to a convenient default.
03 / Status & lifecycle
Inspect a publication before changing it. Status should separate the requested configuration from the state the connector and public gateway can actually observe.
Publication portal
Connector studio-server · online
Target http://127.0.0.1:3000 · responding
Public URL https://studio-portal.publish.fibmesh.example
HTTPS certificate pending
Status waiting — public link not ready# Proposed syntax
fibmesh publish list
fibmesh publish status portal
fibmesh publish pause preview
fibmesh publish resume preview
fibmesh publish delete previewConfiguration belongs to the workspace and background connector. Closing the terminal does not stop it. The host must stay awake, and the connector and application must remain running.
A temporary publication needs an explicit expiry and audience. It should expire at the gateway even if the terminal or host disappears, without relying on a clean shutdown.
04 / Automation design
A declarative file could describe intended publications. This YAML is a configuration sketch with a non-final schema, not an accepted file format.
# Illustrative configuration — schema is not final
connector: studio-server
publications:
- name: portal
target: http://127.0.0.1:3000
access: public
- name: api
target: http://127.0.0.1:8080
access: publicReview the workspace, connector, targets and exposure before applying.
Repeating the same configuration should not create duplicate publications.
Return a clear success or failure result based on observed readiness.
Keep credentials in the authenticated client or a scoped automation secret store. Never embed them in this file.
Removing an entry from a file must not silently delete a live publication. Destructive intent needs to be explicit and reviewable.
Dashboard and CLI changes need the same ownership checks and audit events. Neither interface can bypass backend policy; the local executor applies authorised state.
Next / Put the route to work
Use assisted setup to confirm the connector, target and public access, then test the application from outside the site. CLI and automation syntax remain proposed.