Simple web app to open WhatsApp Web/App with a prefilled phone number and optional message. Built with hono, hono/jsx, Vite and Tailwind CSS.
- Uses a
datalistto search countries and auto-fill the calling code - Defaults country code to
+62 - Responsive, minimalist UI with Tailwind
- Redirects to
https://wa.me/{phone}?text={message}
pnpm install
pnpm devOpen http://localhost:5173.
pnpm build
pnpm cf:preview # local preview of built assets
pnpm cf:deploy # deploy with Wranglerpnpm cf-typegen- Server renders a shell in
src/index.tsxand includes the client scriptsrc/client.tsx. - Client uses
hono/jsx/domandhono/jsx/dom/clientAPIs to render and handle interactions. - Country data is fetched from
https://raw.githubusercontent.com/yehezkielgunawan/country-call-code/main/db.json.