About
Spug is a lightweight, agent-free automation platform for operations teams in small and medium-sized companies. It manages hosts over SSH, so nothing has to be installed on the managed servers.
It brings host management, batch execution, a web terminal, file management and distribution, application deployment, pipelines, scheduled tasks, a configuration center, monitoring and alerting, credential and permission management together in one place.
Try it online
Demo: https://demo.spug.cc (account admin / password spug.cc). The demo runs the latest version and resets its data every hour. Switch between English and Simplified Chinese from the globe icon in the header.
Features
- Host management: organize hosts in groups, import them from Alibaba Cloud, Tencent Cloud or an Excel file, verify connectivity in batch and sync hardware details
- Batch execution: run Shell / Python commands on many hosts at once, with parameterized command templates and execution history
- Web terminal: log in to hosts from the browser with multiple tabs and themes, plus a standalone file manager
- File management: upload, download and delete files on hosts
- File distribution: push uploaded files or a directory from one host to many hosts in one go
- Application deployment: standard and custom deployment modes with review flow, separated build and release, scheduled release, canary / retry release, rollback and webhook-triggered auto deploy
- Pipelines: orchestrate parameter, build, remote command, data transfer, data upload and DingTalk / Feishu / WeCom / Push Assistant notification nodes into a workflow, with conditional branches and a live console
- Scheduled tasks: one-off, cron, interval and alert-triggered tasks that run on hosts or on the Spug server itself
- Configuration center: maintain application and service configuration per environment in table, text or JSON view and expose it through an open API
- Monitoring: site, port, ping, process and custom script checks; alerts can trigger scheduled tasks for self-healing
- Alerting: WeChat, email, DingTalk, WeCom and Feishu alert channels
- Credential management: keep passwords and private keys in one place for reuse in build nodes
- Access control: fine-grained feature, host and deployment permissions, LDAP login and MFA
- Bilingual UI: full English and Simplified Chinese interface, switchable at any time
- Elegant UI: built on Ant Design
- Open source: front-end and back-end are fully open source (AGPL-3.0)
Preview
Workbench

Hosts and web terminal


Pipelines


Application deployment

Monitoring and alerting

Requirements
| Component | Version |
|---|---|
| Python | 3.8 or later |
| Django | 4.2 |
| Node.js | 18 or later (only needed to build the front-end yourself; 20 LTS recommended) |
| Redis | 5.0 or later |
| Database | MySQL 8.0.11 or later / MariaDB 10.4 or later (the Docker install bundles MariaDB 10.8); SQLite 3.21 or later works for development |
Links
- Source code: GitHub / Gitee
- Installation: Install with Docker
- Release notes: Change log
- Push Assistant: https://push.spug.cc, phone call and SMS channels for alerts, scheduled tasks and pipelines