# certflow
**Repository Path**: dtapps/certflow
## Basic Information
- **Project Name**: certflow
- **Description**: SSL 证书管理工具,支持证书申请、续期、过期监控等功能。
- **Primary Language**: Unknown
- **License**: MIT
- **Default Branch**: master
- **Homepage**: None
- **GVP Project**: No
## Statistics
- **Stars**: 1
- **Forks**: 0
- **Created**: 2026-07-03
- **Last Updated**: 2026-10-31
## Categories & Tags
**Categories**: Uncategorized
**Tags**: wails3, wails
## README
# CertFlow
[English](README_EN.md) | 中文
SSL 证书管理工具,支持证书申请、续期、过期监控等功能。
采用 Go + Vue 3 跨平台桌面应用架构,基于 Wails v3 框架。
[](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://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)
## 功能特性
- **证书管理** — 申请、续期、撤销 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
- **预发布**:同一工作流勾选 `prerelease`(CNB 侧传 `pre_release=true`)即发布为预发布版本,不再单独跑每日构建
- **发布平台**:只有 GitHub / CNB / GitLab / Gitee 四个平台发布版本,其他平台不发布
- **镜像同步**:发布成功后自动同步到 CNB / GitLab;Gitee 通过 webhook 触发 `.workflow/release.yml`(需配置 `GITEE_WEBHOOK_URL` / `GITEE_TOKEN`,未配置时手动执行)
## 开发文档
详见 [DEVELOPMENT.md](DEVELOPMENT.md);CI / 覆盖率 / 发布同步 / 交接记录等专题见 [`docs/`](docs/);参与开发见 [CONTRIBUTING.md](CONTRIBUTING.md),安全报告见 [SECURITY.md](SECURITY.md),版本变更见 [CHANGELOG.md](CHANGELOG.md)。
## 许可
详见仓库 `LICENSE` 文件。
## 致谢