Skip to content

drift v0.1.7

Choose a tag to compare

@aeroxy aeroxy released this 19 Apr 07:30
· 69 commits to master since this release

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.txt

Bare 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-ui

Strips 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.log

Spawns 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