twitter机器人,每次你在github上发布一条tweet!
gh-announce的Python项目详细描述
gh宣布
twitter机器人,每次你在github上发布一条tweet!
概要
我碰巧在github上维护了很多python项目,比如distroverify和vtscan,每次我做一个标记的发布,我都要做一个状态tweet让人们知道。这个工具是用来自动化这个过程的,read this article to know more details
安装
pip install gh_announce
用法
首次仅配置github用户名和twitter api详细信息:
> gh_announce --config
测试应用程序:
> gh_announce successfully updated status for repo: prahladyeri/distroverify, tag: 1.0.4
结果:
通过运行
crontab -e
:* 12 * * * gh_announce