Skip to content

or-yam/wilcobadge

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Sep 23, 2023
d210cd7 · Sep 23, 2023

History

43 Commits
Sep 23, 2023
Sep 23, 2023
Mar 20, 2023
Mar 7, 2023
Mar 20, 2023
Mar 16, 2023
Sep 23, 2023
Mar 16, 2023

Repository files navigation

wilcobadge

A dynamic Wilco stats badge generator

How to use

Just use this url with your Wilco user-name inside an image tag:

https://wilcobadge.vercel.app/api/handler?wilconame=<YOUR WILCO USER-NAME>

Example:

<img src="https://wilcobadge.vercel.app/api/handler?wilconame=or-yam" />

Info

Built with Typescript and deployed to Vercel edge functions. The function fetch the user data from the Wilco API and generate SVG based on the user's data.

info

Loading
 graph LR;
      Client==>Vercel-Function{{Vercel-Function}};
      Vercel-Function==>Wilco-API{{Wilco-API}};
      Wilco-API-->Vercel-Function;
      Vercel-Function-->Client;
      style Vercel-Function fill:#a4a4a7
      style Wilco-API fill:#dc30b3
      style Wilco-API color:#fff
      style Client fill:#5021ee
      style Client color:#fff