Skip to content

cschef/github-trending

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

GitHub Trending

Build Status

爬取 GitHub Trending 页面每天最活跃的项目,并自动提交到你的仓库

Scrape the most excited repos in Github Trending everyday, and automaticly commit to your GitHub repo.

Require

  • git
  • python 2.x, 3.x
  • pyquery & requests

Usage

  • Install git & config it
# install git (linux)
$ yum install git

# config your git
$ git config --global user.name "username"
$ git config --global user.email "[email protected]"
$ ssh-keygen -t rsa -b 4096 -C "[email protected]"
  • Install python

  • Fork this repo

  • Clone your repo and Install pyquery & requests

$ git clone https://github.com/yourusername/github-trending.git
$ cd github-trending
$ pip install -r requirements.txt
  • Run
nohup python -u run.py > out.log 2>&1 &

Note: 解决 lxml 安装不上的方法

# ubuntu 14.04
sudo apt-get build-dep python3-lxml
sudo apt-get install libxml2-dev libxslt-dev python-dev

See it on stackoverflow

Other

josephyzhou/github-trending (Go Version)

Lisence

Released under the MIT License.

About

📈 记录每日 Github Trending Repo

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages