# certflow
**Repository Path**: dtapps/certflow
## Basic Information
- **Project Name**: certflow
- **Description**: SSL 证书管理工具,支持证书申请、续期、过期监控等功能。
- **Primary Language**: Go
- **License**: MIT
- **Default Branch**: master
- **Homepage**: None
- **GVP Project**: No
## Statistics
- **Stars**: 2
- **Forks**: 0
- **Created**: 2026-07-03
- **Last Updated**: 2026-12-05
## Categories & Tags
**Categories**: Uncategorized
**Tags**: wails3, wails
## README
# CertFlow
[English](README_EN.md) | 中文
SSL 证书管理工具,支持证书申请、续期、过期监控等功能。
采用 Go + Vue 3 跨平台桌面应用架构,基于 Wails v3 框架。
[](https://cnb.cool/dtapp/certflow/-/badge/release.link) [](https://cnb.cool/dtapp/certflow) [](https://cnb.cool/dtapp/certflow) [](https://cnb.cool/dtapp/certflow) [](https://cnb.cool/dtapp/certflow/-/insights/unit-test) [](https://cnb.cool/dtapp/certflow/-/insights/unit-test) 
[](https://cnb.cool/dtapp/certflow/-/badge/security/vulnerability/full/latest.link) [](https://cnb.cool/dtapp/certflow/-/badge/security/vulnerability/diff/latest.link) [](https://cnb.cool/dtapp/certflow/-/badge/security/license/full/latest.link) [](https://cnb.cool/dtapp/certflow/-/badge/security/license/diff/latest.link) [](https://cnb.cool/dtapp/certflow/-/badge/security/sbom/full/latest.link) [](https://cnb.cool/dtapp/certflow/-/badge/security/sbom/diff/latest.link)
[](https://cnb.cool/dtapp/certflow) [](https://cnb.cool/dtapp/certflow) [](https://cnb.cool/dtapp/certflow) [](https://cnb.cool/dtapp/certflow/-/releases) [](https://cnb.cool/dtapp/certflow) [](https://cnb.cool/dtapp/certflow) [](https://cnb.cool/dtapp/certflow) [](https://cnb.cool/dtapp/certflow) [](https://cnb.cool/dtapp/certflow) [](https://cnb.cool/dtapp/certflow)
[](https://github.com/dtapps/certflow/releases) [](https://github.com/dtapps/certflow/releases) [](https://github.com/dtapps/certflow/stargazers) [](https://github.com/dtapps/certflow/network/members) [](LICENSE) [](https://github.com/dtapps/certflow) [](https://github.com/dtapps/certflow/actions/workflows/push.yml) [](https://codecov.io/gh/dtapps/certflow) [](https://coveralls.io/github/dtapps/certflow) 
[](https://github.com/dtapps/certflow) [](https://github.com/dtapps/certflow) [](https://github.com/dtapps/certflow) [](https://github.com/dtapps/certflow) [](https://github.com/dtapps/certflow)
## 功能特性
- **证书管理** — 申请、续期、撤销 SSL 证书,支持 30+ DNS 提供商自动验证
- **证书部署** — 一键将证书部署到云厂商 CDN / WAF / 负载均衡 / 边缘加速等,支持阿里云、腾讯云、华为云、百度云、天翼云、火山引擎,以及宝塔 / 1Panel / aaPanel / AcePanel / 雷池等面板与 WAF
- **域名监控** — HTTPS/HTTP 健康检查,证书过期预警
- **自动续期** — 定时任务自动续期即将过期的证书
- **证书扫描** — 扫描并归集证书,统一查看有效期与到期预警
- **账户与安全** — 登录认证、TOTP 双因素(2FA)、Passkey / 生物识别(Touch ID、Windows Hello)
- **应用内更新** — 启动后自动检查并安装新版本(基于 GitHub Release 校验和)
- **系统托盘** — 后台常驻,菜单快速操作(检查更新、申请证书、退出)
- **多平台** — 支持 macOS、Windows、Linux
## 截图
## 快速开始
```bash
# 安装依赖
make deps
# 启动开发模式
make dev
# 构建生产包(带版本号)
make build VERSION=1.0.0
# 打包 macOS 应用
make package VERSION=1.0.0
```
## 开发命令
```bash
make help # 查看所有命令
make lint-go # Go 代码检查(golangci-lint)
make lint-go-fix # Go 代码检查(自动修复)
make check # 检查 + 单测 + 模糊测试 + 漏洞检查
make test-go # Go 后端测试(go test -vet=off ./internal/...)
make bindings # 生成 Wails TypeScript 绑定
make ent # 生成 Ent ORM 代码
make sqlc # 生成 sqlc 代码(internal/httplog)
make format # 格式化所有代码(Go + Vue/TS + JSON/YAML/Markdown)
make format-go-fmt # 格式化 Go 代码(gofmt)
make format-frontend-write # 格式化前端代码(Prettier)
```
## 技术栈
- **后端**:Go 1.27 + Wails v3 + Ent ORM + lego v5(ACME)+ SQLite;认证使用 go-webauthn + pquerna/otp(2FA);证书部署对接阿里云 / 腾讯云 / 华为云 / 百度云 / 天翼云 / 火山引擎云 SDK
- **前端**:Vue 3 + TypeScript + Vite 8 + Tailwind CSS v4 + Naive UI v2 + Pinia
## 仓库
| 平台 | 地址 |
|---------|------------------------------------|
| CNB | https://cnb.cool/dtapp/certflow |
| GitHub | https://github.com/dtapps/certflow |
| Gitea | https://gitea.com/dtapps/certflow |
| GitLab | https://gitlab.com/dtapps/certflow |
| Gitee | https://gitee.com/dtapps/certflow |
| GitCode | https://gitcode.com/dtapp/certflow |
## 发布
- **正式发布**:在 GitHub Actions 的 Release 工作流中手动输入版本号,六个平台并行构建并发布 GitHub Release
- **预发布**:同一工作流输入带后缀的版本号即发布为预发布,**不看勾选框**(布尔输入会和版本号打架):
- `1.2.3-rc.1` / `-beta.1` / `-alpha.1` / `-nightly.20260101`:常规预发布,更新内容按同渠道对比
- `nightly`:每日预发布,自动展开为 `v<最近正式版+1补丁>-nightly.`(如 `v1.2.4-nightly.20260101`);应用内「预发布更新」按 `-nightly.` 后缀列出 Release 找最新版本,GitHub 上只保留最近 3 个 nightly Release
- **Release 正文**:由 `scripts/ci/render-release-body.sh` 统一生成(发布信息表 / 下载表 / SHA256SUMS 校验 / 更新内容),更新内容由 `scripts/ci/release-changelog.sh` 按渠道选对比基准并分组;GitHub 的版本解析与 Tag 校验使用 `dtapps/release-version-action@main`,CNB 仍使用 `scripts/ci/resolve-prerelease.sh`
- **发布平台**:只有 GitHub / CNB 两个平台发布版本,其他平台仅为代码镜像
- **定时发布**:GitHub 每天 UTC 00:00(北京时间 08:00)构建 nightly
- **自动同步**:GitHub Release 发布成功后通过 API 触发 CNB 下载对应版本
- **手动同步**:可在 CNB「发布 Release」按钮填写最终版本号;Gitee 发布工作流已删除
## 开发文档
详见 [DEVELOPMENT.md](DEVELOPMENT.md);CI / 覆盖率 / 发布同步 / 交接记录等专题见 [`docs/`](docs/);参与开发见 [CONTRIBUTING.md](CONTRIBUTING.md),安全报告见 [SECURITY.md](SECURITY.md),版本变更见 [CHANGELOG.md](CHANGELOG.md)。
## 许可证
见 [LICENSE](LICENSE) 文件。
## 致谢
## Star 走势
点击展开查看图表
**CNB**
[](https://cnb.cool/dtapp/certflow)
**GitHub**
[](https://www.star-history.com/?repos=dtapps%2Fcertflow&type=date&legend=top-left)
## 下载量统计图
点击展开查看图表
[](https://release-monitor.com/#/dtapps/certflow)