certimate-go / certimate-go/certimate

[Feature] 不以服务启动,通过命令行运行工作流

Open
#736 8 comments 1 reaction 0 assignees View on GitHub
backlog enhancement
Dominant language
Go
Stars
9.3k
Forks
898
Avg merge
4d 5h
Merged PRs (30d)
8

Description

### 功能描述 / Description

通过命令行运行指定/全部工作流,不启动web服务,运行完成后退出

### 请求动机 / Motivation

经测试本应用运行时占用内存大约为200MB,而证书更新间隔时间相对较长,个人认为长时间将certimate作为服务运行有些浪费内存,200MB虽然不是很大,但是对于一些路由器/共享vps来说还是有一定压力的。所以希望推出一个不启动服务,只通过命令行运行指定/全部工作流的功能,或者将web服务与核心功能分开(通过单页面应用和api来控制核心服务)。在需要配置工作流时启动web,平时通过系统cron调用工作流,能极大地减少资源占用,拓展应用场景

### 其他 / Miscellaneous

_No response_

### 贡献 / Contribution

- [ ] 我乐意为此贡献代码! / I am interested in contributing to this issue!

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.