drift v0.1.7
drift v0.1.7
wss:// — Connect over TLS
drift now connects to remote servers over TLS. Pass a wss:// target to any command that takes --target:
drift --target wss://example.com/drift
drift ls --target wss://example.com/drift
drift pull --target wss://example.com/drift somefile.txtBare host:port still works as before (defaults to ws://). Path prefixes are supported for reverse-proxy subpath mounts — wss://example.com/drift automatically resolves to wss://example.com/drift/ws.
Add --allow-insecure-tls to skip certificate verification for self-signed or lab certs.
--disable-ui — Safe public exposure
drift --port 8000 --disable-uiStrips the REST API (/api/*) and embedded frontend from the router — only /ws is mounted. Use this when running drift behind a public reverse proxy. The encrypted WebSocket handshake is the auth boundary; no unauthenticated filesystem-listing endpoints are reachable.
Example caddy config:
handle_path /drift/* {
reverse_proxy localhost:8000
}--daemon — Background server
drift --port 8000 --daemon
# drift daemon started (PID: 12345)
# Logs: /path/to/cwd/drift.logSpawns the server in the background, detaches from the terminal's process group (so closing the shell doesn't kill it), and appends logs to ./drift.log in the current directory. Kill with kill <PID>.
Simplified CLI
The serve subcommand is removed. Start the server with just drift:
drift --port 8000
drift --port 8000 --target wss://remote.example.com/drift --disable-ui --daemon