script/github_bot/README.md
<p align="center"> </img> </p>兴趣是最好的老师,HelloGitHub 就是帮你找到兴趣!
这个脚本主要用于收集 GitHub 上优秀的项目,用于编写《HelloGitHub 月刊》,后面还会持续开发~
pip install -r requirements.txt# github帐号
ACCOUNT = {
'username': '',
'password': ''
}
# 发送邮件,邮箱的信息
MAIL = {
'mail': '', # 发送邮件的邮箱地址
'username': '',
'password': '',
'host': 'smtp.qq.com',
'port': 465
}
# 接收邮件的邮箱地址
RECEIVERS = []
# qq邮件服务文档:http://service.mail.qq.com/cgi-bin/help?id=28
3.运行脚本:python github_bot.py
增加收集项目 star 临界值
实现根据 star 数量,从高到低展示。
实现请求 GitHub Api 获取关注的用户 star 的项目、过滤内容、定时发邮件