Giter Site home page Giter Site logo

githubstars's Introduction

Github Stars

List repository stars and info through Github v4 GraphQL API

$ githubstars --lang python
⭐ 38867 awesome-python
⭐ 31578 httpie
⭐ 30981 thefuck
⭐ 29831 flask
⭐ 29402 youtube-dl

$ githubstars django --lang python --count 5 --url --desc
⭐ 28394 django (https://github.com/django/django)
- The Web framework for perfectionists with deadlines.

⭐ 13937 sentry (https://github.com/getsentry/sentry)
- Sentry is a cross-platform crash reporting and aggregation platform.

⭐ 8685 django-rest-framework (https://github.com/encode/django-rest-framework)
- Web APIs for Django.

⭐ 5196 django-cms (https://github.com/divio/django-cms)
- The easy-to-use and developer-friendly CMS

⭐ 4931 Zappa (https://github.com/Miserlou/Zappa)
- Serverless Python Web Services

Installation

$ pip install githubstars
$ export GITHUB_API_TOKEN="<your token here>"

Since Github require OAuth token to access GraphQL server, you must set personal access token first.

Refer: Authenticating with GraphQL and Creating a personal access token for the command line

Usage

$ githubstars -h
usage: githubstars [-h] [--lang] [--count] [--desc] [--url] [--verbose]
                   [--version]
                   [repo]

List repository stars and info through Github v4 GraphQL API

positional arguments:
  repo        repository name to search

optional arguments:
  -h, --help     show this help message and exit
  --count        number of repositories to show
  --desc         show repo description
  --lang         search based on language
  --new-created  created this week
  --new-pushed   pushed this week
  --url          show repo url
  --verbose      show request detail
  --version      show version

Reference

  1. GitHub API | GitHub Developer Guide
  2. GraphQL API Explorer | GitHub Developer Guide
  3. Creating a personal access token for the command line - User Documentation
  4. Searching repositories - User Documentation

githubstars's People

Contributors

hanksudo avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

Forkers

ckesanapalli

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.