Coder Social home page Coder Social logo

webadge.dev's Introduction

๐Ÿšฅ WeBadge.dev

It's just badge - built with Cloudflare Workers

I'm a huge fan of badgen.net. However, I find the images fail to load quite often. I want to use Cloudflare Workers (+ KV and maybe Unique durable object where feasible) to rebuild it.

Most of the code here is originally from badgen repo. Credits to them for building a very nice service.

The goal of this project is

  • Eventually support all badges that supported by badgen.net
  • Extremely fast but try to refresh data as quickly as possible.
  • Exclusively use Cloudflare tech stack only for learning purpose.

Contribute

  • Install @cloudflare/wrangler.
  • Make the changes.
  • Test with wrangler dev or wrangler preview.

Currently supported badges

Live badges

Preview URL
npm version /npm/v/camaro
npm license /npm/license/camaro
npm types /npm/types/camaro
npm downloads per week /npm/dw/lodash
npm downloads per month /npm/dm/lodash
npm downloads per year /npm/dy/lodash
npm downloads total /npm/dt/lodash
Travis CI (build) /travis/tuananh/camaro
Travis CI (build - branch) /travis/tuananh/camaro
Appveyor (build) /appveyor/tuananh/camaro
Appveyor (build - branch) /appveyor/tuananh/camaro/master
bundlephobia min /bundlephobia/min/camaro
bundlephobia minzip /bundlephobia/minzip/camaro
bundlephobia tree-shaking /bundlephobia/tree-shaking/camaro
bundlephobia tree-shaking /bundlephobia/tree-shaking/date-fns
packagephobia publish size /packagephobia/publish/camaro
packagephobia install size /packagephobia/install/camaro
packagephobia scoped pkg /packagephobia/publish/@tusbar/cache-control
GitHub releases count /github/releases/tuananh/camaro
GitHub tags count /github/tags/tuananh/camaro
GitHub latest release /github/release/tuananh/camaro
GitHub stars /github/stars/tuananh/camaro
GitHub watchers /github/watchers/tuananh/camaro
GitHub forks /github/forks/tuananh/camaro
GitHub issues /github/issues/tuananh/camaro
GitHub open issues /github/open-issues/tuananh/camaro
GitHub closed issues /github/closed-issues/tuananh/camaro
GitHub pull requests /github/prs/tuananh/camaro
GitHub open pull requests /github/open-prs/tuananh/camaro
GitHub closed pull requests /github/closed-prs/tuananh/camaro
GitHub merged pull requests /github/merged-prs/tuananh/camaro
VS Marketplace version /vs-marketplace/v/buianhthang.xml2json
VS Marketplace installs /vs-marketplace/i/buianhthang.xml2json
VS Marketplace downloads /vs-marketplace/d/buianhthang.xml2json
VS Marketplace rating /vs-marketplace/rating/buianhthang.xml2json
Docker pulls /docker/pulls/library/ubuntu
Docker size /docker/size/library/ubuntu
Docker star /docker/stars/library/ubuntu
Docker stars (icon & label) /docker/stars/library/mongo?icon=docker&label=stars
Docker size (scoped/tag/architecture) /docker/size/lukechilds/bitcoind/latest/amd64
Docker size (scoped/tag/architecture/variant) /docker/size/lucashalbert/curl/latest/arm/v6

Static badges

Preview URL
Swift version /badge/Swift/4.2/orange
License MIT /badge/license/MIT/blue
Chat on Gitter /badge/chat/on%20gitter/cyan
star rating /badge/stars/โ˜…โ˜…โ˜…โ˜…โ˜†
patron /badge/become/a%20patron/F96854
code style: standard /badge/code%20style/standard/f2a

Other styling options

Preview URL
flat style /badge/Swift/4.2/orange?style=flat
color /npm/v/camaro?color=yellow
label /npm/v/camaro?label=npm%20registry
labelColor /npm/v/camaro?labelColor=red
list /badge/registry/npm,github/green?list=
icon /npm/v/camaro?icon=
icon (custom) /npm/v/camaro?icon=github

webadge.dev's People

Contributors

anhthang avatar tuananh avatar tuananh-teko avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

webadge.dev's Issues

better router

refactor a bit the router example from CF to include better route regex with name param, etc...

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.