GitHub 虚假 Star 净网行动
Switch branches/tags
Nothing to show
Clone or download
Latest commit d35de13 Sep 30, 2018
Permalink
Failed to load latest commit information.
.idea fix crash Oct 1, 2018
data fix bug crash Sep 22, 2018
.gitignore init update Sep 11, 2018
LICENSE Initial commit Sep 5, 2018
README.md update readme Sep 16, 2018
RepoBlackValue.md add repo black value Sep 17, 2018
datapersistence.py add black list Sep 15, 2018
fetchdata.py fix crash Oct 1, 2018
processingdata.py fix crash Oct 1, 2018

README.md

FuckFakeGitHubStars

NOTICE: The results are for your reference only.

Usage

  1. Fill your GitHub secret token in fetchdata.py
  2. Set SEARCH_NODE_ID in fetchdata.py
  3. Run fetchdata.py
  4. Run processingdata.py
  5. See log files in data folder

You can get repo or user's node ID via GitHub GraphQL API.

GraphiQL example:

query {
  repository(owner: "CocoaDebug", name: "CocoaDebug") {
    id
  }
}

Result is MDEwOlJlcG9zaXRvcnkxMTc1MTM4NTI=

{
  "data": {
    "repository": {
      "id": "MDEwOlJlcG9zaXRvcnkxMTc1MTM4NTI="
    }
  }
}

Disclaimer

This is just some messy code. I really don't know what it is. Don't ask me!