oblien / openship

oblien / openship

Openship is an open-source, self-hostable deployment platform with built-in CI/CD. Push code, ship containers, and manage infrastructure — all from a desktop app, web dashboard, or CLI. Openship 是一个开源、可自托管的部署平台,内置了 CI/CD 功能。你可以通过桌面应用、Web 控制面板或命令行(CLI)来推送代码、发布容器并管理基础设施。

Quick Start

快速开始

npm i -g openship # or: curl -fsSL https://get.openship.io | sh openship up # installs Openship as a background service (starts on boot, auto-restarts) openship open opens the dashboard; openship stop stops the service. Want a one-off attached run instead? openship up --foreground. npm i -g openship # 或使用:curl -fsSL https://get.openship.io | sh openship up # 将 Openship 安装为后台服务(开机自启,自动重启) openship open 打开控制面板;openship stop 停止服务。如果想要一次性前台运行,请使用 openship up --foreground

To deploy a project: cd your-project, openship init (link this directory to a project), openship deploy. Prefer Docker? Clone the repo and use the compose stack: git clone https://github.com/oblien/openship.git && cd openship, cp .env.example .env, docker compose up -d. Or grab the desktop app (openship install, or download from openship.io). 部署项目:进入项目目录 cd your-project,运行 openship init(将当前目录关联到项目),然后运行 openship deploy。 更喜欢 Docker?克隆仓库并使用 compose 栈:git clone https://github.com/oblien/openship.git && cd openshipcp .env.example .envdocker compose up -d。或者直接获取桌面应用(运行 openship install 或从 openship.io 下载)。

What It Does

功能概述

Point it at a repo. Openship detects your stack, builds it, configures everything, and ships it — zero config files, zero pipelines, zero YAML. Databases, domains, SSL, CDN, mail, backups — all managed from one place. Works with Openship Cloud (managed) or any Linux server you own. Solo devs shipping side projects and teams running production use the same tool. 只需指向一个代码仓库,Openship 就能自动检测技术栈、构建、配置并发布——无需配置文件、无需流水线、无需 YAML。数据库、域名、SSL、CDN、邮件、备份——一切都在一处管理。它既适用于 Openship Cloud(托管版),也适用于你拥有的任何 Linux 服务器。无论是独立开发者发布个人项目,还是团队运行生产环境,都可以使用同一套工具。

Features

特性

  • Built-in CI/CD: Push-to-deploy, preview environments, staging/prod flows, rollbacks.

  • Any stack: Node, Python, Go, Rust, PHP, Ruby, Java, .NET, Docker, monorepos.

  • Full backend: Postgres, MySQL, MongoDB, Redis, workers, WebSockets, storage.

  • Domains & SSL: Automatic Let’s Encrypt, wildcards, unlimited domains, auto-renewal.

  • CDN: Edge caching, HTTP/3, Brotli compression, instant purge.

  • Mail server: Built-in SMTP with DKIM/SPF/DMARC — no Mailgun or SES needed.

  • Backups: Scheduled, databases + volumes, one-click restore, export anytime.

  • Real-time monitoring: Live build logs, container metrics, and resource usage streamed to your screen.

  • Scaling: Auto-scaling on cloud, multi-node ready on self-hosted.

  • Portability: Standard Docker containers — move between providers freely.

  • Docker Compose: Deploy existing compose files as-is.

  • Deploy Anywhere: Openship Cloud (managed), any VPS (Hetzner, DigitalOcean, etc.), dedicated servers, or multi-server setups. Same interface regardless of where you deploy.

  • 内置 CI/CD: 推送即部署、预览环境、测试/生产流程、回滚。

  • 全技术栈支持: Node, Python, Go, Rust, PHP, Ruby, Java, .NET, Docker, monorepos。

  • 完整后端支持: Postgres, MySQL, MongoDB, Redis, workers, WebSockets, 存储。

  • 域名与 SSL: 自动 Let’s Encrypt、通配符域名、无限域名、自动续期。

  • CDN: 边缘缓存、HTTP/3、Brotli 压缩、即时清除。

  • 邮件服务器: 内置支持 DKIM/SPF/DMARC 的 SMTP 服务——无需 Mailgun 或 SES。

  • 备份: 定时备份、数据库+卷备份、一键恢复、随时导出。

  • 实时监控: 实时构建日志、容器指标和资源使用情况流式传输到屏幕。

  • 扩展性: 云端自动扩容,自托管支持多节点。

  • 可移植性: 标准 Docker 容器——可在不同服务商之间自由迁移。

  • Docker Compose: 直接部署现有的 compose 文件。

  • 随处部署: Openship Cloud(托管)、任何 VPS(Hetzner, DigitalOcean 等)、独立服务器或多服务器集群。无论部署在哪里,界面始终如一。

Three Interfaces

三种交互方式

Desktop app (full GUI, real-time logs, one-click everything), Web dashboard (same UI in the browser, built for teams), and CLI (scriptable and CI-friendly). A REST API and MCP (AI agent protocol) round it out for automation and tooling integration. 桌面应用(完整 GUI、实时日志、一键式操作)、Web 控制面板(浏览器中相同的 UI,专为团队打造)以及 CLI(可脚本化,对 CI 友好)。此外,REST API 和 MCP(AI 代理协议)进一步完善了自动化和工具集成。

Status & Contributing

状态与贡献

Production-ready core, actively developed. Coming next: multi-node clusters, load-balancing UI, private networking, advanced monitoring, and visual CI/CD pipelines. See CONTRIBUTING.md for details. 核心功能已达到生产就绪水平,正在积极开发中。即将推出:多节点集群、负载均衡 UI、私有网络、高级监控和可视化 CI/CD 流水线。详情请参阅 CONTRIBUTING.md

Security

安全性

Found a vulnerability? Please disclose it privately via a private GitHub advisory. Good-faith security research is authorized under our safe-harbor policy. See SECURITY.md for details. 发现漏洞?请通过 GitHub 私有安全公告进行私密披露。在我们的安全港政策下,我们授权进行善意的安全研究。详情请参阅 SECURITY.md

License

许可证

Openship is open-source software, licensed under the Apache License 2.0. Openship 是开源软件,采用 Apache License 2.0 协议授权。