JSPM

  • Created
  • Published
  • Downloads 42
  • Score
    100M100P100Q99004F
  • License MIT

SDK and CLI to start opencode and optionally expose it over HTTPS via Tailscale.

Package Exports

  • @whatcode-ai/whatcode

Readme

@whatcode-ai/whatcode

CLI to start opencode and optionally expose it over HTTPS via Tailscale.

Full documentation at whatcode.app.

Usage

# start opencode
npx @whatcode-ai/whatcode

# start opencode + expose via Tailscale
npx @whatcode-ai/whatcode --tailscale

Options

Flag Alias Default Description
--tailscale -t false Expose opencode over HTTPS on your Tailscale tailnet
--hostname -H 0.0.0.0 Hostname to bind the opencode server to
--port -p 8192 Port for the Whatcode server
--opencode-port 4096 Port for the opencode server
--timeout Timeout (ms) for the opencode server to start
--help Show help

Programmatic usage

Use @whatcode-ai/sdk instead.

License

MIT