<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>DEV Community: TinySharp</title>
    <description>The latest articles on DEV Community by TinySharp (@tinysharp_8b688d65139fe42).</description>
    <link>https://dev.to/tinysharp_8b688d65139fe42</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F3540192%2Fed1fbc92-9654-4894-9b10-30a41c3ae009.png</url>
      <title>DEV Community: TinySharp</title>
      <link>https://dev.to/tinysharp_8b688d65139fe42</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/tinysharp_8b688d65139fe42"/>
    <language>en</language>
    <item>
      <title>The Media Library rot nobody checks until it's a problem</title>
      <dc:creator>TinySharp</dc:creator>
      <pubDate>Wed, 15 Jul 2026 15:26:24 +0000</pubDate>
      <link>https://dev.to/tinysharp_8b688d65139fe42/the-media-library-rot-nobody-checks-until-its-a-problem-g6c</link>
      <guid>https://dev.to/tinysharp_8b688d65139fe42/the-media-library-rot-nobody-checks-until-its-a-problem-g6c</guid>
      <description>&lt;p&gt;If you've maintained a WordPress site for more than a couple of years, you've probably got this somewhere in your Media Library: thumbnail files that reference sizes your theme stopped using two redesigns ago, files that went missing after a host migration, and srcset entries pointing at images that 404 silently in production.&lt;/p&gt;

&lt;p&gt;WordPress core doesn't give you a way to see this. wp media regenerate (if you even have WP-CLI access) regenerates everything, blindly, whether it's needed or not — which is slow, wastes disk I/O, and doesn't tell you what was actually broken in the first place.&lt;/p&gt;

&lt;p&gt;That's the gap I built TinySharp Thumbnails to close.&lt;/p&gt;

&lt;p&gt;What it actually does&lt;/p&gt;

&lt;p&gt;Audits your Media Library and flags missing files, outdated dimensions, and orphaned sizes — before touching anything&lt;br&gt;
Repairs only what's broken instead of blind full-library regeneration&lt;br&gt;
Resumable jobs — if you're on shared hosting with execution time limits, the job picks back up instead of dying halfway through a 10k-image library&lt;br&gt;
No telemetry — it doesn't phone home. What it checks stays on your site.&lt;/p&gt;

&lt;p&gt;It's a free, standalone plugin — no account, no API key, no dependency on any other TinySharp product.&lt;/p&gt;

&lt;p&gt;Why I built it this way&lt;/p&gt;

&lt;p&gt;Most "optimize your media library" tools I found either (a) require you to nuke and rebuild everything, or (b) are bundled inside a bigger paid tool where the actual audit logic is locked behind a paywall. Neither felt right for something as basic as "tell me what's actually broken."&lt;/p&gt;

&lt;p&gt;Try it&lt;/p&gt;

&lt;p&gt;It's live on WordPress.org: TinySharp Thumbnail Audit &amp;amp; Repair&lt;/p&gt;

&lt;p&gt;If you run it on a site with a large or old Media Library, I'd genuinely like to hear what it finds — especially edge cases. Still early days on this one, so bug reports and feature requests are welcome.&lt;/p&gt;

</description>
      <category>performance</category>
      <category>showdev</category>
      <category>tooling</category>
      <category>wordpress</category>
    </item>
    <item>
      <title>How I Built a Free Image Optimization API (with WordPress Plugin Integration)</title>
      <dc:creator>TinySharp</dc:creator>
      <pubDate>Tue, 30 Sep 2025 16:51:26 +0000</pubDate>
      <link>https://dev.to/tinysharp_8b688d65139fe42/how-i-built-a-free-image-optimization-api-with-wordpress-plugin-integration-1g98</link>
      <guid>https://dev.to/tinysharp_8b688d65139fe42/how-i-built-a-free-image-optimization-api-with-wordpress-plugin-integration-1g98</guid>
      <description>&lt;p&gt;Modern websites live and die by performance. Large, unoptimized images are still one of the biggest reasons pages load slowly — especially on eCommerce and WordPress sites.&lt;/p&gt;

&lt;p&gt;That’s why I built &lt;a href="https://tinysharp.com/" rel="noopener noreferrer"&gt;TinySharp&lt;/a&gt;, a free image optimizer that comes with:&lt;/p&gt;

&lt;p&gt;🌐 API access (beta) — for developers who want to integrate image compression directly into their workflow.&lt;/p&gt;

&lt;p&gt;🔌 WordPress plugin — so site owners can bulk-optimize their Media Library without leaving the dashboard.&lt;/p&gt;

&lt;p&gt;🛠️ Free web tools — quick drag-and-drop optimizers for everyday use.&lt;/p&gt;

&lt;p&gt;Example: Using the TinySharp API with Node.js&lt;/p&gt;

&lt;p&gt;Here’s a minimal snippet showing how you can send an image to the API and get a compressed WebP version back:&lt;/p&gt;

&lt;p&gt;import fetch from "node-fetch";&lt;br&gt;
import fs from "fs";&lt;/p&gt;

&lt;p&gt;async function optimizeImage() {&lt;br&gt;
  const res = await fetch("&lt;a href="https://api.tinysharp.com/optimize" rel="noopener noreferrer"&gt;https://api.tinysharp.com/optimize&lt;/a&gt;", {&lt;br&gt;
    method: "POST",&lt;br&gt;
    headers: { "Authorization": "Bearer YOUR_API_KEY" },&lt;br&gt;
    body: JSON.stringify({&lt;br&gt;
      url: "&lt;a href="https://example.com/image.jpg" rel="noopener noreferrer"&gt;https://example.com/image.jpg&lt;/a&gt;",&lt;br&gt;
      format: "webp",&lt;br&gt;
      quality: 80&lt;br&gt;
    })&lt;br&gt;
  });&lt;/p&gt;

&lt;p&gt;const buffer = await res.arrayBuffer();&lt;br&gt;
  fs.writeFileSync("optimized.webp", Buffer.from(buffer));&lt;br&gt;
}&lt;/p&gt;

&lt;p&gt;optimizeImage();&lt;/p&gt;

&lt;p&gt;This snippet fetches a remote image, compresses it via TinySharp, and saves it locally as WebP.&lt;/p&gt;

&lt;p&gt;Why I Open-Sourced a Free Optimizer&lt;/p&gt;

&lt;p&gt;There are paid tools out there (TinyPNG, Cloudinary, etc.), but I wanted to create something developer-friendly, free to start, and with WordPress support out of the box.&lt;/p&gt;

&lt;p&gt;⚡ Results: Reduce images from 1.5 MB → a few KB without visible quality loss.&lt;/p&gt;

&lt;p&gt;📦 Integration: WordPress plugin for non-tech users.&lt;/p&gt;

&lt;p&gt;🔑 API: Simple JSON interface for devs.&lt;br&gt;
Try the free audit tool → TinySharp Audit&lt;/p&gt;

&lt;p&gt;Install the WordPress plugin (beta)&lt;/p&gt;

&lt;p&gt;Or play with the API directly (docs + Postman collection included)&lt;/p&gt;

&lt;p&gt;Would love feedback from other devs — what integrations would you find most useful? (Next.js, Gatsby, Shopify, something else?)&lt;/p&gt;

</description>
      <category>showdev</category>
      <category>api</category>
      <category>performance</category>
      <category>wordpress</category>
    </item>
  </channel>
</rss>
