尚未收集仓库信息。
尚未检测到更新。GitHub 发布版本后会显示在这里。
Compress JPG, PNG and WebP images in the browser – nothing is uploaded. Freemium static web app.
翻译准备中
取自仓库 README
正在加载完整 README。
查看完整 README ↗Private, in-browser image compressor. Compress, resize and convert JPG, PNG and WebP images without uploading anything: every byte is processed with the Canvas API on the user's device.
Live: https://squish-tool.vercel.app/ (placeholder – replace after deploy)
Free
localStorage; dark/light themePro (one-time, price from config.js)
{name}, {ext}, {index}, {w}, {h})index.html tool page + SEO content + FAQ (JSON-LD WebApplication + FAQPage)
styles.css _shared/base.css + app styles
app.js tool logic (vanilla JS, no build step)
monetize.js shared theme / toast / analytics / AdSense / Pro helpers
config.js window.APP_CONFIG (site URL, AdSense, GA, checkout URL, price)
privacy.html privacy policy (required for AdSense)
terms.html terms of use
robots.txt, sitemap.xml, vercel.json, favicon.svg, .gitignore
npx serve .
Then open the printed URL (usually http://localhost:3000). No build step.
Deploy the folder as a static site on Vercel (vercel --prod). After the first deploy, replace the placeholder URL everywhere:
sed -i 's/squish-tool.vercel.app/squish.example.com/g' index.html privacy.html terms.html robots.txt sitemap.xml config.js README.md
ADSENSE_CLIENT: "ca-pub-XXXXXXXXXXXXXXXX" in config.js. The three ad slots (sidebar-1, sidebar-2, below-tool) are filled automatically; until then they show a dashed placeholder. privacy.html already discloses advertising cookies.GA_ID: "G-XXXXXXX". Events tracked: add_files, generate, download, download_all, download_zip, compare_open, sample, pro_click, begin_checkout.PRO_CHECKOUT_URL. Set PRO_PRICE to match. Buyers receive a license key by email and paste it into the Pro modal ("Enter license key"). The default validation in monetize.js accepts any key of 8+ characters; replace activateLicense with a real check (e.g. Lemon Squeezy license API) before launch.AFFILIATE_LINKS in config.js and reference them from the content section (e.g. image CDN or hosting offers).