/GitHubStar

Auto star for gitstar.cn

Primary LanguagePythonGNU General Public License v3.0GPL-3.0

Chinese here

GitHubStar

Auto star for gitstar.cn

Usage

Docker

  • Run with Docker
    docker run --rm \
           -e NAME={NAME} \
           -e PASSWORD={PASSWORD} \
           -e GITNAME={GITNAME} \
           -e GITPASSWORD={GITPASSWORD} \
           setzero/githubstar
    

Source code

Step 1

  1. Install Python 2.x,runpython --versionandpipfor a test.
  2. To install pip, securely download get-pip.py
  3. Then run the following(If you have downloaded it,skip the step.):
    python get-pip.py
    

MAKE SURE that you have installed requests.

pip install -r requirements.txt

Step 2

  1. Clone the repo
    git clone https://github.com/weilaihui/GitHubStar.git && cd GitHubStar
    
  2. Opensettings.py, replace variables with your own infomation.
    #############settings#############
    NAME		= "1" #GitStar username
    PASSWORD	= "1" #GitStar password
    GITNAME		= "1" #Gitee username
    GITPASSWORD	= "1" #Gitee password
    #############settings#############
    

Step 3

  • Run
    python -u main.py
    

Everything is ok,hooray!