Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/tangxiaofeng7/zsxq_notice
知识星球提醒
https://github.com/tangxiaofeng7/zsxq_notice
Last synced: 22 days ago
JSON representation
知识星球提醒
- Host: GitHub
- URL: https://github.com/tangxiaofeng7/zsxq_notice
- Owner: tangxiaofeng7
- License: apache-2.0
- Created: 2022-05-25T09:58:03.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2022-06-14T02:28:32.000Z (over 2 years ago)
- Last Synced: 2024-08-05T17:29:41.984Z (4 months ago)
- Language: Go
- Size: 15 MB
- Stars: 20
- Watchers: 2
- Forks: 6
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
- awesome-hacking-lists - tangxiaofeng7/zsxq_notice - 知识星球提醒 (Go)
README
# zsxq_notice
知识星球提醒
## 指南:
#### 下载
```
git clone https://github.com/tangxiaofeng7/zsxq_notice.git
cd zsxq_notice
```#### 启动/安装 mysql
```
yum -y install mysql-server mysql mysql-devel
service mysqld start
chkconfig mysqld on
mysql_secure_installation
```#### 登陆 mysql 并导入 sql 文件
```
mysql -uroot -p
source mysql/init.sql
```#### 编辑配置文件
vim config/config.yaml
```
# 数据库连接信息
database:
default:
type: "mysql"
link: "root:c!vG?2R4@tcp(127.0.0.1:3306)/zsxq"# 企业微信机器人
wechat:
key: "dc7d86c2-ce47-4aa7-9fa1-111111111111"# 知识星球token
zsxq_access_token:
token: "DFD51610-752F-369F-1BC7-1287690C57B0_1111111111111111"# 需要提醒的知识星球id
zsxq_group:
- id: "11111111111"
- id: "2222222222222"```
#### 后台启动 main
./main
#### 运行截图
![](./pic/1.png)
#### 效果图
![](./pic/2.png)