webinstall / webi-roadmap

A space where we can ideate without cluttering the main repo with stale issues
Mozilla Public License 2.0
2 stars 0 forks source link

[Feature] Webi Badge! #14

Open creedasaurus opened 3 years ago

creedasaurus commented 3 years ago

Ok. This really isn't a super amazing feature request, but I was just polishing up my readme for a bit and went down a rabbit hole. I decided to add some of those neat little "badges" or shields and dug into how to use the shields.io api. And then I got the bright idea to create a Webi badge using:

https://img.shields.io/static/v1?label=webi&message=gprox&color=6c71c4&labelColor=fdf6e3&logoWidth=10&logo=data:image/svg+xml;base64,PHN2ZyBhcmlhLWhpZGRlbj0idHJ1ZSIgZGF0YS1wcmVmaXg9ImZhcyIgZGF0YS1pY29uPSJib2x0IiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAzMjAgNTEyIiB3aWR0aD0iMzQiIGhlaWdodD0iNTYiPjxwYXRoIGZpbGw9IiM2YzcxYzQiIGQ9Ik0yOTYgMTYwSDE4MC42bDQyLjYtMTI5LjhDMjI3LjIgMTUgMjE1LjcgMCAyMDAgMEg1NkM0NCAwIDMzLjggOC45IDMyLjIgMjAuOGwtMzIgMjQwQy0xLjcgMjc1LjIgOS41IDI4OCAyNCAyODhoMTE4LjdMOTYuNiA0ODIuNWMtMy42IDE1LjIgOCAyOS41IDIzLjMgMjkuNSA4LjQgMCAxNi40LTQuNCAyMC44LTEybDE3Ni0zMDRjOS4zLTE1LjktMi4yLTM2LTIwLjctMzZ6Ii8+PC9zdmc+Cg==

Download from webinstall.dev

Which pretty much just follows the pattern:

https://img.shields.io/static/v1

query params:
label: webi
message: gprox
color: 6c71c4
labelColor: fdf6e3
logoWidth: 10
logo: data:image/svg+xml;base64,<BASE_64 OF THE WEBI BOLT SVG>

It'd be kind of cool if someone wanted to just add a badge on their repo to direct people to a recognizable link to the web installer website. Not sure if you can package the badge-url into the api somehow and let people put that on their website/github or something.

But also, I dont feel super strong about this, haha. Just thought it was kind of fun to have.

coolaj86 commented 2 years ago

I love it!

coolaj86 commented 2 years ago

@creedasaurus What was your idea on how to distribute this?

Just add it to repos & npm packages that have Webi installers?

coolaj86 commented 8 months ago

@creedasaurus Wanna try reaching out to repos that have Webi in the README and see if they like your badge idea?