<?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: toolzip</title>
    <description>The latest articles on DEV Community by toolzip (@toolzip_7e9a28bbade).</description>
    <link>https://dev.to/toolzip_7e9a28bbade</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%2F4101211%2F58cfd877-edb6-4129-be18-04eaa499ffe5.png</url>
      <title>DEV Community: toolzip</title>
      <link>https://dev.to/toolzip_7e9a28bbade</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/toolzip_7e9a28bbade"/>
    <language>en</language>
    <item>
      <title>I built a free browser-based image &amp; utility toolkit — here's what I learned</title>
      <dc:creator>toolzip</dc:creator>
      <pubDate>Mon, 31 Aug 2026 13:12:04 +0000</pubDate>
      <link>https://dev.to/toolzip_7e9a28bbade/i-built-a-free-browser-based-image-utility-toolkit-heres-what-i-learned-2flj</link>
      <guid>https://dev.to/toolzip_7e9a28bbade/i-built-a-free-browser-based-image-utility-toolkit-heres-what-i-learned-2flj</guid>
      <description>&lt;h2&gt;
  
  
  Why I Built ToolZip
&lt;/h2&gt;

&lt;p&gt;A few months ago, I needed to compress some images for a client project. I searched for a free online tool, found one, uploaded my files — and then realized I had no idea what they were doing with those files on their servers.&lt;/p&gt;

&lt;p&gt;That bothered me. So I built &lt;a href="https://www.toolzip.app" rel="noopener noreferrer"&gt;ToolZip&lt;/a&gt; — a collection of browser-based tools where &lt;strong&gt;everything runs locally&lt;/strong&gt;. No files ever leave your device.&lt;/p&gt;




&lt;h2&gt;
  
  
  What It Does
&lt;/h2&gt;

&lt;p&gt;ToolZip currently has 18 tools across several categories:&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Image tools&lt;/strong&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Compress JPG &amp;amp; PNG (using &lt;code&gt;browser-image-compression&lt;/code&gt;)&lt;/li&gt;
&lt;li&gt;Convert HEIC → JPG (iPhone photos, using &lt;code&gt;heic2any&lt;/code&gt;)&lt;/li&gt;
&lt;li&gt;Convert WEBP → JPG/PNG&lt;/li&gt;
&lt;li&gt;Resize, crop, rotate&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;strong&gt;Developer tools&lt;/strong&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;JSON formatter with error highlighting and line numbers&lt;/li&gt;
&lt;li&gt;URL encoder/decoder with query string parser&lt;/li&gt;
&lt;li&gt;Base64 encoder/decoder (supports images too)&lt;/li&gt;
&lt;li&gt;Unix timestamp converter (live current time display)&lt;/li&gt;
&lt;li&gt;Color converter (HEX ↔ RGB ↔ HSL with palette generator)&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;strong&gt;Utilities&lt;/strong&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;QR code &amp;amp; barcode generator&lt;/li&gt;
&lt;li&gt;Password generator (Web Crypto API)&lt;/li&gt;
&lt;li&gt;Special characters &amp;amp; emoji copy tool&lt;/li&gt;
&lt;li&gt;3D file viewer (OBJ, GLB, FBX, STL, BVH, PLY)&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;strong&gt;Tech stack:&lt;/strong&gt; Next.js 14 (App Router), deployed on Vercel, all processing via Canvas API and Web Workers.&lt;/p&gt;




&lt;h2&gt;
  
  
  The Hardest Part: EAN-13 Barcodes
&lt;/h2&gt;

&lt;p&gt;I want to share one specific challenge that took way longer than expected: &lt;strong&gt;rendering EAN-13 barcodes with the EAN-5 add-on correctly&lt;/strong&gt;.&lt;/p&gt;

&lt;p&gt;The library I used (&lt;code&gt;bwip-js&lt;/code&gt;) has a known bug where enabling &lt;code&gt;includetext: true&lt;/code&gt; causes the text digits to overlap with the bars when an add-on code is present.&lt;/p&gt;

&lt;p&gt;My first instinct was to set &lt;code&gt;includetext: false&lt;/code&gt; and manually position the text. But this removed the guard bars (the longer bars at the edges and center of an EAN-13 barcode) — which are actually encoded as part of the &lt;code&gt;includetext&lt;/code&gt; rendering logic.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;The solution:&lt;/strong&gt; Keep &lt;code&gt;includetext: true&lt;/code&gt; (to preserve guard bars), extract and remove the glyph paths from the SVG, then re-render the digits as &lt;code&gt;&amp;lt;text&amp;gt;&lt;/code&gt; SVG elements at the correct positions.&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight javascript"&gt;&lt;code&gt;&lt;span class="c1"&gt;// Server-side (Next.js API route)&lt;/span&gt;
&lt;span class="kd"&gt;const&lt;/span&gt; &lt;span class="nx"&gt;rawSvg&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="nx"&gt;bwipjs&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;toSVG&lt;/span&gt;&lt;span class="p"&gt;({&lt;/span&gt;
  &lt;span class="na"&gt;bcid&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="dl"&gt;'&lt;/span&gt;&lt;span class="s1"&gt;ean13&lt;/span&gt;&lt;span class="dl"&gt;'&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
  &lt;span class="na"&gt;text&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="dl"&gt;'&lt;/span&gt;&lt;span class="s1"&gt;9791190333146 07810&lt;/span&gt;&lt;span class="dl"&gt;'&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
  &lt;span class="na"&gt;scale&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="mi"&gt;2&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
  &lt;span class="na"&gt;height&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="mi"&gt;10&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
  &lt;span class="na"&gt;includetext&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="kc"&gt;true&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;  &lt;span class="c1"&gt;// ← must stay true (guard bars)&lt;/span&gt;
  &lt;span class="na"&gt;guardwhitespace&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="kc"&gt;true&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
&lt;span class="p"&gt;});&lt;/span&gt;

&lt;span class="c1"&gt;// Remove digit glyphs, re-add as &amp;lt;text&amp;gt; elements&lt;/span&gt;
&lt;span class="c1"&gt;// with correct x positions calculated from bar positions&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;For the EAN-5 add-on digits, I had to render them as &lt;strong&gt;strings&lt;/strong&gt;, not numbers — because &lt;code&gt;07810&lt;/code&gt; rendered as a number becomes &lt;code&gt;7810&lt;/code&gt; (leading zero disappears).&lt;/p&gt;

&lt;p&gt;Small detail, big headache. 😅&lt;/p&gt;




&lt;h2&gt;
  
  
  The 3D Viewer Challenge
&lt;/h2&gt;

&lt;p&gt;Another interesting part was building the 3D file viewer.&lt;/p&gt;

&lt;p&gt;I initially loaded Three.js via CDN and referenced it as &lt;code&gt;window.THREE&lt;/code&gt;. This caused intermittent failures because the script hadn't finished loading when the component initialized.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Fix:&lt;/strong&gt; Switch to npm import.&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight javascript"&gt;&lt;code&gt;&lt;span class="k"&gt;import&lt;/span&gt; &lt;span class="o"&gt;*&lt;/span&gt; &lt;span class="k"&gt;as&lt;/span&gt; &lt;span class="nx"&gt;THREE&lt;/span&gt; &lt;span class="k"&gt;from&lt;/span&gt; &lt;span class="dl"&gt;"&lt;/span&gt;&lt;span class="s2"&gt;three&lt;/span&gt;&lt;span class="dl"&gt;"&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Simple, but it took me an embarrassingly long time to diagnose.&lt;/p&gt;

&lt;p&gt;For BVH (motion capture) files, the challenge was different. BVH bone coordinates are in centimeter scale (hundreds of units), so I had to:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;Add root bones to a group&lt;/li&gt;
&lt;li&gt;Calculate bounding box from bone positions directly&lt;/li&gt;
&lt;li&gt;Apply scale&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Then&lt;/strong&gt; call &lt;code&gt;group.updateWorldMatrix(true, true)&lt;/code&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Then&lt;/strong&gt; create &lt;code&gt;SkeletonHelper(group)&lt;/code&gt;
&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;Order matters — creating the helper before updating the matrix results in incorrect bone positions.&lt;/p&gt;




&lt;h2&gt;
  
  
  What I'd Do Differently
&lt;/h2&gt;

&lt;p&gt;&lt;strong&gt;1. Lazy load tool components from the start&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;All 18 tools currently live in one large JSX file (~5,000 lines). It works, but as the tool count grows this will affect initial load time. I'm planning to split them into separate files with dynamic imports.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;2. Server-side generation for complex outputs&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;The barcode generator taught me that some things are better handled server-side. Browser rendering of the same library can differ from Node.js rendering in subtle ways. I moved barcode generation to a Next.js API route, which resolved all inconsistencies.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;3. Test with real files earlier&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;I discovered most BVH and FBX edge cases only after users started uploading their actual files. A broader test dataset would have saved time.&lt;/p&gt;




&lt;h2&gt;
  
  
  Traffic &amp;amp; SEO Notes
&lt;/h2&gt;

&lt;p&gt;ToolZip launched about a week ago. Here's what I've noticed so far:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Google Search Console shows the sitemap was accepted (13+ pages indexed)&lt;/li&gt;
&lt;li&gt;No organic traffic yet — expected for a new domain&lt;/li&gt;
&lt;li&gt;The "no server upload" angle resonates well in communities like Reddit&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;I'm writing Korean blog posts targeting local SEO as well, since that's my primary market for now.&lt;/p&gt;




&lt;h2&gt;
  
  
  What's Next
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;Hash generator (MD5, SHA-256 via Web Crypto API)&lt;/li&gt;
&lt;li&gt;Regex tester&lt;/li&gt;
&lt;li&gt;Markdown preview&lt;/li&gt;
&lt;li&gt;More 3D formats (MMD/PMX for the anime community)&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;If you try ToolZip and something doesn't work as expected, I'd genuinely appreciate feedback — either here in the comments or at &lt;a href="mailto:hello@toolzip.app"&gt;hello@toolzip.app&lt;/a&gt;.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Live site:&lt;/strong&gt; &lt;a href="https://www.toolzip.app" rel="noopener noreferrer"&gt;toolzip.app&lt;/a&gt;&lt;/p&gt;

</description>
      <category>webdev</category>
      <category>javascript</category>
      <category>nextjs</category>
      <category>opensource</category>
    </item>
  </channel>
</rss>
