How trustgraph-ai/badges works
This small Node.js utility reports aggregate Docker Hub pulls for a fixed list of Trustgraph images. When run, it fetches each image’s pull count, sums and formats the counts, creates an SVG badge, and prints it. The source shows the fetches and badge generation; no README or further runtime components are present.
Main entry points: docker-pulls.js Pulls badge script
Components 5
Other components
- Invoker
- Pulls badge script
docker-pulls.js - Docker Hub
- Badge maker
- Standard output
Connections 4
- Invoker → Pulls badge script: runs
- Pulls badge script → Docker Hub: fetches counts
- Pulls badge script → Badge maker: creates badge
- Pulls badge script → Standard output: prints SVG