<?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: tinko</title>
    <description>The latest articles on DEV Community by tinko (@tinko-ai).</description>
    <link>https://dev.to/tinko-ai</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%2F4272196%2F925bfcdd-9688-4aee-b572-0660c8b64ec9.png</url>
      <title>DEV Community: tinko</title>
      <link>https://dev.to/tinko-ai</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/tinko-ai"/>
    <language>en</language>
    <item>
      <title>How I built MELD by Tinko: A 100% local image editor (and let AI write the ZIP parsing logic)</title>
      <dc:creator>tinko</dc:creator>
      <pubDate>Sun, 29 Nov 2026 11:40:13 +0000</pubDate>
      <link>https://dev.to/tinko-ai/how-i-built-meld-by-tinko-a-100-local-image-editor-and-let-ai-write-the-zip-parsing-logic-1jp5</link>
      <guid>https://dev.to/tinko-ai/how-i-built-meld-by-tinko-a-100-local-image-editor-and-let-ai-write-the-zip-parsing-logic-1jp5</guid>
      <description>&lt;p&gt;Hey DEV community! 👋&lt;/p&gt;

&lt;p&gt;I've been working on &lt;strong&gt;MELD&lt;/strong&gt; (&lt;a href="https://melds.pages.dev" rel="noopener noreferrer"&gt;https://melds.pages.dev&lt;/a&gt;), a lightweight, browser-based image editor. My main goal was to make it &lt;strong&gt;100% local&lt;/strong&gt; (no backend, no forced signups) and keep the stack as pure as possible (Vanilla JS + Fabric.js).&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;The Project File Challenge&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;I wanted users to be able to save their work as a custom &lt;code&gt;.meld&lt;/code&gt; file. Instead of a giant JSON file, I decided to make it a standard ZIP archive containing &lt;code&gt;manifest.json&lt;/code&gt;, layer data, and a &lt;code&gt;preview.png&lt;/code&gt; (similar to how &lt;code&gt;.sketch&lt;/code&gt; or &lt;code&gt;.docx&lt;/code&gt; works).&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;The AI Magic&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;Here is the funny part: I didn't want to import a heavy library like JSZip just to read and write a simple zip file. I asked my AI pair programmer (DeepSeek) to help me implement the import/export logic using native JS.&lt;/p&gt;

&lt;p&gt;I didn't even ask for extreme optimization. I just said: &lt;em&gt;"Make it work with the native browser APIs."&lt;/em&gt;&lt;/p&gt;

&lt;p&gt;To my surprise, the AI actually wrote a minimal ZIP parser from scratch. It used &lt;code&gt;DataView&lt;/code&gt; to manually build Local File Headers and Central Directories, calculated CRC32 checksums, and used the native &lt;code&gt;DecompressionStream('deflate-raw')&lt;/code&gt; API for extraction. It completely bypassed the need for third-party libraries.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Why this matters:&lt;/strong&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Zero dependencies:&lt;/strong&gt; The bundle size stays tiny.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;The AI workflow:&lt;/strong&gt; It proved to me that as developers, we can act as "architects" while AI handles the heavy lifting of binary parsing and complex math.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;strong&gt;What's Next?&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;I plan to use Cloudflare Workers to proxy AI requests (like background removal) so the API keys stay secure. The base editor is completely free and runs locally.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Try it out here (Best on Mac/iPad):&lt;/strong&gt; &lt;a href="https://melds.pages.dev" rel="noopener noreferrer"&gt;https://melds.pages.dev&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;I'd love to hear your thoughts! Have you guys ever asked AI for a simple function and it ended up writing half an operating system? 😂&lt;/p&gt;

</description>
      <category>ai</category>
      <category>webdev</category>
      <category>javascript</category>
      <category>showdev</category>
    </item>
  </channel>
</rss>
