# 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 框架。
[![CNB 版本](https://cnb.cool/dtapp/certflow/-/badge/release)](https://cnb.cool/dtapp/certflow/-/badge/release.link) [![CNB Star 数](https://cnb.cool/dtapp/certflow/-/badge/star)](https://cnb.cool/dtapp/certflow) [![CNB Fork 数](https://cnb.cool/dtapp/certflow/-/badge/fork)](https://cnb.cool/dtapp/certflow) [![CNB 构建](https://cnb.cool/dtapp/certflow/-/badge/git/latest/ci/status/push)](https://cnb.cool/dtapp/certflow) [![CNB 覆盖率](https://cnb.cool/dtapp/certflow/-/badge/git/latest/testing/unit/coverage)](https://cnb.cool/dtapp/certflow/-/insights/unit-test) [![CNB PR 覆盖率](https://cnb.cool/dtapp/certflow/-/badge/git/latest/testing/unit/coverage-pr)](https://cnb.cool/dtapp/certflow/-/insights/unit-test) ![CNB 下载请求数](https://img.shields.io/endpoint?label=CNB%20下载请求数&url=https%3A%2F%2Fdl-stats.dtapp.net%2Fshields.json%3Fplatform%3Dcnb.cool%26repository%3D%2Fdtapp%2Fcertflow) [![CNB 漏洞](https://cnb.cool/dtapp/certflow/-/badge/security/vulnerability/full/latest)](https://cnb.cool/dtapp/certflow/-/badge/security/vulnerability/full/latest.link) [![CNB 漏洞差异](https://cnb.cool/dtapp/certflow/-/badge/security/vulnerability/diff/latest)](https://cnb.cool/dtapp/certflow/-/badge/security/vulnerability/diff/latest.link) [![CNB 许可证](https://cnb.cool/dtapp/certflow/-/badge/security/license/full/latest)](https://cnb.cool/dtapp/certflow/-/badge/security/license/full/latest.link) [![CNB 许可证差异](https://cnb.cool/dtapp/certflow/-/badge/security/license/diff/latest)](https://cnb.cool/dtapp/certflow/-/badge/security/license/diff/latest.link) [![CNB SBOM](https://cnb.cool/dtapp/certflow/-/badge/security/sbom/full/latest)](https://cnb.cool/dtapp/certflow/-/badge/security/sbom/full/latest.link) [![CNB SBOM 差异](https://cnb.cool/dtapp/certflow/-/badge/security/sbom/diff/latest)](https://cnb.cool/dtapp/certflow/-/badge/security/sbom/diff/latest.link) [![CNB 访问](https://commit.cool/badge/visit/dtapp/certflow)](https://cnb.cool/dtapp/certflow) [![CNB 发布频率](https://commit.cool/badge/release/frequency/dtapp/certflow)](https://cnb.cool/dtapp/certflow) [![CNB 距离上次发布](https://commit.cool/badge/release/last/dtapp/certflow)](https://cnb.cool/dtapp/certflow) [![CNB 发布总数](https://commit.cool/badge/releases/dtapp/certflow)](https://cnb.cool/dtapp/certflow/-/releases) [![CNB 仓库年龄](https://commit.cool/badge/age/dtapp/certflow)](https://cnb.cool/dtapp/certflow) [![CNB 主要语言](https://commit.cool/badge/language/dtapp/certflow)](https://cnb.cool/dtapp/certflow) [![CNB 仓库许可证](https://commit.cool/badge/license/dtapp/certflow)](https://cnb.cool/dtapp/certflow) [![CNB 存储用量](https://commit.cool/badge/usage/dtapp/certflow)](https://cnb.cool/dtapp/certflow) [![CNB Git 存储](https://commit.cool/badge/usage/git/dtapp/certflow)](https://cnb.cool/dtapp/certflow) [![CNB LFS 存储](https://commit.cool/badge/usage/lfs/dtapp/certflow)](https://cnb.cool/dtapp/certflow) [![GitHub 版本](https://img.shields.io/github/v/release/dtapps/certflow?style=flat-square)](https://github.com/dtapps/certflow/releases) [![GitHub 下载量](https://img.shields.io/github/downloads/dtapps/certflow/total?style=flat-square)](https://github.com/dtapps/certflow/releases) [![GitHub Star 数](https://img.shields.io/github/stars/dtapps/certflow?style=flat-square)](https://github.com/dtapps/certflow/stargazers) [![GitHub Fork 数](https://img.shields.io/github/forks/dtapps/certflow?style=flat-square)](https://github.com/dtapps/certflow/network/members) [![GitHub 许可证](https://img.shields.io/github/license/dtapps/certflow?style=flat-square)](LICENSE) [![GitHub 支持平台](https://img.shields.io/badge/platform-macOS%20%7C%20Windows%20%7C%20Linux-007EC6?style=flat-square)](https://github.com/dtapps/certflow) [![GitHub 构建](https://img.shields.io/github/actions/workflow/status/dtapps/certflow/push.yml?style=flat-square)](https://github.com/dtapps/certflow/actions/workflows/push.yml) [![Codecov](https://img.shields.io/codecov/c/github/dtapps/certflow?style=flat-square&label=Codecov&logo=codecov)](https://codecov.io/gh/dtapps/certflow) [![Coveralls](https://img.shields.io/coveralls/github/dtapps/certflow?style=flat-square&label=Coveralls&logo=coveralls)](https://coveralls.io/github/dtapps/certflow) ![GitHub 下载请求数](https://img.shields.io/endpoint?label=GitHub%20下载请求数&url=https%3A%2F%2Fdl-stats.dtapp.top%2Fshields.json%3Fplatform%3Dgithub.com%26repository%3D%2Fdtapps%2Fcertflow) [![GitHub 访问](https://visitor-badge.laobi.icu/badge?page_id=github/dtapps/certflow)](https://github.com/dtapps/certflow) [![GitHub 距离上次发布](https://img.shields.io/github/release-date/dtapps/certflow)](https://github.com/dtapps/certflow) [![GitHub 仓库年龄](https://img.shields.io/github/created-at/dtapps/certflow)](https://github.com/dtapps/certflow) [![GitHub 主要语言](https://img.shields.io/github/languages/top/dtapps/certflow)](https://github.com/dtapps/certflow) [![GitHub 存储用量](https://img.shields.io/github/repo-size/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) 文件。 ## 致谢 Built with Wails ## Star 走势
点击展开查看图表 **CNB** [![CNB Star 走势](https://commit.cool/stars/dtapp/certflow)](https://cnb.cool/dtapp/certflow) **GitHub** [![Star 走势](https://api.star-history.com/chart?repos=dtapps/certflow&type=date&legend=top-left)](https://www.star-history.com/?repos=dtapps%2Fcertflow&type=date&legend=top-left)
## 下载量统计图
点击展开查看图表 [![下载量统计图](https://release-monitor.com/chart/dtapps/certflow.svg?stable=5)](https://release-monitor.com/#/dtapps/certflow)