Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Kong Hub Badges #908

Closed
peter-evans opened this issue Sep 26, 2018 · 5 comments
Closed

Kong Hub Badges #908

peter-evans opened this issue Sep 26, 2018 · 5 comments
Assignees

Comments

@peter-evans
Copy link
Contributor

This is just an idea but it might be cool to have official Kong Hub badges for third-party plugins.
Plugin maintainers could use them on their GitHub repositories to link to the plugin on Kong Hub.

I made the badge below using shields.io for use on kong-plugin-paseto.

Kong Hub

@arshadkazmi42
Copy link
Contributor

What exactly needs to be done here? Seems like badge is already ready.

@peter-evans
Copy link
Contributor Author

The badge I made is served from shields.io and the image URL is rather long and messy due to the embedded logo.

[![Kong Hub](https://img.shields.io/badge/Kong-PASETO-blue.svg?colorA=042943&colorB=00C4BB&style=flat&longCache=true&logo=data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABQAAAAUCAIAAAAC64paAAAABGdBTUEAALGPC/xhBQAAAAlwSFlzAAAOwgAADsIBFShKgAAAABl0RVh0U29mdHdhcmUAcGFpbnQubmV0IDQuMC4xOdTWsmQAAAIcSURBVDhPY2DRdCYb0Vgzh46btlcCmiAEEdDMb+w9a+Xmr99/FHdM49R1R5PFp5nPyHvfifP/weDvv39LNu4SMfdHVoBPs2VY9q4jpx8+ewnRDwRHz13h1veAK8CpmdfQq6xrRt2EeS7xxc9evYVovvf4mbhlIFwNTs1JlV1///4Fajh96UZIbt2nL1+B7B8/fznGFsDVYNcsYRX04jXUtn///m3ae7SgZcrnr9/aZixBDjYsmnn0Pe2j85++fAPRDAR///6btGitWXAGu7Yrskp0zaLmAWt2HLxy+35UUcvHzyCnQsCv37/zWiaxabkgK0ZoFrMIMA3OOH/t9j+w6j3HzmbW9wE9CeaBwJdv30PyGuDqgQiqWdDU9/TlG99//IQqBHt1wbodjZMX/PnzByr0///rdx+sI3JQNAMT4ML1O6HySOD3nz+FbVOBUsAUAhUCx5aqawxCc2HbFKA9UEmwHqATgOjdx092UXmCJr57j5+DyoHBqUs3RC0CoJqRXfv795/sxol+GVVA5JJQzK3vCVQgZx92+eY9qApI5O07BtUMFQODGcs3RRY1v3zzHug9IJq4cA3QU0A1+r7JT168hir6/x/IZtVyQdF85spNYGYAOunh0xcQEWAM5TRNBKoBIo/ksi9fv0PEgdEJFAFpvnbnARBduH4Hnm+BKQkiCETAMGfTBkWviJn/3mNnIYKp1d1QzWQiTWcA1wsS5+E9q+MAAAAASUVORK5CYII=)](https://docs.konghq.com/hub/peter-evans/paseto/)

I think it would be great to have official badges served from konghq.com. As it's a static site I guess they would need to be generated at build time and the static images for each badge deployed with the site relative to their plugin page.

For example:

https://docs.konghq.com/hub/peter-evans/paseto/badge.svg

Then the badge markdown would simply be:

[![Kong Hub](https://docs.konghq.com/hub/peter-evans/badge.svg)](https://docs.konghq.com/hub/peter-evans/paseto/)

@arshadkazmi42
Copy link
Contributor

@peter-evans Got it.
I think we can create an assets directory if it does not exist already and add the badge svg in it.

Can someone confirm on this? Which approach would be better?

@vyaspranjal33
Copy link

@arshadkazmi42 serving badge through shields.io would be better assets directory is there ,but its used by organization to serve images directly relevant to docs , i used to add License badge from shields site

@falondarville
Copy link
Contributor

We've added badge info to this project README. We're not current hosting assets but this allows plugin contributors to easily input their plugin name and then paste the code to their repo README. Thank you @peter-evans!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants