https://github.com/jiangjilu/auto-updating
一件事情,如果自己不想重复去做,那就交给程序。If there's something you don't want to do repeatedly, let a program handle it.
https://github.com/jiangjilu/auto-updating
automatic inspiration programming
Last synced: 8 months ago
JSON representation
一件事情,如果自己不想重复去做,那就交给程序。If there's something you don't want to do repeatedly, let a program handle it.
- Host: GitHub
- URL: https://github.com/jiangjilu/auto-updating
- Owner: jiangjilu
- Created: 2024-02-28T02:35:26.000Z (almost 2 years ago)
- Default Branch: main
- Last Pushed: 2025-03-22T00:33:04.000Z (9 months ago)
- Last Synced: 2025-03-22T01:26:29.333Z (9 months ago)
- Topics: automatic, inspiration, programming
- Language: Go
- Homepage: https://auto-updating.com
- Size: 1.53 MB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# 目标
一件事情,如果自己不想重复去做,那就交给程序。
# 背景
在我们成长的过程中,脑海中会时刻产生灵感,
* 大部分人没有把握好灵感,
* 【少部分人】能做1次,然后束之高阁,
* 极少数人才坚持一直做,重复做,直到拿到结果。
我希望能帮助这【少部分人】拿到结果。
Auto-updating 项目,把你的灵感变成现实,并且在后台持续更新,自动化运行。
# 项目初始化及更新
**项目选型:**
* HTTP框架 Hertz https://github.com/cloudwego/hertz
* ORM框架 Gorm https://github.com/go-gorm/gorm
* 配置 Viper https://github.com/spf13/viper
开发者(一般用户可跳过)
```shell
# 安装 hz
go install github.com/cloudwego/hertz/cmd/hz@latest
# 新建
hz new -mod github.com/jiangjilu/auto-updating
# 更新
go get github.com/cloudwego/thriftgo@latest
hz update --model_dir biz/hertz_gen -idl idl/api.thrift
hz update --model_dir biz/hertz_gen -idl idl/news.thrift
```
一般用户
```shell
# 下载
git clone git@github.com:jiangjilu/auto-updating.git
# 启动
go run .
# 访问
http://localhost:9090/
```