huyhieu
Val Town is a collaborative website to build and scale JavaScript apps.
Deploy APIs, crons, & store data – all from the browser, and deployed in milliseconds.
Viewing readonly version of main branch: v93View latest version
A simple, flat, and minimalistic badge generator that can embed a website's favicon and custom text. Built with Hono and Deno.
This service is hosted on ValTown for instant, serverless deployment and sharing.
- Flat, modern SVG badges
- Embeds a website's favicon (ICO)
- Customizable label and value text
- Three badge sizes: small, medium, large
- Customizable border radius (default: 0)
- Parallelogram shape
- Sensible defaults (shows 'huy hieu' if no text provided)
- Fast and lightweight
/huyhieu?url=<website>&label=<label>&value=<value>&color=<color>&textcolor=<textcolor>&size=<size>&radius=<radius>&shape=<shape>
url
(optional): Website to fetch favicon fromlabel
(optional): Left text (default: 'huy' if both label and value are missing)value
(optional): Right text (default: 'hieu' if both label and value are missing)color
(optional): Right background color (default: green, supports hex codes)textcolor
(optional): Right text color (default: white, supports hex codes)size
(optional): Badge size (small
,medium
,large
, default:small
)radius
(optional): Border radius in px (default: 0, only forrect
)shape
(optional): Badge shape (rect
,parallelogram
, etc.; default:rect
)
- Only favicon:
/huyhieu?url=github.com
- Favicon + label:
/huyhieu?url=github.com&label=GitHub
- Favicon + value:
/huyhieu?url=github.com&value=Text
- Favicon + both:
/huyhieu?url=github.com&label=GitHub&value=Text
- Custom color:
/huyhieu?url=github.com&label=GitHub&value=Text&color=blue&textcolor=cyan
- Small size:
/huyhieu?url=github.com&label=GitHub&value=Text&size=small
- Large size:
/huyhieu?url=github.com&label=GitHub&value=Text&size=large
- Custom border radius:
/huyhieu?url=github.com&label=GitHub&value=Text&radius=10
- Parallelogram shape:
/huyhieu?url=github.com&label=GitHub&value=Text&shape=parallelogram
- Default (no params):
/huyhieu
→ shows 'huy hieu'
If you use Deno and ValTown for the first time, you may need to add it to your PATH:
# Set deno to path set PATH=%PATH%;%USERPROFILE%\.deno\bin # Install vt deno install -grAf jsr:@valtown/vt # Run in local deno run --allow-net main.js