Webply is a small Next.js app for converting PNG images to WebP. The interface uses a dark theme, supports up to 5 PNG uploads at once, shows the converted WebP file size after success, and lets the user either download files one by one or grab all converted files as a ZIP.
Created by nyeinminhtet.
- Drag-and-drop PNG upload
- Up to 5 PNG files per batch
- Separate convert, per-file download, and ZIP download actions
- Converted WebP filename and file size shown in the UI
- API route powered by
sharp - ZIP archive route powered by the system
ziputility - App metadata,
sitemap.xml, androbots.txtsupport
- Next.js 15
- React 19
- TypeScript
- Sharp
Install dependencies:
npm installStart the development server:
npm run devBuild for production:
npm run buildRun the production server:
npm run startSet NEXT_PUBLIC_SITE_URL to your deployed site URL so metadata, sitemap.xml, and robots.txt use the correct host.
Example:
NEXT_PUBLIC_SITE_URL=https://your-domain.comIf this variable is not set, the app falls back to http://localhost:3000.
app/
api/convert/route.ts
api/zip/route.ts
globals.css
layout.tsx
page.tsx
robots.ts
sitemap.ts
components/
converter-client.tsx
lib/
site.ts
app/page.tsxis a server component.- Interactive upload and conversion logic lives in
components/converter-client.tsx. - The converter accepts PNG input only.