1.5.42 • Published 4 years ago

gatsby-source-docker-hub v1.5.42

Weekly downloads
94
License
MIT
Repository
github
Last release
4 years ago

CircleCI npm codecov

What is this?

A simple GatsbyJS source plugin allowing you to easily integrate stats from your Docker Hub profile in your Gatsby site. Just pass in a Docker Hub username, and get back your top 30 repos, sorted by pull count. It's as simple as:

{
  allDockerHubRepo(sort: { order: DESC, fields: pullCount }) {
    edges {
      node {
        architectures
        description
        lastUpdated
        name
        pullCount
        starCount
      }
    }
  }
}

And get back something like the below:

{
  "data": {
    "allDockerHubRepo": {
      "edges": [
        {
          "node": {
            "architectures": [
              "amd64",
              "arm",
              "arm64"
            ],
            "description": "OwnTracks. Multiarch. 👌",
            "lastUpdated": "2019-08-13T00:27:34.154761Z",
            "name": "owntracks",
            "pullCount": 491351,
            "starCount": 3
          }
        },
        {
          "node": {
            "architectures": [
              "arm",
              "arm64",
              "amd64"
            ],
            "description": "Nightly multi-architecture (amd64, arm64, armv7) builds for the Kubernetes Helm tiller service.",
            "lastUpdated": "2019-08-13T00:27:56.305902Z",
            "name": "tiller",
            "pullCount": 376722,
            "starCount": 11
          }
      },
      { "//": "etc." }
    ]
  }
}

Note that this includes an array of architectures, for Docker images with multiarch support (i.e., containing a valid V2 Manifest, Schema 2).

Check out a simple proof-of-concept at multiar.ch (source code available here) 🎉

1.5.42

4 years ago

1.5.41

4 years ago

1.5.40

4 years ago

1.5.39

5 years ago

1.5.38

5 years ago

1.5.37

5 years ago

1.5.36

5 years ago

1.5.35

5 years ago

1.5.34

6 years ago

1.5.33

6 years ago

1.5.32

6 years ago

1.5.31

6 years ago

1.5.30

6 years ago

1.5.29

6 years ago

1.5.28

6 years ago

1.5.27

6 years ago

1.5.26

6 years ago

1.5.25

6 years ago

1.5.24

6 years ago

1.5.23

6 years ago

1.5.22

6 years ago

1.5.21

6 years ago

1.5.20

6 years ago

1.5.19

6 years ago

1.5.18

6 years ago

1.5.17

6 years ago

1.5.16

6 years ago

1.5.15

6 years ago

1.5.14

6 years ago

1.5.13

6 years ago

1.5.12

6 years ago

1.5.11

6 years ago

1.5.10

6 years ago

1.5.9

6 years ago

1.5.8

6 years ago

1.5.7

6 years ago

1.5.6

6 years ago

1.5.5

6 years ago

1.5.3

6 years ago

1.5.2

6 years ago

1.5.1

6 years ago

1.5.0

6 years ago

1.4.1

6 years ago

1.4.0

6 years ago

1.3.1

6 years ago

1.3.0

6 years ago

1.2.0

6 years ago

1.1.2

6 years ago

1.1.1

6 years ago

1.1.0

6 years ago

1.0.0

6 years ago