Expose a local service through the ZeroNews client by creating a tunnel with `zeronews add`. Use when asked to expose a local app, add a tunnel, publish a local service, or create a ZeroNews tunnel.
Create a tunnel for a local service through the ZeroNews client.
zeronews addhttpstcptlswebhookfile_sharezeronews command availableconfig.yml, or the user is willing to run the configure flow firstSilently inspect:
Ask all questions upfront:
https, tcp, or tlswebhookfile_shareIf the client is not configured, stop and use zeronews-configure-client first.
Prefer the CLI:
zeronews --workdir {WORKDIR} add {TYPE} --port={PORT}
Add flags only when the user actually asked for them:
--local_ip--domain--bw--mode--feature--feature-config--extra-configIf the user wants webhook or file_share, build --feature-config using the supported examples in references/FEATURE-CONFIGS.md.
Do not invent extra feature names.
After the tunnel request is accepted, do not reload, reconnect, or restart the user's client just to make the mapping appear.
The correct behavior is:
If the user wants multiple tunnels at once, prefer:
--from-file--from-stdinThe CLI already supports reading YAML or JSON tunnel entries.
Return:
webhook and file_share