opendray
v2.12.1
Published
Self-hosted gateway that runs Claude Code / Codex / Antigravity / shell sessions on your own infrastructure. CLI installer wrapper around the official Go release binary.
Maintainers
Readme
opendray
Self-hosted gateway that runs Claude Code · Codex · Gemini · shell sessions on your own infrastructure, with persistent sessions, local-first memory, and six chat channels (Telegram, Slack, Discord, Feishu, DingTalk, WeCom).
This package is the npm distribution of the official Go release binary. The project itself lives at github.com/Opendray/opendray.
Install
npm install -g opendrayOr with pnpm / yarn:
pnpm add -g opendray
yarn global add opendrayThe right platform binary (Linux x64/arm64, macOS x64/arm64) is selected
automatically via optionalDependencies — no post-install network call.
Usage
opendray ships the whole gateway — the web admin is embedded, so there is no
Node runtime or separate web server at deploy time. You bring a PostgreSQL 15+
database (with the pgvector extension) and start it yourself:
export OPENDRAY_DATABASE_URL="postgres://opendray:[email protected]:5432/opendray?sslmode=disable"
export OPENDRAY_ADMIN_PASSWORD="$(openssl rand -base64 24)"
opendray migrate # apply schema (idempotent)
opendray serve # run in foreground → http://127.0.0.1:8770/admin/See the binary install guide
for the full first-run walkthrough — pgvector setup, config.toml, and running
as a systemd / launchd service.
Supported platforms
| OS | Architecture | | ------ | ------------ | | Linux | x64, arm64 | | macOS | x64, arm64 |
Windows is not yet packaged — track opendray#XXX.
License
Apache-2.0 — see LICENSE.
