https://github.com/georgeosddev/coderwall-badged-icon-generator
Create coderwall-badged-icon
https://github.com/georgeosddev/coderwall-badged-icon-generator
Last synced: 2 months ago
JSON representation
Create coderwall-badged-icon
- Host: GitHub
- URL: https://github.com/georgeosddev/coderwall-badged-icon-generator
- Owner: georgeOsdDev
- Created: 2012-09-28T10:30:04.000Z (over 12 years ago)
- Default Branch: master
- Last Pushed: 2020-03-18T10:32:46.000Z (about 5 years ago)
- Last Synced: 2025-01-20T19:33:48.634Z (4 months ago)
- Language: JavaScript
- Size: 188 KB
- Stars: 1
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: ReadMe.md
Awesome Lists containing this project
README
### coderwall-badged icon Generator
Create icon with coderwall badges.#### Demo
[Apps](http://georgeosddev.github.com/coderwall-badged-icon-generator/)#### Usage
You can use this as blogparts
1.Download cwb-icon.js & [jquery-jsonp](https://github.com/jaubourg/jquery-jsonp)
2.Include this script on last of `body` tag
3.insert output div, the result canvas will be inserted this div.
3.Setup option after dom ready
$(function(){
var option ={
source:"github", // `github` or your own file url
userName:"your coderwall username here", // enter your coderwall username
width:210, // the icon width
height:210, // the icon height
background: "rgba(186, 203, 216, 0.5)", // background of badges
badge_w: 50, // the badge width
badge_h: 50, // the badge height
proxy:"http://allow-any-origin.appspot.com/" // proxy url to access image url of another domain if you need
};// set callback
// On `success`
var success = function(){
console.log("success!");
}
// On `fail`
var fail = function(){
console.log("fail!");
}
// init
cwbIcon.init(option,success,fail);
});
#### Licence
Source code can be found on [github](https://github.com/georgeOsdDev/coderwall-badged-icon-generator), licenced under [MIT](http://opensource.org/licenses/mit-license.php). And Document can be found [Here](https://github.com/georgeOsdDev/coderwall-badged-icon-generator/blob/master/ReadMe.md).
Coderwall-badged Icon Generator is an unofficial application.
There is no relationship and responsibility with github, coderwall, and gravator.