spug
开源运维平台:面向中小型企业设计的轻量级无Agent的自动化运维平台,整合了主机管理、主机批量执行、主机在线终端、文件在线上传下载、应用发布部署、在线任务计划、配置中心、监控、报警等一系列功能。
Open-source web operations platform for small teams to manage servers, automate deployments, run remote shell commands, and monitor services, all from a browser, with no agent installed on servers.
Spug is an open-source operations platform aimed at small to medium-sized companies. It lets a team manage servers and automate common deployment and maintenance tasks from a single web interface, without requiring a software agent to be installed on each server. The README is written in Chinese, and the project documentation and community channels are also primarily in Chinese.
The platform groups its functions into several areas. Batch execution lets you run shell commands across many servers at the same time and see the results in the browser. The online terminal feature opens a live command-line session directly in the browser, so you can access any managed server without a separate SSH client. File management supports uploading and downloading files to and from servers through the web interface.
On the deployment side, Spug provides a workflow for releasing applications, with the ability to define custom deployment steps. A task scheduler handles recurring or one-off jobs with flexible timing options. A configuration center stores application settings in key-value, plain text, or JSON formats and tracks changes over time with a history view.
Monitoring covers website availability, open ports, running processes, and custom checks. When something fails, alerts can be sent through SMS, email, DingTalk, or WeChat. Role-based permissions control what different team members can see and do.
The backend is built with Python and Django, and the frontend uses React with an Ant Design interface. A companion notification service called the Push Helper integrates multiple messaging channels so that a single URL call can deliver a message to whichever platform is needed. The project is licensed under AGPL-3.0 and the full source code for both frontend and backend is publicly available.
Where it fits
- Run a shell command across all your servers at once and view results in the browser without SSH clients.
- Open a live terminal session to any managed server directly in the browser.
- Define a multi-step application deployment workflow and trigger it from the web interface.
- Set up alerts that send to WeChat or DingTalk when a monitored website or port goes down.