kennedyoliveira / github-basic-badges

Basic badges for github
MIT License
39 stars 73 forks source link

Can I build this on my web? #1

Closed carry0987 closed 5 years ago

carry0987 commented 7 years ago

I want to know how to build this on my website.. Thanks!

kennedyoliveira commented 7 years ago

hey @carry0987 ! Could you elaborate a little about what exactly you want to do? You need like a separate service for this, or you want to embed this? There is a explanation on the Readme on how to deploy it easily on heroku.

carry0987 commented 7 years ago

Hello,very thanks you for this reply,I mean can I build this service to my web? For Example: www.nehscsa.com is my website url,can I build this github release badge on my web? The link will be like www.nehscsa.com/release/<user>/<repo>.svg

carry0987 commented 7 years ago

I want to do this because in my country,someone is hard to connect to herokuapp.com

I will write down your name if I success build it on my web. Thanks you very much!!!

P.s. Sorry for my bad english,I am still learning it.

kennedyoliveira commented 7 years ago

hey @carry0987 , i see now, if your site is written in ruby you can, since this project is in ruby. It's using sinatra, if you are using it too, that will make a piece of cake to implement, otherwise will require some modification.

carry0987 commented 7 years ago

Thanks for your reply,but my wed site is written in js,php,html,xml.... If it can be convert to js or php,I can use this....QAQ

Thanks you very much!! This badge project is the best!

kennedyoliveira commented 7 years ago

Ah i see, well i can help you with how it works, but i have no knowledge of php, so i can't help with writing it in that language.

kennedyoliveira commented 7 years ago

Just out of curiosity, what is QAQ? It's a emoticon? haha

carry0987 commented 7 years ago

I will learn ruby and try to build it in php or js,after my university test,I will make it,if I have any questions about this,can I ask you?

P.s. QAQ is the text-emoji ,it means sad

kennedyoliveira commented 7 years ago

Ahh i didn't know this emoticon haha.

if I have any questions about this,can I ask you?

Sure, no problem, i'll be glad to help.

carry0987 commented 7 years ago

Thanks you very much!!

kennedyoliveira commented 7 years ago

Your welcome! :)

carry0987 commented 7 years ago

Hello,I want to know which version of ruby did you use to make this project? And,I saw https://img.shields.io this url in your badge_utils.rb file, can it change to other site? Example: https://www.nehscsa.com/static/status/release.svg

kennedyoliveira commented 7 years ago

Hey, i used version 2.2.3, about the url you can change, i use this site to generate the badges for me, the SVG, if your other site generates you can use without problem, just check if it supports all the semantics, like colors, etc

carry0987 commented 7 years ago

Thanks!!