<?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: visiohex</title>
    <description>The latest articles on DEV Community by visiohex (@hex_builder).</description>
    <link>https://dev.to/hex_builder</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%2F3765913%2F6890e795-c29f-462e-a420-54ad45b80086.png</url>
      <title>DEV Community: visiohex</title>
      <link>https://dev.to/hex_builder</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/hex_builder"/>
    <language>en</language>
    <item>
      <title>Static Package Inspection of Minecraft AI Mods: Auditing Verity JE 6.0.0 (.jar) and Bedrock Add-Ons Without Running Code</title>
      <dc:creator>visiohex</dc:creator>
      <pubDate>Sat, 28 Nov 2026 13:53:59 +0000</pubDate>
      <link>https://dev.to/hex_builder/static-package-inspection-of-minecraft-ai-mods-auditing-verity-je-600-jar-and-bedrock-add-ons-1die</link>
      <guid>https://dev.to/hex_builder/static-package-inspection-of-minecraft-ai-mods-auditing-verity-je-600-jar-and-bedrock-add-ons-1die</guid>
      <description>&lt;p&gt;Viral Minecraft AI mods have a trust problem. Search for &lt;code&gt;verity mod download&lt;/code&gt; and you immediately hit fake repost domains, re-hosted &lt;code&gt;.jar&lt;/code&gt; mirrors, and outdated setup videos that mix up Forge 1.20.1, legacy NeoForge 1.21.1, and two completely separate Bedrock add-on projects.&lt;/p&gt;

&lt;p&gt;While maintaining &lt;a href="https://veritymod.org/" rel="noopener noreferrer"&gt;Verity Mod Guide&lt;/a&gt; — an independent, unofficial reference site that deliberately refuses to host mod binaries — I wanted a repeatable way to verify what is actually inside each upstream release &lt;strong&gt;without running unknown code or launching a modded client&lt;/strong&gt;.&lt;/p&gt;

&lt;p&gt;Here is the zero-dependency Node.js static inspection workflow I built (open-sourced at &lt;a href="https://github.com/liuyan-wjy/verity-mod-static-inspector" rel="noopener noreferrer"&gt;verity-mod-static-inspector&lt;/a&gt;), plus what inspecting the official &lt;strong&gt;Verity JE 6.0.0&lt;/strong&gt; stable &lt;code&gt;.jar&lt;/code&gt; reveals about its new local Ollama architecture, VRAM requirements, and the #1 config mistake causing &lt;code&gt;401&lt;/code&gt;/&lt;code&gt;429&lt;/code&gt; errors.&lt;/p&gt;




&lt;h2&gt;
  
  
  1. What a Static Mod Package Audit Checks
&lt;/h2&gt;

&lt;p&gt;Because Java &lt;code&gt;.jar&lt;/code&gt; files, Bedrock &lt;code&gt;.mcaddon&lt;/code&gt; packs, and helper &lt;code&gt;.zip&lt;/code&gt; bundles are all standard ZIP archives, you can inspect them safely with Node.js &lt;code&gt;crypto&lt;/code&gt; + &lt;code&gt;unzip -p&lt;/code&gt; without executing a single bytecode instruction:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;
&lt;strong&gt;SHA-256 fingerprint &amp;amp; archive size&lt;/strong&gt; — detects tampered mirrors immediately.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;&lt;code&gt;META-INF/mods.toml&lt;/code&gt; (Java) or &lt;code&gt;manifest.json&lt;/code&gt; (Bedrock)&lt;/strong&gt; — confirms exact loader ranges, mandatory dependencies, and script API capabilities.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Bundled archives and native libraries&lt;/strong&gt; — surfaces embedded &lt;code&gt;.zip&lt;/code&gt;, &lt;code&gt;.onnx&lt;/code&gt;, &lt;code&gt;.dll&lt;/code&gt;, &lt;code&gt;.so&lt;/code&gt;, or helper scripts (&lt;code&gt;.py&lt;/code&gt;, &lt;code&gt;.sh&lt;/code&gt;, &lt;code&gt;.bat&lt;/code&gt;).&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Printable bytecode string signals&lt;/strong&gt; — extracts outbound API endpoints, localhost ports, default config enums, and verbatim chat/log error messages.&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;You can run the standalone script locally:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;node inspect-package.mjs /path/to/verity-6.0.0.jar
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;






&lt;h2&gt;
  
  
  2. Verified Findings From &lt;code&gt;verity-6.0.0.jar&lt;/code&gt; (Modrinth &lt;code&gt;BAk03uPV&lt;/code&gt;)
&lt;/h2&gt;

&lt;p&gt;Inspecting the official October 23, 2026 stable release from Modrinth (&lt;code&gt;verity-je-official&lt;/code&gt;) gives a clean baseline:&lt;/p&gt;

&lt;div class="table-wrapper-paragraph"&gt;&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;Property&lt;/th&gt;
&lt;th&gt;Verified Static Inspection Result&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;File&lt;/td&gt;
&lt;td&gt;&lt;code&gt;verity-6.0.0.jar&lt;/code&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Size&lt;/td&gt;
&lt;td&gt;
&lt;code&gt;256,881,551&lt;/code&gt; bytes (&lt;code&gt;641&lt;/code&gt; entries)&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;SHA-256&lt;/td&gt;
&lt;td&gt;&lt;code&gt;f76f641f17ea3e3b2e8486596790ae65c27c2b016fae6ed8557c67887816b7d0&lt;/code&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Loader &amp;amp; Minecraft&lt;/td&gt;
&lt;td&gt;Forge &lt;code&gt;[47,)&lt;/code&gt; on Minecraft &lt;code&gt;[1.20.1,1.21)&lt;/code&gt;
&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Mandatory Dependencies&lt;/td&gt;
&lt;td&gt;
&lt;code&gt;geckolib [4.4,)&lt;/code&gt;, &lt;code&gt;yet_another_config_lib_v3 [3.6,)&lt;/code&gt; (client)&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Bundled Offline Speech&lt;/td&gt;
&lt;td&gt;
&lt;code&gt;assets/verity/sherpa-model.zip&lt;/code&gt; (STT) and &lt;code&gt;assets/verity/tts/piper.zip&lt;/code&gt; (TTS)&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;

&lt;p&gt;Full checksum verification and mirror safety checklist: &lt;strong&gt;&lt;a href="https://veritymod.org/is-verity-mod-safe/" rel="noopener noreferrer"&gt;Is Verity Mod Safe?&lt;/a&gt;&lt;/strong&gt;&lt;/p&gt;




&lt;h2&gt;
  
  
  3. Two Bytecode Details That Explain 80% of Setup Failures
&lt;/h2&gt;

&lt;h3&gt;
  
  
  A. The &lt;code&gt;OPENAI&lt;/code&gt; Default Provider Trap
&lt;/h3&gt;

&lt;p&gt;In &lt;code&gt;VerityConfig.class&lt;/code&gt;, the default &lt;code&gt;AI Provider&lt;/code&gt; is &lt;code&gt;OPENAI&lt;/code&gt; (with preset &lt;code&gt;SMART&lt;/code&gt;), &lt;strong&gt;not&lt;/strong&gt; &lt;code&gt;GROQ&lt;/code&gt;. Because most older YouTube setup tutorials tell players to paste a free Groq key immediately, anyone upgrading from 5.7.4 to 6.0.0 without switching the provider enum to &lt;code&gt;GROQ&lt;/code&gt; hits &lt;code&gt;API connection failed&lt;/code&gt; / &lt;code&gt;401&lt;/code&gt; right away.&lt;/p&gt;

&lt;p&gt;Also worth noting: earlier 5.7.4 configs do &lt;strong&gt;not&lt;/strong&gt; migrate cleanly into 6.0.0. We built a quick &lt;strong&gt;&lt;a href="https://veritymod.org/groq-api-key-setup/#verity-je-600--574-setup-checklist-builder" rel="noopener noreferrer"&gt;6.0.0 / 5.7.4 Config Checklist Builder&lt;/a&gt;&lt;/strong&gt; so players can verify exact menu fields before launching a world.&lt;/p&gt;

&lt;h3&gt;
  
  
  B. Built-In Ollama Installer &amp;amp; Embedded VRAM Catalog
&lt;/h3&gt;

&lt;p&gt;Unlike 5.7.4 (which required running a separate LiteLLM Python proxy), 6.0.0 bundles &lt;code&gt;langchain4j-ollama-1.18.0.jar&lt;/code&gt; and talks directly to &lt;code&gt;http://127.0.0.1:11434&lt;/code&gt;. It even ships an in-game &lt;code&gt;OllamaInstaller&lt;/code&gt; that pulls official Ollama releases from GitHub without requiring admin rights.&lt;/p&gt;

&lt;p&gt;Even more useful: &lt;code&gt;OllamaModels.class&lt;/code&gt; embeds the author's own tested model catalog and VRAM targets:&lt;/p&gt;

&lt;div class="table-wrapper-paragraph"&gt;&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;Ollama Model Tag&lt;/th&gt;
&lt;th&gt;Guidance Embedded in 6.0.0&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;&lt;code&gt;granite4:micro&lt;/code&gt;&lt;/td&gt;
&lt;td&gt;Tiny tool-calling model; runs almost anywhere&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;code&gt;llama3.2:3b&lt;/code&gt;&lt;/td&gt;
&lt;td&gt;Very light; laptops, older GPUs, or CPU only&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;code&gt;qwen3:4b-instruct&lt;/code&gt;&lt;/td&gt;
&lt;td&gt;Fastest replies (no thinking step); &lt;strong&gt;4 GB+ VRAM&lt;/strong&gt;
&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;code&gt;qwen3.5:4b&lt;/code&gt;&lt;/td&gt;
&lt;td&gt;Best all-rounder on most gaming PCs (&lt;strong&gt;6 GB+ VRAM&lt;/strong&gt;)&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;code&gt;qwen3:8b&lt;/code&gt;&lt;/td&gt;
&lt;td&gt;Accurate tool use with Thinking on (&lt;strong&gt;8 GB VRAM&lt;/strong&gt;)&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;code&gt;ministral-3:8b&lt;/code&gt;&lt;/td&gt;
&lt;td&gt;Strong chat, no thinking step (&lt;strong&gt;8 GB+ VRAM&lt;/strong&gt;)&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;code&gt;qwen3.5:9b&lt;/code&gt;&lt;/td&gt;
&lt;td&gt;Smartest under 12B (&lt;strong&gt;10 GB+ VRAM&lt;/strong&gt; alongside Minecraft)&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;

&lt;p&gt;If you are trying to balance Minecraft Forge 1.20.1 JVM heap + GPU shader/chunk memory + a local LLM without hitting disk swap, check the &lt;strong&gt;&lt;a href="https://veritymod.org/ollama-setup/#will-a-model-fit-alongside-minecraft" rel="noopener noreferrer"&gt;Ollama RAM &amp;amp; VRAM Budget Calculator&lt;/a&gt;&lt;/strong&gt;.&lt;/p&gt;




&lt;h2&gt;
  
  
  4. Client-Side Log Diagnostics Without Leaking API Keys
&lt;/h2&gt;

&lt;p&gt;One recurring security hazard in Minecraft modding Discords and Reddit threads is players pasting raw &lt;code&gt;latest.log&lt;/code&gt; files or Bedrock &lt;code&gt;.env&lt;/code&gt; configs containing live Groq/OpenAI keys.&lt;/p&gt;

&lt;p&gt;Because every verifiable error string in Verity JE (&lt;code&gt;Status: 429&lt;/code&gt;, &lt;code&gt;Ollama requires a custom model name.&lt;/code&gt;, &lt;code&gt;[Verity AI] Failed to parse AI JSON:&lt;/code&gt;, Forge &lt;code&gt;[MISSING]&lt;/code&gt;, or PnTMC Bedrock WebSocket close code &lt;code&gt;34323&lt;/code&gt;) can be matched deterministically in the browser, I put together two free client-side tools that never send logs to a server:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;&lt;a href="https://veritymod.org/not-working/#instant-local-error--log-diagnoser" rel="noopener noreferrer"&gt;Local Error &amp;amp; Log Diagnoser&lt;/a&gt;&lt;/strong&gt; — matches Forge, Groq, Ollama, and Bedrock &lt;code&gt;34323&lt;/code&gt; errors locally and automatically redacts API key patterns.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;&lt;a href="https://veritymod.org/verity-mod-error-messages/" rel="noopener noreferrer"&gt;Exact Verity Mod Error Message Lookup&lt;/a&gt;&lt;/strong&gt; — searchable reference extracted directly from inspected packages.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;&lt;a href="https://veritymod.org/groq-api-key-setup/#how-many-messages-can-you-send" rel="noopener noreferrer"&gt;Groq Free-Tier Rate-Limit Calculator&lt;/a&gt;&lt;/strong&gt; — converts RPM/TPM/RPD ceilings into realistic play-session reply counts as conversation history grows.&lt;/li&gt;
&lt;/ul&gt;




&lt;h2&gt;
  
  
  Key Takeaway for Modding Tool Builders
&lt;/h2&gt;

&lt;p&gt;When a community mod integrates external LLMs and local bridges, static package inspection turns opaque troubleshooting ("it just says exit code 1 or API connection failed") into auditable, reproducible documentation. The inspector script is MIT-licensed on GitHub if you want to adapt it for auditing other Forge, NeoForge, or Bedrock add-ons: &lt;a href="https://github.com/liuyan-wjy/verity-mod-static-inspector" rel="noopener noreferrer"&gt;github.com/liuyan-wjy/verity-mod-static-inspector&lt;/a&gt;.&lt;/p&gt;

</description>
      <category>ai</category>
    </item>
    <item>
      <title>Building a 100% Client-Side Markdown-to-Word (.docx) Converter with Raw OpenXML and fflate</title>
      <dc:creator>visiohex</dc:creator>
      <pubDate>Sat, 28 Nov 2026 07:48:58 +0000</pubDate>
      <link>https://dev.to/hex_builder/building-a-100-client-side-markdown-to-word-docx-converter-with-raw-openxml-and-fflate-3f7c</link>
      <guid>https://dev.to/hex_builder/building-a-100-client-side-markdown-to-word-docx-converter-with-raw-openxml-and-fflate-3f7c</guid>
      <description>&lt;p&gt;Most online "Markdown to Word" converters upload your &lt;code&gt;.md&lt;/code&gt; file to a backend running Pandoc or LibreOffice. That works, but it adds server latency, file-size costs, and an unnecessary privacy boundary for ordinary notes, specs, and LLM outputs.&lt;/p&gt;

&lt;p&gt;When we built the free &lt;a href="https://pdf-to-md.app/markdown-to-word" rel="noopener noreferrer"&gt;Markdown to Word (.docx) converter&lt;/a&gt; at &lt;a href="https://pdf-to-md.app/" rel="noopener noreferrer"&gt;PDF to MD&lt;/a&gt;, we wanted the entire &lt;code&gt;.md → .docx&lt;/code&gt; pipeline to run &lt;strong&gt;100% locally in the browser&lt;/strong&gt; with zero file uploads, no account required, and a minimal client bundle footprint.&lt;/p&gt;

&lt;p&gt;Instead of pulling in a 400 KB+ Word generation framework, we parsed Markdown into an AST with &lt;code&gt;unified&lt;/code&gt; + &lt;code&gt;remark-parse&lt;/code&gt; + &lt;code&gt;remark-gfm&lt;/code&gt;, emitted raw OOXML (&lt;code&gt;word/document.xml&lt;/code&gt;, &lt;code&gt;word/styles.xml&lt;/code&gt;, &lt;code&gt;word/numbering.xml&lt;/code&gt;, &lt;code&gt;word/_rels/document.xml.rels&lt;/code&gt;), and zipped the six XML parts synchronously with &lt;code&gt;fflate&lt;/code&gt;.&lt;/p&gt;

&lt;p&gt;The entire converter is under 500 lines of TypeScript. Here are the exact architecture decisions and edge cases we hit along the way.&lt;/p&gt;




&lt;h2&gt;
  
  
  Why a &lt;code&gt;.docx&lt;/code&gt; file is smaller to assemble than you think
&lt;/h2&gt;

&lt;p&gt;An Office Open XML (&lt;code&gt;.docx&lt;/code&gt;) archive only needs &lt;strong&gt;six files&lt;/strong&gt; to open cleanly in Microsoft Word, Google Docs, Apple Pages, and LibreOffice Writer without triggering a "corrupt file" repair dialog:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;
&lt;code&gt;[Content_Types].xml&lt;/code&gt; — declares MIME types for &lt;code&gt;.rels&lt;/code&gt;, &lt;code&gt;.xml&lt;/code&gt;, and the three main Word parts.&lt;/li&gt;
&lt;li&gt;
&lt;code&gt;_rels/.rels&lt;/code&gt; — points Word at &lt;code&gt;word/document.xml&lt;/code&gt;.&lt;/li&gt;
&lt;li&gt;
&lt;code&gt;word/styles.xml&lt;/code&gt; — defines &lt;code&gt;Normal&lt;/code&gt; and &lt;code&gt;Heading1&lt;/code&gt;–&lt;code&gt;Heading6&lt;/code&gt; (plus CJK fallback via &lt;code&gt;w:eastAsia="Microsoft YaHei"&lt;/code&gt;).&lt;/li&gt;
&lt;li&gt;
&lt;code&gt;word/numbering.xml&lt;/code&gt; — defines two abstract list definitions: bullet lists (&lt;code&gt;numId="1"&lt;/code&gt;) and decimal/alpha/roman ordered lists (&lt;code&gt;numId="2"&lt;/code&gt;), up to 4 nesting levels.&lt;/li&gt;
&lt;li&gt;
&lt;code&gt;word/_rels/document.xml.rels&lt;/code&gt; — links &lt;code&gt;styles.xml&lt;/code&gt;, &lt;code&gt;numbering.xml&lt;/code&gt;, and every external &lt;code&gt;&amp;lt;w:hyperlink&amp;gt;&lt;/code&gt; target.&lt;/li&gt;
&lt;li&gt;
&lt;code&gt;word/document.xml&lt;/code&gt; — the actual &lt;code&gt;&amp;lt;w:body&amp;gt;&lt;/code&gt; paragraphs, lists, code blocks, blockquotes, and tables.&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;Packaging those six strings into a downloadable &lt;code&gt;Blob&lt;/code&gt; with &lt;code&gt;fflate&lt;/code&gt; takes 8 lines:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight typescript"&gt;&lt;code&gt;&lt;span class="k"&gt;import&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt; &lt;span class="n"&gt;strToU8&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="n"&gt;zipSync&lt;/span&gt; &lt;span class="p"&gt;}&lt;/span&gt; &lt;span class="k"&gt;from&lt;/span&gt; &lt;span class="s1"&gt;'fflate'&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
&lt;span class="k"&gt;import&lt;/span&gt; &lt;span class="n"&gt;remarkGfm&lt;/span&gt; &lt;span class="k"&gt;from&lt;/span&gt; &lt;span class="s1"&gt;'remark-gfm'&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
&lt;span class="k"&gt;import&lt;/span&gt; &lt;span class="n"&gt;remarkParse&lt;/span&gt; &lt;span class="k"&gt;from&lt;/span&gt; &lt;span class="s1"&gt;'remark-parse'&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
&lt;span class="k"&gt;import&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt; &lt;span class="n"&gt;unified&lt;/span&gt; &lt;span class="p"&gt;}&lt;/span&gt; &lt;span class="k"&gt;from&lt;/span&gt; &lt;span class="s1"&gt;'unified'&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;

&lt;span class="k"&gt;export&lt;/span&gt; &lt;span class="kd"&gt;function&lt;/span&gt; &lt;span class="nf"&gt;convertMarkdownToDocxBytes&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;markdown&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="kt"&gt;string&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="nc"&gt;Uint8Array&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt;
  &lt;span class="kd"&gt;const&lt;/span&gt; &lt;span class="n"&gt;tree&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="nf"&gt;unified&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;
    &lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;use&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;remarkParse&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;
    &lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;use&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;remarkGfm&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;
    &lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;parse&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="nf"&gt;stripXmlControlChars&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;markdown&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;

  &lt;span class="kd"&gt;const&lt;/span&gt; &lt;span class="n"&gt;ctx&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt; &lt;span class="n"&gt;links&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="p"&gt;[&lt;/span&gt;&lt;span class="p"&gt;]&lt;/span&gt; &lt;span class="k"&gt;as&lt;/span&gt; &lt;span class="nb"&gt;Array&lt;/span&gt;&lt;span class="o"&gt;&amp;lt;&lt;/span&gt;&lt;span class="p"&gt;{&lt;/span&gt; &lt;span class="n"&gt;id&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="kt"&gt;string&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt; &lt;span class="n"&gt;url&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="kt"&gt;string&lt;/span&gt; &lt;span class="p"&gt;}&lt;/span&gt;&lt;span class="o"&gt;&amp;gt;&lt;/span&gt; &lt;span class="p"&gt;}&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
  &lt;span class="kd"&gt;const&lt;/span&gt; &lt;span class="n"&gt;bodyXml&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;tree&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;children&lt;/span&gt; &lt;span class="o"&gt;??&lt;/span&gt; &lt;span class="p"&gt;[&lt;/span&gt;&lt;span class="p"&gt;]&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;
    &lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;map&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;node&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt; &lt;span class="o"&gt;=&amp;gt;&lt;/span&gt; &lt;span class="nf"&gt;renderBlockNode&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;node&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="n"&gt;ctx&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="mi"&gt;0&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;
    &lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;join&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="s1"&gt;''&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;

  &lt;span class="k"&gt;return&lt;/span&gt; &lt;span class="nf"&gt;zipSync&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="p"&gt;{&lt;/span&gt;
    &lt;span class="s1"&gt;'[Content_Types].xml'&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="nf"&gt;strToU8&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="no"&gt;CONTENT_TYPES_XML&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
    &lt;span class="s1"&gt;'_rels/.rels'&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="nf"&gt;strToU8&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="no"&gt;ROOT_RELS_XML&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
    &lt;span class="s1"&gt;'word/_rels/document.xml.rels'&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="nf"&gt;strToU8&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="nf"&gt;buildDocumentRelsXml&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;ctx&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;links&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
    &lt;span class="s1"&gt;'word/styles.xml'&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="nf"&gt;strToU8&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="no"&gt;STYLES_XML&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
    &lt;span class="s1"&gt;'word/numbering.xml'&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="nf"&gt;strToU8&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="no"&gt;NUMBERING_XML&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
    &lt;span class="s1"&gt;'word/document.xml'&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="nf"&gt;strToU8&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="nf"&gt;wrapDocumentXml&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;bodyXml&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
  &lt;span class="p"&gt;}&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
&lt;span class="p"&gt;}&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;






&lt;h2&gt;
  
  
  5 Subtle OOXML Pitfalls That Break Real Documents
&lt;/h2&gt;

&lt;h3&gt;
  
  
  1. XML 1.0 Control Characters Silently Corrupt &lt;code&gt;.docx&lt;/code&gt; Files
&lt;/h3&gt;

&lt;p&gt;Pasted PDF extracts and terminal outputs often contain stray &lt;code&gt;\x00&lt;/code&gt;–&lt;code&gt;\x08&lt;/code&gt;, &lt;code&gt;\x0B&lt;/code&gt;, &lt;code&gt;\x0C&lt;/code&gt;, or &lt;code&gt;\x0E&lt;/code&gt;–&lt;code&gt;\x1F&lt;/code&gt; bytes. They are valid UTF-8 strings in JavaScript, so &lt;code&gt;JSON.stringify&lt;/code&gt; and DOM rendering ignore them — &lt;strong&gt;but Word rejects any &lt;code&gt;.docx&lt;/code&gt; containing XML 1.0 illegal control characters as unreadable.&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;Stripping them before parsing prevents silent corruption:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight typescript"&gt;&lt;code&gt;&lt;span class="kd"&gt;function&lt;/span&gt; &lt;span class="nf"&gt;stripXmlControlChars&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;value&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="kt"&gt;string&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="kt"&gt;string&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt;
  &lt;span class="k"&gt;return&lt;/span&gt; &lt;span class="n"&gt;value&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;replace&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="o"&gt;/&lt;/span&gt;&lt;span class="p"&gt;[&lt;/span&gt;\&lt;span class="n"&gt;x00&lt;/span&gt;&lt;span class="o"&gt;-&lt;/span&gt;\&lt;span class="n"&gt;x08&lt;/span&gt;\&lt;span class="n"&gt;x0B&lt;/span&gt;\&lt;span class="n"&gt;x0C&lt;/span&gt;\&lt;span class="n"&gt;x0E&lt;/span&gt;&lt;span class="o"&gt;-&lt;/span&gt;\&lt;span class="n"&gt;x1F&lt;/span&gt;\&lt;span class="n"&gt;x7F&lt;/span&gt;&lt;span class="p"&gt;]&lt;/span&gt;&lt;span class="o"&gt;/&lt;/span&gt;&lt;span class="n"&gt;g&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="s1"&gt;''&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
&lt;span class="p"&gt;}&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;h3&gt;
  
  
  2. Preserving Whitespace in Runs (&lt;code&gt;xml:space="preserve"&lt;/code&gt;)
&lt;/h3&gt;

&lt;p&gt;In OOXML, leading or trailing spaces inside &lt;code&gt;&amp;lt;w:t&amp;gt;&lt;/code&gt; are collapsed unless you add &lt;code&gt;xml:space="preserve"&lt;/code&gt;. That bites you immediately whenever inline formatting (&lt;code&gt;**bold**&lt;/code&gt; or &lt;code&gt;`code`&lt;/code&gt;) sits next to plain text — &lt;code&gt;"Hello **world**"&lt;/code&gt; turns into &lt;code&gt;"Helloworld"&lt;/code&gt; without it.&lt;/p&gt;

&lt;p&gt;Every &lt;code&gt;&amp;lt;w:t&amp;gt;&lt;/code&gt; element we emit includes &lt;code&gt;xml:space="preserve"&lt;/code&gt;, and multi-line strings split on &lt;code&gt;\r?\n&lt;/code&gt; emit explicit &lt;code&gt;&amp;lt;w:br/&amp;gt;&lt;/code&gt; elements inside the run.&lt;/p&gt;

&lt;h3&gt;
  
  
  3. External Hyperlinks Need Both Deduplication and a Protocol Allowlist
&lt;/h3&gt;

&lt;p&gt;Word does not store URLs inline on &lt;code&gt;&amp;lt;w:hyperlink&amp;gt;&lt;/code&gt;. Instead, you register each URL in &lt;code&gt;word/_rels/document.xml.rels&lt;/code&gt; with &lt;code&gt;TargetMode="External"&lt;/code&gt; and reference its &lt;code&gt;rId&lt;/code&gt; from &lt;code&gt;&amp;lt;w:hyperlink r:id="rIdLink1" w:history="1"&amp;gt;&lt;/code&gt;.&lt;/p&gt;

&lt;p&gt;To prevent &lt;code&gt;javascript:&lt;/code&gt; or &lt;code&gt;file://&lt;/code&gt; payloads from ending up in exported Word files, we validate every URL before registering it:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight typescript"&gt;&lt;code&gt;&lt;span class="kd"&gt;const&lt;/span&gt; &lt;span class="no"&gt;SAFE_LINK_PROTOCOL&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="o"&gt;/^&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;https&lt;/span&gt;&lt;span class="o"&gt;?:|&lt;/span&gt;&lt;span class="n"&gt;mailto&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;&lt;span class="o"&gt;/&lt;/span&gt;&lt;span class="n"&gt;i&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;

&lt;span class="kd"&gt;function&lt;/span&gt; &lt;span class="nf"&gt;registerLink&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;ctx&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="nc"&gt;BuildContext&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="n"&gt;url&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="kt"&gt;string&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="kt"&gt;string&lt;/span&gt; &lt;span class="o"&gt;|&lt;/span&gt; &lt;span class="kc"&gt;null&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt;
  &lt;span class="kd"&gt;const&lt;/span&gt; &lt;span class="n"&gt;trimmed&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="n"&gt;url&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;trim&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
  &lt;span class="k"&gt;if&lt;/span&gt; &lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="o"&gt;!&lt;/span&gt;&lt;span class="no"&gt;SAFE_LINK_PROTOCOL&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;test&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;trimmed&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt; &lt;span class="k"&gt;return&lt;/span&gt; &lt;span class="kc"&gt;null&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
  &lt;span class="kd"&gt;const&lt;/span&gt; &lt;span class="n"&gt;existing&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="n"&gt;ctx&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;links&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;find&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;entry&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt; &lt;span class="o"&gt;=&amp;gt;&lt;/span&gt; &lt;span class="n"&gt;entry&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;url&lt;/span&gt; &lt;span class="o"&gt;===&lt;/span&gt; &lt;span class="n"&gt;trimmed&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
  &lt;span class="k"&gt;if&lt;/span&gt; &lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;existing&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt; &lt;span class="k"&gt;return&lt;/span&gt; &lt;span class="n"&gt;existing&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;id&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
  &lt;span class="kd"&gt;const&lt;/span&gt; &lt;span class="n"&gt;id&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="sb"&gt;`rIdLink${ctx.links.length + 1}`&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
  &lt;span class="n"&gt;ctx&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;links&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;push&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="p"&gt;{&lt;/span&gt; &lt;span class="n"&gt;id&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="n"&gt;url&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="n"&gt;trimmed&lt;/span&gt; &lt;span class="p"&gt;}&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
  &lt;span class="k"&gt;return&lt;/span&gt; &lt;span class="n"&gt;id&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
&lt;span class="p"&gt;}&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;h3&gt;
  
  
  4. Making GFM Tables Look Native in Word
&lt;/h3&gt;

&lt;p&gt;A bare &lt;code&gt;&amp;lt;w:tbl&amp;gt;&lt;/code&gt; renders with zero borders and cramped cells in Word. To make GitHub Flavored Markdown tables open cleanly right away, we add:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;code&gt;&amp;lt;w:tblW w:w="5000" w:type="pct"/&amp;gt;&lt;/code&gt; (100% page width, measured in fiftieths of a percent)&lt;/li&gt;
&lt;li&gt;Subtle outer (&lt;code&gt;#CBD5E1&lt;/code&gt;) and inner (&lt;code&gt;#E2E8F0&lt;/code&gt;) single-line borders&lt;/li&gt;
&lt;li&gt;Cell padding (&lt;code&gt;&amp;lt;w:tcMar&amp;gt;&lt;/code&gt; top/bottom &lt;code&gt;90 dxa&lt;/code&gt;, left/right &lt;code&gt;120 dxa&lt;/code&gt;)&lt;/li&gt;
&lt;li&gt;
&lt;code&gt;&amp;lt;w:trPr&amp;gt;&amp;lt;w:tblHeader/&amp;gt;&amp;lt;/w:trPr&amp;gt;&lt;/code&gt; plus &lt;code&gt;#F3F4F6&lt;/code&gt; shading and bold runs on row 0 so the header repeats across page breaks&lt;/li&gt;
&lt;li&gt;Column alignment mapped directly from &lt;code&gt;remark-gfm&lt;/code&gt;'s &lt;code&gt;node.align&lt;/code&gt; array (&lt;code&gt;center&lt;/code&gt;, &lt;code&gt;right&lt;/code&gt;, default left)&lt;/li&gt;
&lt;/ul&gt;

&lt;h3&gt;
  
  
  5. Nested Lists &amp;amp; GFM Task Checklists
&lt;/h3&gt;

&lt;p&gt;Markdown list items can contain multiple paragraphs, nested sub-lists, and GFM task checkboxes (&lt;code&gt;- [x] Done&lt;/code&gt;). In Word:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Only the &lt;strong&gt;first&lt;/strong&gt; paragraph in a list item should receive &lt;code&gt;&amp;lt;w:numPr&amp;gt;&amp;lt;w:ilvl/&amp;gt;&amp;lt;w:numId/&amp;gt;&amp;lt;/w:numPr&amp;gt;&lt;/code&gt;. Continuation paragraphs use matching left indentation (&lt;code&gt;720 * (level + 1)&lt;/code&gt; twips) so they align cleanly without spawning a duplicate bullet.&lt;/li&gt;
&lt;li&gt;For task lists (&lt;code&gt;item.checked === true | false&lt;/code&gt;), prefixing the first run with bold &lt;code&gt;☑&lt;/code&gt; / &lt;code&gt;☐&lt;/code&gt; works identically across Word, Google Docs, and Pages without requiring macro-enabled form controls.&lt;/li&gt;
&lt;/ul&gt;




&lt;h2&gt;
  
  
  Bonus: Live Edit-Then-Download Without Re-Uploading
&lt;/h2&gt;

&lt;p&gt;Because &lt;code&gt;convertMarkdownToDocxBytes&lt;/code&gt; runs synchronously in a few milliseconds on typical docs, users on &lt;a href="https://pdf-to-md.app/markdown-to-word" rel="noopener noreferrer"&gt;pdf-to-md.app/markdown-to-word&lt;/a&gt; can paste or drop Markdown, tweak headings or tables in the live preview editor, and regenerate a fresh &lt;code&gt;.docx&lt;/code&gt; (or batch ZIP) straight from their edited buffer without a single network request.&lt;/p&gt;

&lt;p&gt;If you want to inspect the output directly, try pasting a Markdown doc with GFM tables and fenced code blocks at &lt;strong&gt;&lt;a href="https://pdf-to-md.app/markdown-to-word" rel="noopener noreferrer"&gt;pdf-to-md.app/markdown-to-word&lt;/a&gt;&lt;/strong&gt;, or check out the rest of our browser-local document tools (PDF, Word, HTML, and URL to Markdown) at &lt;strong&gt;&lt;a href="https://pdf-to-md.app/" rel="noopener noreferrer"&gt;pdf-to-md.app&lt;/a&gt;&lt;/strong&gt;.&lt;/p&gt;

</description>
      <category>typescript</category>
      <category>markdown</category>
      <category>webdev</category>
      <category>javascript</category>
    </item>
    <item>
      <title>Building a Zero-Tracking, 100% Client-Side Tarot &amp; Destiny Matrix Calculator with Astro and Cloudflare Pages</title>
      <dc:creator>visiohex</dc:creator>
      <pubDate>Fri, 27 Nov 2026 12:38:32 +0000</pubDate>
      <link>https://dev.to/hex_builder/building-a-zero-tracking-100-client-side-tarot-destiny-matrix-calculator-with-astro-and-2oh6</link>
      <guid>https://dev.to/hex_builder/building-a-zero-tracking-100-client-side-tarot-destiny-matrix-calculator-with-astro-and-2oh6</guid>
      <description>&lt;p&gt;Most online astrology, tarot, and numerology calculators follow the same pattern: enter your full name and birth date, hit submit, hit an email-capture wall, and watch your personal birth data get shipped to third-party analytics and CRM databases.&lt;/p&gt;

&lt;p&gt;When I built &lt;strong&gt;&lt;a href="https://meuarcanopessoal.net/" rel="noopener noreferrer"&gt;Meu Arcano Pessoal&lt;/a&gt;&lt;/strong&gt; — a Brazilian Portuguese calculator and editorial guide for the 22 Major Arcana, Personal Year cycles, and the Destiny Matrix octogram — I wanted to prove that a content-rich utility site can be fast, completely free, and genuinely privacy-first without a backend database.&lt;/p&gt;

&lt;p&gt;Here are the architectural decisions that worked well.&lt;/p&gt;

&lt;h2&gt;
  
  
  1. Static-First Architecture with Astro + Cloudflare Pages
&lt;/h2&gt;

&lt;p&gt;Every guide, methodology page, and individual arcana reference (36 indexable routes in total) is pre-rendered to static HTML with Astro (&lt;code&gt;output: "static"&lt;/code&gt;) and deployed to Cloudflare Pages.&lt;/p&gt;

&lt;p&gt;Why static HTML over an SPA?&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Near-instant TTFB and zero hydration overhead on editorial pages.&lt;/li&gt;
&lt;li&gt;Easy deterministic build verification: before deploying, a verification script checks all internal links, fragment anchors, JSON-LD FAQ parity, and metadata baselines.&lt;/li&gt;
&lt;li&gt;Zero runtime server costs.&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  2. Keeping Birth Dates and Names 100% Local
&lt;/h2&gt;

&lt;p&gt;Birth dates and full names are sensitive personal data (PII). On &lt;a href="https://meuarcanopessoal.net/" rel="noopener noreferrer"&gt;meuarcanopessoal.net&lt;/a&gt;, every calculator — including the &lt;a href="https://meuarcanopessoal.net/" rel="noopener noreferrer"&gt;Personal Arcana Calculator&lt;/a&gt;, &lt;a href="https://meuarcanopessoal.net/arcano-pelo-nome/" rel="noopener noreferrer"&gt;Arcana by Name&lt;/a&gt;, and the 8-point &lt;a href="https://meuarcanopessoal.net/matriz-do-destino/" rel="noopener noreferrer"&gt;Destiny Matrix Calculator&lt;/a&gt; — runs purely in browser JavaScript:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Inputs are &lt;strong&gt;never&lt;/strong&gt; appended to URL query parameters (so they never leak into server logs, referer headers, or browser history sharing).&lt;/li&gt;
&lt;li&gt;Inputs are &lt;strong&gt;never&lt;/strong&gt; written to &lt;code&gt;localStorage&lt;/code&gt; or cookies.&lt;/li&gt;
&lt;li&gt;Aggregate analytics events only emit fixed tool category labels (never user input or calculation outputs).&lt;/li&gt;
&lt;li&gt;Shareable result cards are drawn in memory on the client and only leave the device if the user chooses to download or share them.&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  3. Verifiable Math with &lt;code&gt;node --test&lt;/code&gt;
&lt;/h2&gt;

&lt;p&gt;One surprising pain point in numerology/tarot tools is methodological inconsistency: some sites use Marseille numbering (8 = Justice, 11 = Strength), while others use Rider–Waite–Smith (8 = Strength, 11 = Justice), and years like 2027 (&lt;code&gt;2+0+2+7 = 11&lt;/code&gt;) reduce differently depending on whether you stay in the 1–22 Major Arcana range or reduce to 1–9 Pythagorean Personal Years.&lt;/p&gt;

&lt;p&gt;To avoid black-box results, we:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;Published a transparent &lt;a href="https://meuarcanopessoal.net/metodologia/" rel="noopener noreferrer"&gt;Methodology page&lt;/a&gt; documenting every formula and worked example.&lt;/li&gt;
&lt;li&gt;Backed the calculation engine with unit tests using Node's built-in &lt;code&gt;node --test&lt;/code&gt; runner so edge cases (like &lt;code&gt;22&lt;/code&gt;, &lt;code&gt;33 -&amp;gt; 6&lt;/code&gt;, and 2027 annual cycles) never regress across deploys.&lt;/li&gt;
&lt;/ol&gt;

&lt;h2&gt;
  
  
  4. Shipping &lt;code&gt;llms.txt&lt;/code&gt; and Clean Structured Data
&lt;/h2&gt;

&lt;p&gt;Alongside a clean &lt;code&gt;sitemap.xml&lt;/code&gt; and semantic &lt;code&gt;FAQPage&lt;/code&gt; / &lt;code&gt;BreadcrumbList&lt;/code&gt; JSON-LD (always sourced from the exact same data array rendered visibly on the page), we also ship a concise &lt;code&gt;/llms.txt&lt;/code&gt; summarizing the site's pages, calculation formulas, and editorial boundaries.&lt;/p&gt;




&lt;p&gt;If you're building niche utility sites or calculators in non-English markets, pairing Astro's static output with strict client-side PII boundaries makes the product faster, simpler to maintain, and much easier for users to trust.&lt;/p&gt;

&lt;p&gt;Check out the live site here: &lt;a href="https://meuarcanopessoal.net/" rel="noopener noreferrer"&gt;https://meuarcanopessoal.net/&lt;/a&gt;&lt;/p&gt;

</description>
      <category>privacy</category>
    </item>
    <item>
      <title>Running Minecraft's Verity Mod (JE 6.0.0) Locally with Ollama Without LiteLLM — Setup &amp; Architecture Notes</title>
      <dc:creator>visiohex</dc:creator>
      <pubDate>Fri, 27 Nov 2026 11:53:52 +0000</pubDate>
      <link>https://dev.to/hex_builder/running-minecrafts-verity-mod-je-600-locally-with-ollama-without-litellm-setup--1352</link>
      <guid>https://dev.to/hex_builder/running-minecrafts-verity-mod-je-600-locally-with-ollama-without-litellm-setup--1352</guid>
      <description>&lt;p&gt;If you have tried setting up the &lt;strong&gt;Verity Mod&lt;/strong&gt; AI companion in Minecraft Java Edition, you have probably noticed that half the tutorials online are out of date. Most older videos walk through a two-hop &lt;strong&gt;Ollama → LiteLLM (port 4000) → Verity JE 5.7.4&lt;/strong&gt; chain, whereas &lt;strong&gt;Verity JE 6.0.0&lt;/strong&gt; (released October 23, 2026 for Forge 1.20.1) reworked the AI configuration screen and removed the LiteLLM gateway requirement altogether.&lt;/p&gt;

&lt;p&gt;Here is a concise technical breakdown of the current Java and Bedrock architectures—and the exact configuration traps that trip up first-time setups—based on the reference documentation we maintain at &lt;a href="https://veritymod.org/" rel="noopener noreferrer"&gt;Verity Mod Guide&lt;/a&gt;.&lt;/p&gt;




&lt;h2&gt;
  
  
  1. Confirm the Project ID Before Touching Any Files
&lt;/h2&gt;

&lt;p&gt;Search results for "Verity Mod" mix together three separate maintained projects plus dozens of reuploads and same-name clones. Always match the numeric CurseForge Project ID first:&lt;/p&gt;

&lt;div class="table-wrapper-paragraph"&gt;&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;Edition&lt;/th&gt;
&lt;th&gt;Project &amp;amp; Author&lt;/th&gt;
&lt;th&gt;Project ID&lt;/th&gt;
&lt;th&gt;Current Checked Target&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;Java&lt;/td&gt;
&lt;td&gt;Verity JE (VarmiteYT)&lt;/td&gt;
&lt;td&gt;&lt;code&gt;1591438&lt;/code&gt;&lt;/td&gt;
&lt;td&gt;
&lt;strong&gt;6.0.0 stable&lt;/strong&gt; (Forge 1.20.1); legacy 3.4.1 on NeoForge 1.21.1&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Bedrock / PE&lt;/td&gt;
&lt;td&gt;Verity - Bedrock Edition (PnTMC)&lt;/td&gt;
&lt;td&gt;&lt;code&gt;1575941&lt;/code&gt;&lt;/td&gt;
&lt;td&gt;
&lt;strong&gt;4.0.0&lt;/strong&gt; (separate files for Bedrock 26.60 and 26.50)&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Bedrock / PE&lt;/td&gt;
&lt;td&gt;Verity BE (Utlover65)&lt;/td&gt;
&lt;td&gt;&lt;code&gt;1574632&lt;/code&gt;&lt;/td&gt;
&lt;td&gt;
&lt;strong&gt;4.24&lt;/strong&gt; (Bedrock 26.50)&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;

&lt;p&gt;You can check the full compatibility matrix and version verification log on the &lt;a href="https://veritymod.org/verity-mod-versions/" rel="noopener noreferrer"&gt;Verity Mod versions page&lt;/a&gt;.&lt;/p&gt;




&lt;h2&gt;
  
  
  2. Verity JE 6.0.0 Local Ollama vs. 5.7.4 LiteLLM
&lt;/h2&gt;

&lt;p&gt;One of the biggest practical upgrades in &lt;strong&gt;Verity JE 6.0.0&lt;/strong&gt; is direct local inference:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Verity JE 6.0.0 (current stable):&lt;/strong&gt; Connects straight to Ollama on &lt;code&gt;127.0.0.1:11434&lt;/code&gt;. You select &lt;code&gt;OLLAMA&lt;/code&gt; as the AI provider inside &lt;strong&gt;Mods &amp;gt; Verity &amp;gt; Config&lt;/strong&gt;, specify your pulled model name, and skip LiteLLM completely.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Verity JE 5.7.4 (previous stable):&lt;/strong&gt; Requires keeping a &lt;strong&gt;LiteLLM proxy&lt;/strong&gt; running at &lt;code&gt;http://127.0.0.1:4000/v1/&lt;/code&gt; in front of Ollama (&lt;code&gt;127.0.0.1:11434&lt;/code&gt;), with the model name prefixed as &lt;code&gt;ollama/qwen2.5:1.5b&lt;/code&gt;.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Because 6.0.0 reworked its config schema, do &lt;strong&gt;not&lt;/strong&gt; drop a 5.7.4 config file into a 6.0.0 profile—test in a separate Forge 1.20.1 instance first. For hardware sizing (RAM headroom alongside Minecraft's 4 GB allocation) and endpoint smoke tests, see the &lt;a href="https://veritymod.org/ollama-setup/" rel="noopener noreferrer"&gt;Verity Ollama local AI setup guide&lt;/a&gt;.&lt;/p&gt;

&lt;h3&gt;
  
  
  Quick Groq Note (The 6.0.0 Default Trap)
&lt;/h3&gt;

&lt;p&gt;If your machine is RAM-constrained and you prefer cloud inference with &lt;strong&gt;Groq&lt;/strong&gt;, watch one subtle change in 6.0.0: &lt;strong&gt;AI Provider defaults to &lt;code&gt;OPENAI&lt;/code&gt; instead of &lt;code&gt;GROQ&lt;/code&gt;&lt;/strong&gt;. Pasting a &lt;code&gt;gsk_...&lt;/code&gt; Groq key while leaving the provider on &lt;code&gt;OPENAI&lt;/code&gt; triggers an immediate &lt;code&gt;401&lt;/code&gt; authentication failure. Switch &lt;strong&gt;AI Provider&lt;/strong&gt; explicitly to &lt;code&gt;GROQ&lt;/code&gt;, and never commit or share &lt;code&gt;config/verity-*.toml&lt;/code&gt; because the key is stored in plain text. Full step-by-step instructions are in the &lt;a href="https://veritymod.org/java-edition/" rel="noopener noreferrer"&gt;Java Edition setup guide&lt;/a&gt;.&lt;/p&gt;




&lt;h2&gt;
  
  
  3. What Is Inside the ~250 MB Java Jar
&lt;/h2&gt;

&lt;p&gt;Inspecting the Verity JE archive explains both its file size and its dependency requirements:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Required dependencies:&lt;/strong&gt; Forge 47+ (Minecraft 1.20.1), &lt;strong&gt;GeckoLib 4.4+&lt;/strong&gt;, and &lt;strong&gt;YetAnotherConfigLib (YACL) 3.6+&lt;/strong&gt; (client-side only; dedicated servers do not require YACL).&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Bundled local speech assets:&lt;/strong&gt; Offline Piper TTS (~67 MB) and an offline English speech-recognition model (~62 MB), plus native libraries for Windows, macOS, and Linux. That is why a tiny download claiming to be Verity JE is usually incomplete or fake.&lt;/li&gt;
&lt;/ul&gt;




&lt;h2&gt;
  
  
  4. How the Two Bedrock Add-ons Differ Under the Hood
&lt;/h2&gt;

&lt;p&gt;Both Bedrock projects require &lt;strong&gt;Beta APIs&lt;/strong&gt; and &lt;strong&gt;cheats&lt;/strong&gt;, and neither works on Minecraft Education Edition, Eaglercraft, or Crafting and Building clones, but their networking models are completely different:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;
&lt;strong&gt;PnTMC (&lt;code&gt;1575941&lt;/code&gt;):&lt;/strong&gt; Uses a local WebSocket helper (&lt;code&gt;/connect 127.0.0.1:3000&lt;/code&gt;) running via Python, Termux (Android), or a-Shell (iOS), calling your own Groq and FishAudio keys from &lt;code&gt;.env&lt;/code&gt;. Note that PnTMC reuses the &lt;code&gt;4.0.0&lt;/code&gt; add-on version number across Bedrock 26.40, 26.50, and 26.60—always match the game version in the filename.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Utlover65 (&lt;code&gt;1574632&lt;/code&gt;):&lt;/strong&gt; Connects via Minecraft's script debugger (&lt;code&gt;/script debugger connect traye.ddns.net 19144&lt;/code&gt;) through a shared relay—simpler to set up on mobile, with no local helper process to keep alive, but subject to shared relay limits (which show up in game as &lt;code&gt;...&lt;/code&gt;).&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;Full side-by-side diagrams and device instructions live in the &lt;a href="https://veritymod.org/bedrock-edition/" rel="noopener noreferrer"&gt;Bedrock and PE setup guide&lt;/a&gt;, and exact error codes (&lt;code&gt;401&lt;/code&gt;, &lt;code&gt;429&lt;/code&gt;, timeouts, three dots, and Forge crashes) are mapped in the &lt;a href="https://veritymod.org/not-working/" rel="noopener noreferrer"&gt;Verity troubleshooting guide&lt;/a&gt;.&lt;/p&gt;

</description>
      <category>minecraft</category>
      <category>llm</category>
      <category>ollama</category>
      <category>gaming</category>
    </item>
    <item>
      <title>Turning any web page into LLM-ready Markdown on Cloudflare Workers</title>
      <dc:creator>visiohex</dc:creator>
      <pubDate>Wed, 25 Nov 2026 15:30:09 +0000</pubDate>
      <link>https://dev.to/hex_builder/turning-any-web-page-into-llm-ready-markdown-on-cloudflare-workers-1g9a</link>
      <guid>https://dev.to/hex_builder/turning-any-web-page-into-llm-ready-markdown-on-cloudflare-workers-1g9a</guid>
      <description>&lt;p&gt;Pasting a web page into an LLM usually means pasting the navbar, the cookie banner, three "related posts" blocks and a footer along with the article. I wanted a single endpoint that takes a public URL and returns only the readable content as Markdown, so I built one into &lt;a href="https://pdf-to-md.app/url-to-markdown" rel="noopener noreferrer"&gt;PDF to MD&lt;/a&gt;. It runs on Cloudflare Workers, and most of the work turned out to be about deciding &lt;em&gt;when not to trust&lt;/em&gt; the first result.&lt;/p&gt;

&lt;p&gt;This post walks through the pipeline and the trade-offs. The code samples are simplified from the production version.&lt;/p&gt;

&lt;h2&gt;
  
  
  1. Refuse the URLs you should never fetch
&lt;/h2&gt;

&lt;p&gt;A "fetch any URL" feature on a server is an SSRF bug waiting to happen, so validation comes first and runs again on every redirect hop:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight typescript"&gt;&lt;code&gt;&lt;span class="kd"&gt;function&lt;/span&gt; &lt;span class="nf"&gt;assertPublicUrl&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;url&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="no"&gt;URL&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt;
  &lt;span class="k"&gt;if&lt;/span&gt; &lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;url&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;protocol&lt;/span&gt; &lt;span class="o"&gt;!==&lt;/span&gt; &lt;span class="s1"&gt;'https:'&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt; &lt;span class="k"&gt;throw&lt;/span&gt; &lt;span class="nf"&gt;badRequest&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="s1"&gt;'Use a public HTTPS URL.'&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
  &lt;span class="k"&gt;if&lt;/span&gt; &lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;url&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;username&lt;/span&gt; &lt;span class="o"&gt;||&lt;/span&gt; &lt;span class="n"&gt;url&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;password&lt;/span&gt; &lt;span class="o"&gt;||&lt;/span&gt; &lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;url&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;port&lt;/span&gt; &lt;span class="o"&gt;&amp;amp;&amp;amp;&lt;/span&gt; &lt;span class="n"&gt;url&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;port&lt;/span&gt; &lt;span class="o"&gt;!==&lt;/span&gt; &lt;span class="s1"&gt;'443'&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt;
    &lt;span class="k"&gt;throw&lt;/span&gt; &lt;span class="nf"&gt;badRequest&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="s1"&gt;'Use a standard public HTTPS URL.'&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
  &lt;span class="p"&gt;}&lt;/span&gt;
  &lt;span class="k"&gt;if&lt;/span&gt; &lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="nf"&gt;isPrivateHostname&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;url&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;hostname&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt;
    &lt;span class="k"&gt;throw&lt;/span&gt; &lt;span class="nf"&gt;badRequest&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="s1"&gt;'Private hosts are not allowed.'&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
  &lt;span class="p"&gt;}&lt;/span&gt;
&lt;span class="p"&gt;}&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;&lt;code&gt;isPrivateHostname&lt;/code&gt; rejects &lt;code&gt;localhost&lt;/code&gt;, raw IPv4/IPv6 literals, &lt;code&gt;.local&lt;/code&gt; / &lt;code&gt;.internal&lt;/code&gt; names and the RFC 1918 and link-local ranges (&lt;code&gt;169.254.x.x&lt;/code&gt; is the cloud metadata classic). Redirects are followed manually (&lt;code&gt;redirect: 'manual'&lt;/code&gt;, at most three hops) so that a public URL cannot bounce the fetch to &lt;code&gt;https://127.0.0.1/&lt;/code&gt; after the first check passed.&lt;/p&gt;

&lt;h2&gt;
  
  
  2. Fetch with hard limits
&lt;/h2&gt;

&lt;p&gt;The fetch asks for Markdown first, because a growing number of sites will serve it directly:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight typescript"&gt;&lt;code&gt;&lt;span class="nc"&gt;Accept&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s1"&gt;'text/markdown, text/html;q=0.9, application/xhtml+xml;q=0.8, text/plain;q=0.7'&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Everything else is a guardrail:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;12-second timeout via &lt;code&gt;AbortSignal.timeout&lt;/code&gt;
&lt;/li&gt;
&lt;li&gt;only HTML, XHTML, Markdown and plain text are accepted (a PDF URL gets a clean 415 instead of a garbled conversion)&lt;/li&gt;
&lt;li&gt;a 5 MB cap enforced twice: once from &lt;code&gt;Content-Length&lt;/code&gt;, and again while streaming the body, because &lt;code&gt;Content-Length&lt;/code&gt; is optional and can lie&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;If the response is already &lt;code&gt;text/markdown&lt;/code&gt; or &lt;code&gt;text/plain&lt;/code&gt;, it is normalised and returned as-is. No conversion is better than any conversion.&lt;/p&gt;

&lt;h2&gt;
  
  
  3. Find the article, drop the chrome
&lt;/h2&gt;

&lt;p&gt;For HTML, the first pass strips &lt;code&gt;script&lt;/code&gt;, &lt;code&gt;style&lt;/code&gt;, &lt;code&gt;noscript&lt;/code&gt;, &lt;code&gt;svg&lt;/code&gt;, &lt;code&gt;iframe&lt;/code&gt;, &lt;code&gt;template&lt;/code&gt; and &lt;code&gt;head&lt;/code&gt;. When "main content only" is on, it looks for &lt;code&gt;&amp;lt;article&amp;gt;&lt;/code&gt; and &lt;code&gt;&amp;lt;main&amp;gt;&lt;/code&gt;:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight typescript"&gt;&lt;code&gt;&lt;span class="kd"&gt;function&lt;/span&gt; &lt;span class="nf"&gt;pickBestRegion&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;article&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="kt"&gt;string&lt;/span&gt; &lt;span class="o"&gt;|&lt;/span&gt; &lt;span class="kc"&gt;null&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="n"&gt;main&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="kt"&gt;string&lt;/span&gt; &lt;span class="o"&gt;|&lt;/span&gt; &lt;span class="kc"&gt;null&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt;
  &lt;span class="k"&gt;if&lt;/span&gt; &lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;article&lt;/span&gt; &lt;span class="o"&gt;&amp;amp;&amp;amp;&lt;/span&gt; &lt;span class="n"&gt;main&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt;
    &lt;span class="c1"&gt;// Prefer &amp;lt;article&amp;gt; unless it is clearly a fragment of &amp;lt;main&amp;gt;&lt;/span&gt;
    &lt;span class="k"&gt;return&lt;/span&gt; &lt;span class="nf"&gt;textLength&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;article&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt; &lt;span class="o"&gt;&amp;gt;=&lt;/span&gt; &lt;span class="nf"&gt;textLength&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;main&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt; &lt;span class="o"&gt;*&lt;/span&gt; &lt;span class="mf"&gt;0.5&lt;/span&gt; &lt;span class="o"&gt;?&lt;/span&gt; &lt;span class="n"&gt;article&lt;/span&gt; &lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="n"&gt;main&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
  &lt;span class="p"&gt;}&lt;/span&gt;
  &lt;span class="k"&gt;return&lt;/span&gt; &lt;span class="n"&gt;article&lt;/span&gt; &lt;span class="o"&gt;??&lt;/span&gt; &lt;span class="n"&gt;main&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
&lt;span class="p"&gt;}&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;The chosen region only wins if it has at least ~120 characters of real text; otherwise the whole &lt;code&gt;&amp;lt;body&amp;gt;&lt;/code&gt; is used. Then &lt;code&gt;nav&lt;/code&gt;, &lt;code&gt;header&lt;/code&gt;, &lt;code&gt;footer&lt;/code&gt; and &lt;code&gt;aside&lt;/code&gt; blocks are removed and relative links are made absolute, so the Markdown still works after you paste it somewhere else.&lt;/p&gt;

&lt;p&gt;This is deliberately simpler than a full Readability port. It is predictable, cheap on a Worker, and easy to debug when a site does something odd.&lt;/p&gt;

&lt;h2&gt;
  
  
  4. Convert, then check whether the result is suspiciously thin
&lt;/h2&gt;

&lt;p&gt;The cleaned HTML goes to Workers AI's &lt;code&gt;toMarkdown()&lt;/code&gt; when the binding is available, with a hand-written HTML-to-Markdown fallback (headings, lists, links, code blocks, GFM tables) when it is not.&lt;/p&gt;

&lt;p&gt;Then comes the check that matters most in practice:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight typescript"&gt;&lt;code&gt;&lt;span class="kd"&gt;const&lt;/span&gt; &lt;span class="no"&gt;THIN_CONTENT_THRESHOLD&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="mi"&gt;80&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;

&lt;span class="k"&gt;if&lt;/span&gt; &lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="nf"&gt;stripWhitespace&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;markdown&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;length&lt;/span&gt; &lt;span class="o"&gt;&amp;lt;&lt;/span&gt; &lt;span class="no"&gt;THIN_CONTENT_THRESHOLD&lt;/span&gt; &lt;span class="o"&gt;&amp;amp;&amp;amp;&lt;/span&gt; &lt;span class="n"&gt;env&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="no"&gt;BROWSER&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt;
  &lt;span class="kd"&gt;const&lt;/span&gt; &lt;span class="n"&gt;rendered&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="k"&gt;await&lt;/span&gt; &lt;span class="nf"&gt;tryBrowserMarkdown&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;finalUrl&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="n"&gt;env&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="no"&gt;BROWSER&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
  &lt;span class="k"&gt;if&lt;/span&gt; &lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;rendered&lt;/span&gt; &lt;span class="o"&gt;&amp;amp;&amp;amp;&lt;/span&gt; &lt;span class="nf"&gt;longer&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;rendered&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="n"&gt;markdown&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt; &lt;span class="n"&gt;markdown&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="n"&gt;rendered&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
&lt;span class="p"&gt;}&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;A single-page app often returns &lt;code&gt;&amp;lt;div id="root"&amp;gt;&amp;lt;/div&amp;gt;&lt;/code&gt; and a script tag. The direct fetch "succeeds" with almost nothing in it. When the output is that thin, the Worker retries with a headless browser (Cloudflare Browser Rendering, &lt;code&gt;networkidle2&lt;/code&gt;, images/media/fonts blocked) and only keeps the rendered result if it is actually longer. Users can also force JS rendering up front.&lt;/p&gt;

&lt;p&gt;Browser sessions are the expensive part, so they are rate-limited separately from plain fetches.&lt;/p&gt;

&lt;h2&gt;
  
  
  5. Return metadata an LLM workflow can use
&lt;/h2&gt;

&lt;p&gt;The response is plain JSON:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight json"&gt;&lt;code&gt;&lt;span class="p"&gt;{&lt;/span&gt;
  &lt;span class="nl"&gt;"markdown"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s2"&gt;"---\ntitle: \"...\"\nsource: \"https://...\"\nfetched_at: \"...\"\n---\n\n# ..."&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
  &lt;span class="nl"&gt;"title"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s2"&gt;"..."&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
  &lt;span class="nl"&gt;"sourceUrl"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s2"&gt;"https://..."&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
  &lt;span class="nl"&gt;"finalUrl"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s2"&gt;"https://..."&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
  &lt;span class="nl"&gt;"engine"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s2"&gt;"direct | ai | browser | fallback"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
  &lt;span class="nl"&gt;"wordCount"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="mi"&gt;1234&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
  &lt;span class="nl"&gt;"charCount"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="mi"&gt;7890&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
  &lt;span class="nl"&gt;"tokenEstimate"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="mi"&gt;1973&lt;/span&gt;
&lt;span class="p"&gt;}&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;The optional YAML frontmatter keeps the source URL attached to the text, which helps when the Markdown ends up in an Obsidian vault or a RAG index months later. &lt;code&gt;engine&lt;/code&gt; tells you which path produced the output, which is the first thing I look at when a page converts badly. &lt;code&gt;tokenEstimate&lt;/code&gt; is a rough &lt;code&gt;chars / 4&lt;/code&gt;, good enough to decide whether a page fits in a context window.&lt;/p&gt;

&lt;h2&gt;
  
  
  Trying it
&lt;/h2&gt;

&lt;p&gt;The web version needs no account: &lt;a href="https://pdf-to-md.app/url-to-markdown" rel="noopener noreferrer"&gt;URL to Markdown&lt;/a&gt;. There is also an API (documented in the &lt;a href="https://pdf-to-md.app/openapi.json" rel="noopener noreferrer"&gt;OpenAPI schema&lt;/a&gt;):&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;curl -sS -X POST &lt;span class="s2"&gt;"https://pdf-to-md.app/api/v1/url-to-markdown"&lt;/span&gt; \
  -H &lt;span class="s2"&gt;"Authorization: Bearer $PDFTOMD_API_KEY"&lt;/span&gt; \
  -H &lt;span class="s2"&gt;"Content-Type: application/json"&lt;/span&gt; \
  -d &lt;span class="s1"&gt;'{"url":"https://example.com/article","mainOnly":true,"includeFrontmatter":true}'&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;h2&gt;
  
  
  What it does not do
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;Pages behind a login or a paywall are out of scope. It only fetches what an anonymous visitor can see.&lt;/li&gt;
&lt;li&gt;Heavily interactive pages (dashboards, infinite feeds) convert poorly even with the browser fallback.&lt;/li&gt;
&lt;li&gt;The &lt;code&gt;&amp;lt;article&amp;gt;&lt;/code&gt;/&lt;code&gt;&amp;lt;main&amp;gt;&lt;/code&gt; heuristic fails on sites that put everything in nested &lt;code&gt;div&lt;/code&gt;s; for those, turning off "main content only" and trimming by hand works better.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;If you have a URL that converts badly, I'd genuinely like to see it. Those are the cases that make the heuristics better.&lt;/p&gt;

</description>
      <category>webdev</category>
      <category>cloudflare</category>
      <category>markdown</category>
      <category>llm</category>
    </item>
    <item>
      <title>GIF vs WebP vs MP4 in WebAssembly: Real Benchmarks &amp; Building a Browser-Local GIF Suite</title>
      <dc:creator>visiohex</dc:creator>
      <pubDate>Wed, 25 Nov 2026 11:38:17 +0000</pubDate>
      <link>https://dev.to/hex_builder/gif-vs-webp-vs-mp4-in-webassembly-real-benchmarks-building-a-browser-local-gif-suite-n95</link>
      <guid>https://dev.to/hex_builder/gif-vs-webp-vs-mp4-in-webassembly-real-benchmarks-building-a-browser-local-gif-suite-n95</guid>
      <description>&lt;p&gt;If you write technical documentation, ship product changelogs, or share UI demos on GitHub, Discord, Slack, or Shopify, you have probably run into the same annoying wall: &lt;strong&gt;hard upload ceilings&lt;/strong&gt; (128 KB for Slack emoji, 256 KB for Discord stickers, 1 MB–10 MB for docs, PRs, and storefronts).&lt;/p&gt;

&lt;p&gt;Most online GIF compressors force a double compromise:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;You have to upload unreleased UI recordings or internal bug repros to someone else's server.&lt;/li&gt;
&lt;li&gt;You have to guess lossy/palette sliders three or four times before the output finally fits under your size cap.&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;To solve both, I built &lt;strong&gt;&lt;a href="https://compressgif.net" rel="noopener noreferrer"&gt;CompressGIF&lt;/a&gt;&lt;/strong&gt;—a free, browser-local GIF compressor and 12-tool GIF suite running &lt;strong&gt;Gifsicle 1.96&lt;/strong&gt; and &lt;strong&gt;FFmpeg 0.12.10&lt;/strong&gt; inside WebAssembly so local files never leave your machine.&lt;/p&gt;

&lt;p&gt;While building the format guides and regression tests, I ran reproducible same-source benchmarks across GIF, animated WebP, and H.264 MP4 using the exact WASM engines that run in the browser. A few of the numbers surprised me.&lt;/p&gt;




&lt;h2&gt;
  
  
  Same-Source Benchmark: GIF vs WebP vs MP4 (Measured in WASM)
&lt;/h2&gt;

&lt;p&gt;Every row below comes from the same self-authored source animations encoded with:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Gifsicle 1.96 WASM&lt;/strong&gt; (shared &lt;code&gt;optimizeGif&lt;/code&gt; pipeline)&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;FFmpeg core 0.12.10 WASM&lt;/strong&gt; (&lt;code&gt;libwebp_anim&lt;/code&gt; lossless for WebP, &lt;code&gt;libx264&lt;/code&gt; CRF 23 &lt;code&gt;ultrafast&lt;/code&gt; for MP4)&lt;/li&gt;
&lt;/ul&gt;

&lt;div class="table-wrapper-paragraph"&gt;&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;Clip Type&lt;/th&gt;
&lt;th&gt;Dimensions &amp;amp; Length&lt;/th&gt;
&lt;th&gt;Original GIF&lt;/th&gt;
&lt;th&gt;Gifsicle WASM&lt;/th&gt;
&lt;th&gt;Animated WebP (Lossless)&lt;/th&gt;
&lt;th&gt;H.264 MP4 (CRF 23)&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;&lt;strong&gt;Flat UI loop&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;320×180 · 16 frames (1.6s)&lt;/td&gt;
&lt;td&gt;5.9 KB&lt;/td&gt;
&lt;td&gt;4.7 KB&lt;/td&gt;
&lt;td&gt;&lt;strong&gt;3.3 KB&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;10.8 KB&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;strong&gt;Smooth gradient&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;320×180 · 16 frames (1.6s)&lt;/td&gt;
&lt;td&gt;393.5 KB&lt;/td&gt;
&lt;td&gt;377.2 KB&lt;/td&gt;
&lt;td&gt;202.2 KB&lt;/td&gt;
&lt;td&gt;&lt;strong&gt;14.5 KB&lt;/strong&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;strong&gt;Complex motion&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;640×360 · 40 frames (4.0s)&lt;/td&gt;
&lt;td&gt;1,141.6 KB&lt;/td&gt;
&lt;td&gt;903.3 KB &lt;em&gt;(target 1 MB)&lt;/em&gt;
&lt;/td&gt;
&lt;td&gt;468.5 KB&lt;/td&gt;
&lt;td&gt;&lt;strong&gt;91.5 KB&lt;/strong&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;

&lt;h3&gt;
  
  
  Three practical takeaways from those measurements
&lt;/h3&gt;

&lt;ol&gt;
&lt;li&gt;
&lt;strong&gt;MP4 is NOT always smaller than GIF.&lt;/strong&gt; For tiny flat UI loops with sharp edges and few colors (&lt;code&gt;320×180&lt;/code&gt;, 16 frames), MP4 container and codec metadata overhead actually made the MP4 (&lt;strong&gt;10.8 KB&lt;/strong&gt;) &lt;em&gt;more than 2× larger&lt;/em&gt; than the Gifsicle-optimized GIF (&lt;strong&gt;4.7 KB&lt;/strong&gt;) and 3× larger than animated WebP (&lt;strong&gt;3.3 KB&lt;/strong&gt;).&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Smooth gradients destroy GIF's 256-color palette.&lt;/strong&gt; On a &lt;code&gt;320×180&lt;/code&gt; gradient loop, GIF dithering bloats the file to &lt;strong&gt;377.2 KB&lt;/strong&gt;, whereas H.264 MP4 drops it to &lt;strong&gt;14.5 KB&lt;/strong&gt;—a &lt;strong&gt;26× reduction&lt;/strong&gt;. Whenever a destination supports &lt;code&gt;&amp;lt;video autoplay loop muted playsinline&amp;gt;&lt;/code&gt;, MP4 wins decisively.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Target-size lossy GIF compression hits a hard floor—until you crop or trim first.&lt;/strong&gt; Take the 1,141.6 KB complex 40-frame GIF (&lt;code&gt;640×360&lt;/code&gt;):

&lt;ul&gt;
&lt;li&gt;Target &lt;strong&gt;1 MB&lt;/strong&gt;: hits &lt;strong&gt;903.3 KB&lt;/strong&gt; cleanly (&lt;code&gt;colors=256, lossy=20&lt;/code&gt;)&lt;/li&gt;
&lt;li&gt;Target &lt;strong&gt;512 KB&lt;/strong&gt;: hits &lt;strong&gt;368.7 KB&lt;/strong&gt; cleanly (&lt;code&gt;colors=64, lossy=165&lt;/code&gt;)&lt;/li&gt;
&lt;li&gt;Target &lt;strong&gt;256 KB&lt;/strong&gt; &lt;em&gt;(compress only)&lt;/em&gt;: floors out at &lt;strong&gt;363.5 KB&lt;/strong&gt; even at &lt;code&gt;colors=64, lossy=200&lt;/code&gt;
&lt;/li&gt;
&lt;li&gt;Target &lt;strong&gt;256 KB&lt;/strong&gt; &lt;em&gt;(crop to &lt;code&gt;420×182&lt;/code&gt; + trim to 20 frames first)&lt;/em&gt;: drops cleanly to &lt;strong&gt;201.2 KB&lt;/strong&gt; (&lt;code&gt;colors=64, lossy=165&lt;/code&gt;)&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;That last point is why we built editing utilities right next to the compressor instead of treating compression in isolation.&lt;/p&gt;




&lt;h2&gt;
  
  
  Architecture: 100% Local Browser Tools + Optional API/MCP
&lt;/h2&gt;

&lt;h3&gt;
  
  
  1. Client-Side WebAssembly Pipeline
&lt;/h3&gt;

&lt;p&gt;All 12 browser tools run locally in your tab with zero uploads and zero watermarks:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Target-Size GIF Compressor&lt;/strong&gt; (&lt;a href="https://compressgif.net" rel="noopener noreferrer"&gt;compressgif.net&lt;/a&gt;): Presets for 100 KB, 256 KB, 512 KB, 1 MB, 2 MB, 5 MB, and 10 MB with side-by-side live animation preview.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Format Converters&lt;/strong&gt;: &lt;a href="https://compressgif.net/video-to-gif" rel="noopener noreferrer"&gt;Video / MP4 to GIF&lt;/a&gt;, &lt;a href="https://compressgif.net/gif-to-mp4" rel="noopener noreferrer"&gt;GIF to MP4&lt;/a&gt;, &lt;a href="https://compressgif.net/gif-to-webp" rel="noopener noreferrer"&gt;GIF to WebP&lt;/a&gt;, &lt;a href="https://compressgif.net/webp-to-gif" rel="noopener noreferrer"&gt;WebP to GIF&lt;/a&gt;, and &lt;a href="https://compressgif.net/gif-to-png" rel="noopener noreferrer"&gt;GIF to PNG frame extraction&lt;/a&gt;.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Pre-Compression Editors&lt;/strong&gt; (&lt;a href="https://compressgif.net/tools" rel="noopener noreferrer"&gt;all 12 tools&lt;/a&gt;): Resize, Crop, Trim, Speed, Rotate, and Reverse—so you can shed pixels and frames before running Gifsicle.&lt;/li&gt;
&lt;/ul&gt;

&lt;h3&gt;
  
  
  2. Cloud REST API &amp;amp; Hosted MCP Server for Automation
&lt;/h3&gt;

&lt;p&gt;Browser WASM is ideal for interactive privacy-first work, but docs CI pipelines and AI coding agents need headless automation. For that, CompressGIF exposes a separate cloud REST API and a hosted &lt;strong&gt;Model Context Protocol (MCP)&lt;/strong&gt; server (&lt;a href="https://compressgif.net/api-docs" rel="noopener noreferrer"&gt;API &amp;amp; MCP docs&lt;/a&gt;) with 500 free monthly credits.&lt;/p&gt;

&lt;h3&gt;
  
  
  Honest Tradeoffs
&lt;/h3&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Browser memory limits&lt;/strong&gt;: Decoding large 1080p videos in FFmpeg WASM is bound by tab memory; short clips and UI captures work best locally.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Target size is best-effort&lt;/strong&gt;: As the 256 KB benchmark above shows, keeping full resolution and 40 frames can make a strict byte budget mathematically unreachable without cropping, resizing, or trimming first.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Local vs. Cloud boundary&lt;/strong&gt;: The web tools process files strictly on-device; only the optional REST API / MCP endpoints process remote URLs in the cloud.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;If you frequently optimize GIFs for GitHub READMEs, technical blogs, or chat apps, give &lt;a href="https://compressgif.net" rel="noopener noreferrer"&gt;CompressGIF&lt;/a&gt; a spin—I would love to hear what formats or workflow pain points you hit most often!&lt;/p&gt;

</description>
      <category>webassembly</category>
      <category>webdev</category>
      <category>performance</category>
      <category>productivity</category>
    </item>
    <item>
      <title>How We Built an Auditable 48-GPU JSON Dataset for NVIDIA DLSS 5 (Static Next.js + Evidence-Only Updates)</title>
      <dc:creator>visiohex</dc:creator>
      <pubDate>Wed, 25 Nov 2026 10:43:49 +0000</pubDate>
      <link>https://dev.to/hex_builder/how-we-built-an-auditable-48-gpu-json-dataset-for-nvidia-dlss-5-static-nextjs-evidence-only-25ib</link>
      <guid>https://dev.to/hex_builder/how-we-built-an-auditable-48-gpu-json-dataset-for-nvidia-dlss-5-static-nextjs-evidence-only-25ib</guid>
      <description>&lt;p&gt;Since NVIDIA launched &lt;strong&gt;DLSS 5 (3D-Guided Neural Rendering)&lt;/strong&gt; on September 3, 2026—and followed up with the faster ~118M-parameter model on October 16 plus game rollouts in &lt;em&gt;Hogwarts Legacy&lt;/em&gt; (Nov 5), &lt;em&gt;War Thunder&lt;/em&gt; (Nov 12), and &lt;em&gt;Where Winds Meet&lt;/em&gt; (Nov 23–24)—one engineering problem stood out on &lt;strong&gt;&lt;a href="https://www.dlss5.net/" rel="noopener noreferrer"&gt;dlss5.net&lt;/a&gt;&lt;/strong&gt;:&lt;/p&gt;

&lt;p&gt;How do you keep a hardware compatibility checker accurate when rumors, leaks, and unofficial DLL mods flood search results every week?&lt;/p&gt;

&lt;p&gt;Here is the lightweight data architecture we use in &lt;strong&gt;&lt;a href="https://github.com/liuyan-wjy/dlss5-checker" rel="noopener noreferrer"&gt;liuyan-wjy/dlss5-checker&lt;/a&gt;&lt;/strong&gt;.&lt;/p&gt;

&lt;h2&gt;
  
  
  1. Strict 4-State Schema (&lt;code&gt;data/gpu-data.json&lt;/code&gt;)
&lt;/h2&gt;

&lt;p&gt;Instead of a boolean &lt;code&gt;supports_dlss5: true/false&lt;/code&gt;, every one of the &lt;strong&gt;48 desktop and laptop GPUs&lt;/strong&gt; (RTX 50, RTX 40, RTX 30, RTX 20, GTX, AMD Radeon, Intel Arc) carries explicit feature arrays and a strict 4-state enum:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight json"&gt;&lt;code&gt;&lt;span class="p"&gt;{&lt;/span&gt;
  &lt;span class="nl"&gt;"id"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s2"&gt;"rtx-5080"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
  &lt;span class="nl"&gt;"name"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s2"&gt;"NVIDIA GeForce RTX 5080"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
  &lt;span class="nl"&gt;"aliases"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="p"&gt;[&lt;/span&gt;&lt;span class="s2"&gt;"5080"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="s2"&gt;"rtx5080"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="s2"&gt;"rtx 5080"&lt;/span&gt;&lt;span class="p"&gt;]&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
  &lt;span class="nl"&gt;"series"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s2"&gt;"RTX 50"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
  &lt;span class="nl"&gt;"dlss5_support"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s2"&gt;"confirmed"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
  &lt;span class="nl"&gt;"dlss5_features"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="p"&gt;[&lt;/span&gt;&lt;span class="s2"&gt;"neural_rendering"&lt;/span&gt;&lt;span class="p"&gt;]&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
  &lt;span class="nl"&gt;"current_dlss_features"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="p"&gt;[&lt;/span&gt;
    &lt;span class="s2"&gt;"dlss_super_resolution"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
    &lt;span class="s2"&gt;"dlaa"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
    &lt;span class="s2"&gt;"ray_reconstruction"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
    &lt;span class="s2"&gt;"multi_frame_generation_4x"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
    &lt;span class="s2"&gt;"dynamic_mfg_6x"&lt;/span&gt;
  &lt;span class="p"&gt;]&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
  &lt;span class="nl"&gt;"missing_features"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="p"&gt;[&lt;/span&gt;&lt;span class="p"&gt;]&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
  &lt;span class="nl"&gt;"vram"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s2"&gt;"16GB"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
  &lt;span class="nl"&gt;"tier"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s2"&gt;"high-end"&lt;/span&gt;
&lt;span class="p"&gt;}&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Why four states (&lt;code&gt;confirmed&lt;/code&gt;, &lt;code&gt;planned&lt;/code&gt;, &lt;code&gt;unsupported&lt;/code&gt;, &lt;code&gt;none&lt;/code&gt;)?&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;RTX 50 &amp;amp; RTX Spark laptops&lt;/strong&gt; are &lt;code&gt;confirmed&lt;/code&gt; (live today with the required WHQL driver and patched game).&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;RTX 40 series&lt;/strong&gt; is &lt;code&gt;planned&lt;/code&gt; (officially acknowledged by NVIDIA with no public date yet—calling it "supported" misleads buyers, while calling it "unsupported" ignores official plans).&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;RTX 30 &amp;amp; RTX 20&lt;/strong&gt; are &lt;code&gt;unsupported&lt;/code&gt; for DLSS 5 Neural Rendering, yet still run Super Resolution, DLAA, and Ray Reconstruction.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;GTX, AMD Radeon, Intel Arc&lt;/strong&gt; are &lt;code&gt;none&lt;/code&gt; (no local DLSS).&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Cloud access via &lt;strong&gt;GeForce NOW Ultimate&lt;/strong&gt; (RTX 5080 server rigs) is intentionally modeled outside local GPU status so users never confuse cloud streaming with native hardware compatibility.&lt;/p&gt;

&lt;h2&gt;
  
  
  2. Static Export + Client-Side Fuzzy Search + Regression Tests
&lt;/h2&gt;

&lt;p&gt;Because most visitors look up a card on mobile right before updating drivers or buying a GPU, the site compiles to a pure static Next.js export (&lt;code&gt;out/&lt;/code&gt;) hosted on Cloudflare Pages:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Zero backend latency:&lt;/strong&gt; Fuse.js runs fuzzy matching over &lt;code&gt;name&lt;/code&gt; and &lt;code&gt;aliases&lt;/code&gt; so shorthand queries like &lt;code&gt;5070ti&lt;/code&gt; or &lt;code&gt;3060&lt;/code&gt; resolve instantaneously and produce shareable query URLs (&lt;code&gt;dlss5.net/?gpu=rtx-4070&lt;/code&gt;).&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Automated regression tests:&lt;/strong&gt; Before every deploy, &lt;code&gt;npm run test:gpu&lt;/code&gt; verifies alias resolution and compatibility outputs, and &lt;code&gt;npm run test:seo&lt;/code&gt; inspects the static HTML export (&lt;code&gt;canonical&lt;/code&gt;, &lt;code&gt;robots.txt&lt;/code&gt;, &lt;code&gt;sitemap.xml&lt;/code&gt;, &lt;code&gt;llms.txt&lt;/code&gt;, and intentional &lt;code&gt;noindex&lt;/code&gt; on thin individual model pages).&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Git commit audit trail:&lt;/strong&gt; Every label change in &lt;code&gt;data/gpu-data.json&lt;/code&gt; requires a primary source—an official NVIDIA driver/announcement note or game publisher patch note—summarized on our &lt;strong&gt;&lt;a href="https://www.dlss5.net/dlss-5-evidence-tracker" rel="noopener noreferrer"&gt;DLSS 5 Evidence Tracker&lt;/a&gt;&lt;/strong&gt;.&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  3. Useful Reference Links
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Interactive GPU Checker:&lt;/strong&gt; &lt;a href="https://www.dlss5.net/" rel="noopener noreferrer"&gt;https://www.dlss5.net/&lt;/a&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Supported Cards Matrix:&lt;/strong&gt; &lt;a href="https://www.dlss5.net/dlss-5-supported-cards" rel="noopener noreferrer"&gt;https://www.dlss5.net/dlss-5-supported-cards&lt;/a&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Live &amp;amp; Announced Games Tracker:&lt;/strong&gt; &lt;a href="https://www.dlss5.net/dlss-5-games" rel="noopener noreferrer"&gt;https://www.dlss5.net/dlss-5-games&lt;/a&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Setup &amp;amp; Missing-Option Fixes:&lt;/strong&gt; &lt;a href="https://www.dlss5.net/dlss-5-download" rel="noopener noreferrer"&gt;https://www.dlss5.net/dlss-5-download&lt;/a&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Source Code &amp;amp; JSON Dataset (MIT):&lt;/strong&gt; &lt;a href="https://github.com/liuyan-wjy/dlss5-checker" rel="noopener noreferrer"&gt;https://github.com/liuyan-wjy/dlss5-checker&lt;/a&gt;
&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;em&gt;Independent open-source project; not affiliated with NVIDIA.&lt;/em&gt;&lt;/p&gt;

</description>
      <category>nvidia</category>
      <category>gaming</category>
      <category>nextjs</category>
      <category>opensource</category>
    </item>
    <item>
      <title>How to Make a Roblox Thumbnail Without Blender (3 Practical Methods + Exact 1920 1080 Specs)</title>
      <dc:creator>visiohex</dc:creator>
      <pubDate>Wed, 25 Nov 2026 09:43:03 +0000</pubDate>
      <link>https://dev.to/hex_builder/how-to-make-a-roblox-thumbnail-without-blender-3-practical-methods-exact-1920x1080-specs-3ko5</link>
      <guid>https://dev.to/hex_builder/how-to-make-a-roblox-thumbnail-without-blender-3-practical-methods-exact-1920x1080-specs-3ko5</guid>
      <description>&lt;p&gt;Most thumbnail tutorials start with "open Blender". Blender gives beautiful results, but it also means learning rigging, lighting and rendering before you have a single image. You do not need it to get a thumbnail that works. This guide covers three ways to make one without it, and the requirements that apply whichever way you choose.&lt;/p&gt;

&lt;h2&gt;
  
  
  What Roblox requires
&lt;/h2&gt;

&lt;p&gt;Before you make anything, know the target. The &lt;a href="https://create.roblox.com/docs/production/promotion/thumbnails" rel="noopener noreferrer"&gt;Roblox Creator Hub documentation&lt;/a&gt; says a thumbnail should be:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;16:9, ideally 1920×1080 pixels.&lt;/strong&gt; Other shapes are not cropped; they are stretched to 16:9.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;A .jpg, .gif, .png, .tga or .bmp file.&lt;/strong&gt;&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Under 3 MB.&lt;/strong&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;The documentation also warns against placing essential text or elements at the bottom of the image, because that area can be covered by details such as the player count.&lt;/p&gt;

&lt;p&gt;If you already have an image and are not sure it fits, the free &lt;a href="https://rbxgfx.com/tools/roblox-thumbnail-size" rel="noopener noreferrer"&gt;Roblox thumbnail size checker&lt;/a&gt; tells you and can export a corrected copy right in the browser.&lt;/p&gt;

&lt;h2&gt;
  
  
  Method 1: A staged in-game screenshot
&lt;/h2&gt;

&lt;p&gt;The fastest thumbnail is a screenshot of your own game, and it has one big advantage: it shows exactly what players will get.&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;Open your game in Roblox Studio and start a solo playtest.&lt;/li&gt;
&lt;li&gt;Build the moment: put characters where you want them, trigger the effect, pick the time of day.&lt;/li&gt;
&lt;li&gt;Hide the interface so nothing covers the scene, and use the free camera (Left Shift + P during a solo playtest) to frame the shot.&lt;/li&gt;
&lt;li&gt;Take the screenshot at the highest resolution your monitor allows.&lt;/li&gt;
&lt;li&gt;Crop it to 16:9 and scale it to 1920×1080.&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;Screenshots tend to look flat next to rendered thumbnails. Raise the graphics quality, shoot toward the light, and get the camera low and close; those three changes do most of the work.&lt;/p&gt;

&lt;h2&gt;
  
  
  Method 2: A design tool and your own assets
&lt;/h2&gt;

&lt;p&gt;Any image editor that supports layers will do. Start a 1920×1080 canvas, drop in a screenshot or a character render as the background, and add a title.&lt;/p&gt;

&lt;p&gt;Keep three rules in mind:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;One subject.&lt;/strong&gt; A thumbnail is seen small. One character or object in the foreground reads; a crowd does not.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Short text or none.&lt;/strong&gt; A two-word title in thick letters with an outline is the most that stays legible.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Top, not bottom.&lt;/strong&gt; Put the title in the upper half so the player count does not cover it.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;You can also test how your 1920×1080 image reads next to competing tiles at real discovery scale using the free &lt;a href="https://rbxgfx.com/tools/roblox-thumbnail-preview" rel="noopener noreferrer"&gt;Roblox Thumbnail Preview Tool&lt;/a&gt;.&lt;/p&gt;

&lt;h2&gt;
  
  
  Method 3: Generate it with AI
&lt;/h2&gt;

&lt;p&gt;An image model can produce the rendered look without the render. You describe the scene and it draws it.&lt;/p&gt;

&lt;p&gt;A description that works has three parts, in this order: &lt;strong&gt;where&lt;/strong&gt; (the setting), &lt;strong&gt;who&lt;/strong&gt; (the main character and what they look like), &lt;strong&gt;what&lt;/strong&gt; (the action). For example:&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;A blocky character leaping between floating rainbow platforms high above the clouds, lava far below, bright blue sky, excited expression&lt;/p&gt;
&lt;/blockquote&gt;

&lt;p&gt;Two things make AI results usable for a real game:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Give it a reference.&lt;/strong&gt; Uploading a screenshot or a character image keeps the result close to your actual game instead of a generic one.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Ask for several compositions.&lt;/strong&gt; One image is a guess. A set of different layouts (a close-up, an action shot, a wide shot) gives you something to choose from and something to test.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;The &lt;a href="https://rbxgfx.com" rel="noopener noreferrer"&gt;RBXGFX AI Roblox thumbnail maker&lt;/a&gt; does both: it returns up to five different compositions from one description, already at 1920×1080 (plus 512×512 icons for games, Gamepasses, badges, and groups). There are &lt;a href="https://rbxgfx.com/templates" rel="noopener noreferrer"&gt;starting templates for common genres&lt;/a&gt; if you want an example to edit, and new accounts start with 5 free credits after email verification.&lt;/p&gt;

&lt;p&gt;Describe your own characters. Naming another game or franchise gets you a lookalike of someone else's work, which you cannot safely publish.&lt;/p&gt;

&lt;h2&gt;
  
  
  Upload more than one
&lt;/h2&gt;

&lt;p&gt;Whichever method you use, do not stop at one thumbnail. Roblox's thumbnail personalization starts when two or more thumbnails are active; it then shows each player the thumbnail most relevant to them. Roblox recommends testing multiple new thumbnails with every major update.&lt;/p&gt;

&lt;p&gt;The steps for uploading and activating thumbnails are in &lt;a href="https://rbxgfx.com/blog/how-to-change-roblox-game-thumbnail" rel="noopener noreferrer"&gt;how to change your Roblox game thumbnail&lt;/a&gt;, and the way the test works is covered in &lt;a href="https://rbxgfx.com/blog/roblox-thumbnail-personalization" rel="noopener noreferrer"&gt;Roblox thumbnail personalization explained&lt;/a&gt;. If you want a step-by-step walkthrough for a specific workflow, see our guides for &lt;a href="https://rbxgfx.com/blog/how-to-make-a-roblox-thumbnail-on-mobile" rel="noopener noreferrer"&gt;making a Roblox thumbnail on mobile&lt;/a&gt;, &lt;a href="https://rbxgfx.com/blog/how-to-make-a-roblox-thumbnail-in-photopea" rel="noopener noreferrer"&gt;editing a 1920×1080 thumbnail in Photopea&lt;/a&gt;, and &lt;a href="https://rbxgfx.com/blog/how-to-make-a-roblox-thumbnail-with-ai" rel="noopener noreferrer"&gt;writing AI Roblox thumbnail prompts&lt;/a&gt;.&lt;/p&gt;

&lt;h2&gt;
  
  
  Summary
&lt;/h2&gt;

&lt;div class="table-wrapper-paragraph"&gt;&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;Method&lt;/th&gt;
&lt;th&gt;Time&lt;/th&gt;
&lt;th&gt;Best for&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;Staged screenshot&lt;/td&gt;
&lt;td&gt;Minutes&lt;/td&gt;
&lt;td&gt;Showing real gameplay&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Design tool&lt;/td&gt;
&lt;td&gt;An hour or so&lt;/td&gt;
&lt;td&gt;Adding a title to art you already have&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;AI generation&lt;/td&gt;
&lt;td&gt;Minutes&lt;/td&gt;
&lt;td&gt;Rendered-style art and several variants to test&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Blender&lt;/td&gt;
&lt;td&gt;Hours per image&lt;/td&gt;
&lt;td&gt;One exact hero render of a specific avatar&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;

&lt;p&gt;All four end the same way: a 16:9 image at 1920×1080, under 3 MB, with nothing important along the bottom edge.&lt;/p&gt;

&lt;p&gt;&lt;em&gt;Originally published at &lt;a href="https://rbxgfx.com/blog/how-to-make-a-roblox-thumbnail-without-blender" rel="noopener noreferrer"&gt;rbxgfx.com/blog/how-to-make-a-roblox-thumbnail-without-blender&lt;/a&gt;. Disclaimer: RBXGFX is not affiliated with, endorsed by, or sponsored by Roblox Corporation.&lt;/em&gt;&lt;/p&gt;

</description>
      <category>design</category>
    </item>
    <item>
      <title>How We Built a 1-Photo "Huss Huss Huss" AI Lip-Sync Video Tool (and Solved the Shirtless Reference Problem)</title>
      <dc:creator>visiohex</dc:creator>
      <pubDate>Wed, 25 Nov 2026 09:27:56 +0000</pubDate>
      <link>https://dev.to/hex_builder/how-we-built-a-1-photo-huss-huss-huss-ai-lip-sync-video-tool-and-solved-the-shirtless-reference-564d</link>
      <guid>https://dev.to/hex_builder/how-we-built-a-1-photo-huss-huss-huss-ai-lip-sync-video-tool-and-solved-the-shirtless-reference-564d</guid>
      <description>&lt;p&gt;When the &lt;strong&gt;"Huss Huss Huss" ("In this town, everybody goes out partying except me")&lt;/strong&gt; Roblox audio exploded across TikTok and Instagram Reels in November 2026, most people trying to join the gym lip-sync version ran into the same two bottlenecks:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;
&lt;strong&gt;Filming or CapCut templates&lt;/strong&gt; still require shooting your own gym clip and manually syncing the 15-second monologue.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;General AI video generators&lt;/strong&gt; need a motion reference video, an image, careful prompt tuning, and usually a recurring monthly subscription — and even then, the results often lose facial likeness or copy the wrong outfit.&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;So we built &lt;strong&gt;&lt;a href="https://husshusshussai.app/?utm_source=devto&amp;amp;utm_medium=article&amp;amp;utm_campaign=launch" rel="noopener noreferrer"&gt;Huss Huss Huss AI (&lt;code&gt;husshusshussai.app&lt;/code&gt;)&lt;/a&gt;&lt;/strong&gt; — a single-purpose, no-signup web app running on Cloudflare Workers + TanStack Start that turns &lt;strong&gt;one portrait photo&lt;/strong&gt; into the full 15-second, 9:16, 720p gym lip-sync video with original audio.&lt;/p&gt;




&lt;h2&gt;
  
  
  3 Engineering Lessons From Shipping a Trend AI Video Tool
&lt;/h2&gt;

&lt;h3&gt;
  
  
  1. The "Shirtless Reference" Prompt Trap
&lt;/h3&gt;

&lt;p&gt;The viral gym reference clip features a shirtless performer curling a dumbbell. When we first tested character-replacement prompts that said &lt;em&gt;"keep the clothing unchanged"&lt;/em&gt;, models interpreted "unchanged" as &lt;strong&gt;keep the reference video's bare chest&lt;/strong&gt; instead of keeping the outfit from the user's uploaded photo.&lt;/p&gt;

&lt;p&gt;The fix was switching to a short, explicit 3-constraint instruction:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Replace the subject in the reference clip with the person from the photo while locking the gym background, lighting, dumbbell, and camera motion.&lt;/li&gt;
&lt;li&gt;Explicitly anchor &lt;strong&gt;face, hairstyle, skin tone, and clothes&lt;/strong&gt; to the input photo — and forbid copying the bare torso from the source clip.&lt;/li&gt;
&lt;li&gt;Lock &lt;strong&gt;frame-by-frame lip shapes&lt;/strong&gt; to the monologue and every &lt;em&gt;"huss, huss, huss"&lt;/em&gt; panting beat.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Keeping the prompt short also improved facial likeness dramatically compared to verbose paragraph prompts. We published the full reusable prompt template and 15-second shot breakdown in our &lt;a href="https://github.com/liuyan-wjy/huss-huss-huss-ai-guide" rel="noopener noreferrer"&gt;open prompt guide on GitHub&lt;/a&gt; and on our &lt;a href="https://husshusshussai.app/guides/huss-huss-huss-ai-prompt?utm_source=devto&amp;amp;utm_medium=article&amp;amp;utm_campaign=launch" rel="noopener noreferrer"&gt;prompt walkthrough page&lt;/a&gt;.&lt;/p&gt;

&lt;h3&gt;
  
  
  2. Reference Video Resolution Silently Caps Output Resolution
&lt;/h3&gt;

&lt;p&gt;Even when requesting &lt;code&gt;720p&lt;/code&gt; output from a video-to-video character-replacement pipeline, feeding a &lt;code&gt;540x960&lt;/code&gt; source clip silently produced &lt;code&gt;540x960&lt;/code&gt; outputs. Upscaling the motion reference cleanly to &lt;code&gt;720x1280&lt;/code&gt; (&lt;code&gt;9:16&lt;/code&gt;) unlocked genuine &lt;code&gt;720x1280&lt;/code&gt; outputs with synced audio — and let us validate every finished render automatically against our 15s ± 1s duration and audio checks before delivering it to the customer.&lt;/p&gt;

&lt;h3&gt;
  
  
  3. One-Time Packs + No Login Beat Subscriptions for Viral Trends
&lt;/h3&gt;

&lt;p&gt;Nobody wants a $39/month credit subscription just to make one meme clip for TikTok or Reels. We built the flow around:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Zero signup / zero app install&lt;/strong&gt; — upload 1 photo, enter a delivery email, pay once.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;One-time USD packs&lt;/strong&gt; via Dodo Payments with Adaptive Currency: &lt;strong&gt;$8.98&lt;/strong&gt; (1 video), &lt;strong&gt;$22.49&lt;/strong&gt; (3 videos), &lt;strong&gt;$62.99&lt;/strong&gt; (10 videos), with non-expiring credits.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Resilient checkout recovery&lt;/strong&gt; — if a user's mobile connection drops mid-checkout or they hit Back from the hosted checkout page, the app preserves the order ID and surfaces a one-tap resume banner.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;8 full languages&lt;/strong&gt; (English, Spanish, Portuguese, French, German, Japanese, Korean, and Simplified Chinese) compiled with Paraglide and server-rendered on Cloudflare Workers.&lt;/li&gt;
&lt;/ul&gt;




&lt;h2&gt;
  
  
  Quick Comparison: Film It vs. CapCut vs. AI Generators
&lt;/h2&gt;

&lt;div class="table-wrapper-paragraph"&gt;&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;Approach&lt;/th&gt;
&lt;th&gt;Input Needed&lt;/th&gt;
&lt;th&gt;Keeps Your Clothes&lt;/th&gt;
&lt;th&gt;Pricing Model&lt;/th&gt;
&lt;th&gt;Best For&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;Film it yourself / CapCut&lt;/td&gt;
&lt;td&gt;Gym footage + lip-sync filming&lt;/td&gt;
&lt;td&gt;Yes&lt;/td&gt;
&lt;td&gt;Free (time &amp;amp; filming)&lt;/td&gt;
&lt;td&gt;Creators already filming at the gym&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;General AI video tools&lt;/td&gt;
&lt;td&gt;Source clip + photo + prompt + retries&lt;/td&gt;
&lt;td&gt;Depends on prompt&lt;/td&gt;
&lt;td&gt;Credit packs / subscriptions&lt;/td&gt;
&lt;td&gt;Custom scenes &amp;amp; heavy prompt tinkering&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;strong&gt;&lt;a href="https://husshusshussai.app/?utm_source=devto&amp;amp;utm_medium=article&amp;amp;utm_campaign=launch" rel="noopener noreferrer"&gt;Huss Huss Huss AI (&lt;code&gt;husshusshussai.app&lt;/code&gt;)&lt;/a&gt;&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;&lt;strong&gt;1 portrait photo&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;&lt;strong&gt;Yes (always from your photo)&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;&lt;strong&gt;One-time packs from $8.98&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;Fast 15s 9:16 720p clip with original audio, no signup&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;




&lt;h2&gt;
  
  
  Try It or Read the Breakdowns
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Live tool:&lt;/strong&gt; &lt;a href="https://husshusshussai.app/?utm_source=devto&amp;amp;utm_medium=article&amp;amp;utm_campaign=launch" rel="noopener noreferrer"&gt;Huss Huss Huss AI (&lt;code&gt;husshusshussai.app&lt;/code&gt;)&lt;/a&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Step-by-step guide:&lt;/strong&gt; &lt;a href="https://husshusshussai.app/guides/how-to-make-huss-huss-huss-ai-video?utm_source=devto&amp;amp;utm_medium=article&amp;amp;utm_campaign=launch" rel="noopener noreferrer"&gt;How to make the Huss Huss Huss AI video from one photo&lt;/a&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Meme origin:&lt;/strong&gt; &lt;a href="https://husshusshussai.app/guides/huss-huss-huss-meaning?utm_source=devto&amp;amp;utm_medium=article&amp;amp;utm_campaign=launch" rel="noopener noreferrer"&gt;Huss Huss Huss meaning ("In this town" Roblox trend explained)&lt;/a&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Open prompt &amp;amp; beat breakdown repo:&lt;/strong&gt; &lt;a href="https://github.com/liuyan-wjy/huss-huss-huss-ai-guide" rel="noopener noreferrer"&gt;github.com/liuyan-wjy/huss-huss-huss-ai-guide&lt;/a&gt;
&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Happy to answer any questions on Cloudflare Workers + TanStack Start SSR, Dodo Payments one-time checkout recovery, or character-replacement prompt tuning!&lt;/p&gt;

</description>
      <category>showdev</category>
    </item>
    <item>
      <title>Benchmarking Browser-Side Opus Audio Extraction + Whisper vs TurboScribe &amp; Otter.ai</title>
      <dc:creator>visiohex</dc:creator>
      <pubDate>Mon, 23 Nov 2026 14:46:37 +0000</pubDate>
      <link>https://dev.to/hex_builder/benchmarking-browser-side-opus-audio-extraction-whisper-vs-turboscribe-otterai-5425</link>
      <guid>https://dev.to/hex_builder/benchmarking-browser-side-opus-audio-extraction-whisper-vs-turboscribe-otterai-5425</guid>
      <description>&lt;p&gt;Most browser-based transcription tools ask you to upload the entire raw MP4 or WAV file first, wait for a server to demux the audio track, and only then run speech-to-text. On a 24-minute or 2-hour video, you end up pushing tens or hundreds of megabytes of video frames the transcription model immediately throws away.&lt;/p&gt;

&lt;p&gt;When building &lt;a href="https://vocetext.com/" rel="noopener noreferrer"&gt;VoceText&lt;/a&gt;, we took a different approach: extract and compress the audio track &lt;strong&gt;directly inside the browser&lt;/strong&gt; into lightweight Ogg/Opus chunks, then fan those chunks out in parallel across Cloudflare Workers AI (&lt;code&gt;whisper-large-v3-turbo&lt;/code&gt;) and stitch the timestamped results back together.&lt;/p&gt;

&lt;p&gt;To test whether that architecture actually holds up outside synthetic studio clips, we ran a live head-to-head benchmark on &lt;strong&gt;23 November 2026&lt;/strong&gt; comparing &lt;strong&gt;VoceText&lt;/strong&gt;, &lt;strong&gt;TurboScribe&lt;/strong&gt;, and &lt;strong&gt;Otter.ai&lt;/strong&gt; on two real-world, publicly licensed recordings—and audited the transcripts by ear.&lt;/p&gt;




&lt;h2&gt;
  
  
  The two public recordings
&lt;/h2&gt;

&lt;ol&gt;
&lt;li&gt;
&lt;strong&gt;Test 1 (Long MP4 video, single speaker):&lt;/strong&gt; &lt;a href="https://images.nasa.gov/details/jsc2020m000250_Crew-1_Interview_Reel_Soichi_Noguchi_MP4_1080" rel="noopener noreferrer"&gt;NASA SpaceX Crew-1 interview with JAXA astronaut Soichi Noguchi&lt;/a&gt; — 24 min 04 s, 48.0 MB MP4 (Japanese-accented English, technical spaceflight terms like &lt;code&gt;Crew Dragon&lt;/code&gt;, &lt;code&gt;Demo-2&lt;/code&gt;, &lt;code&gt;Soyuz&lt;/code&gt;, &lt;code&gt;39A&lt;/code&gt;).&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Test 2 (Hard 2-speaker accented interview):&lt;/strong&gt; &lt;a href="https://wp.lancs.ac.uk/jukebox/stories/interviews/jbp-bl-01/" rel="noopener noreferrer"&gt;Lancaster University Jukebox Project oral-history clip&lt;/a&gt; (&lt;code&gt;01:23–04:56&lt;/code&gt;, CC BY 4.0) — 3 min 33 s MP3 with a heavy Northern English (Lancashire) regional accent, distant room reverb, and rapid 1–2 second exchanges.&lt;/li&gt;
&lt;/ol&gt;




&lt;h2&gt;
  
  
  Test 1 results: 24-minute accented MP4 video
&lt;/h2&gt;

&lt;p&gt;We measured wall-clock time from clicking Transcribe to a downloadable transcript, uploaded payload size, and Word Error Rate (WER) across three ear-audited 2-minute windows (768 normalized words total, including the first VoceText chunk seam at &lt;code&gt;09:43&lt;/code&gt;):&lt;/p&gt;

&lt;div class="table-wrapper-paragraph"&gt;&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;Service (23 Nov 2026)&lt;/th&gt;
&lt;th&gt;Total Time&lt;/th&gt;
&lt;th&gt;Effective Speed&lt;/th&gt;
&lt;th&gt;Uploaded Data&lt;/th&gt;
&lt;th&gt;Coverage&lt;/th&gt;
&lt;th&gt;Audited WER (768 words)&lt;/th&gt;
&lt;th&gt;Free Exports&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;
&lt;strong&gt;VoceText&lt;/strong&gt; (Whisper &lt;code&gt;large-v3-turbo&lt;/code&gt;, 3 parallel chunks)&lt;/td&gt;
&lt;td&gt;&lt;strong&gt;55.9 s&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;&lt;strong&gt;25.8x&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;
&lt;strong&gt;3.92 MB&lt;/strong&gt; (-91.8%)&lt;/td&gt;
&lt;td&gt;Complete (24:04)&lt;/td&gt;
&lt;td&gt;
&lt;strong&gt;4.17%&lt;/strong&gt; (32 edits)&lt;/td&gt;
&lt;td&gt;TXT, DOCX, SRT, VTT, JSON&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;
&lt;strong&gt;TurboScribe&lt;/strong&gt; (Free · Whale default)&lt;/td&gt;
&lt;td&gt;151.6 s&lt;/td&gt;
&lt;td&gt;9.5x&lt;/td&gt;
&lt;td&gt;48.0 MB&lt;/td&gt;
&lt;td&gt;Complete (24:04)&lt;/td&gt;
&lt;td&gt;
&lt;strong&gt;3.91%&lt;/strong&gt; (30 edits)&lt;/td&gt;
&lt;td&gt;TXT (banner), DOCX, PDF, SRT, VTT&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;
&lt;strong&gt;Otter.ai&lt;/strong&gt; (Basic Free)&lt;/td&gt;
&lt;td&gt;203.2 s&lt;/td&gt;
&lt;td&gt;7.1x&lt;/td&gt;
&lt;td&gt;48.0 MB&lt;/td&gt;
&lt;td&gt;&lt;strong&gt;Stopped at 10:40&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;Incomplete (6.42% on W1)&lt;/td&gt;
&lt;td&gt;TXT only&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;

&lt;h3&gt;
  
  
  Engineering takeaways from Test 1
&lt;/h3&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Client-side audio extraction pays off immediately:&lt;/strong&gt; Compressing the audio track in the browser turned a 48.0 MB MP4 into three Opus chunks (&lt;code&gt;1.60 MB&lt;/code&gt;, &lt;code&gt;1.57 MB&lt;/code&gt;, &lt;code&gt;762 KB&lt;/code&gt; — &lt;strong&gt;3.92 MB total&lt;/strong&gt;). Server-side parallel transcription took 35.4 s (40.8x real-time), bringing total end-to-end time to &lt;strong&gt;55.9 s&lt;/strong&gt;—roughly &lt;strong&gt;2.7x faster&lt;/strong&gt; than TurboScribe and &lt;strong&gt;3.6x faster&lt;/strong&gt; than Otter.ai.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Chunk stitching did not hurt accuracy:&lt;/strong&gt; Window 2 (&lt;code&gt;09:30–11:30&lt;/code&gt;), which directly straddled VoceText's first chunk boundary at &lt;code&gt;09:43&lt;/code&gt;, was actually VoceText's cleanest window at &lt;strong&gt;1.78% WER&lt;/strong&gt;. Overall, VoceText and TurboScribe differed by just two words across 768 audited words.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Watch out for silent free-tier truncation:&lt;/strong&gt; Otter.ai Basic detected the full 24:05 video and deducted all 24 monthly minutes, yet silently stopped transcribing at &lt;code&gt;10:40&lt;/code&gt; with no warning.&lt;/li&gt;
&lt;/ul&gt;




&lt;h2&gt;
  
  
  Test 2 results: Where VoceText trailed (and why we published it)
&lt;/h2&gt;

&lt;p&gt;Honest benchmarks shouldn't hide weak spots. On the reverberant 3m33s Lancashire 2-speaker interview with speaker identification enabled:&lt;/p&gt;

&lt;div class="table-wrapper-paragraph"&gt;&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;Service&lt;/th&gt;
&lt;th&gt;Total Time&lt;/th&gt;
&lt;th&gt;Uploaded Data&lt;/th&gt;
&lt;th&gt;WER (556 words)&lt;/th&gt;
&lt;th&gt;Speaker Word Error&lt;/th&gt;
&lt;th&gt;Turns Detected&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;
&lt;strong&gt;VoceText&lt;/strong&gt; (Pro · Nova-3, auto speaker count)&lt;/td&gt;
&lt;td&gt;&lt;strong&gt;~18 s&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;&lt;strong&gt;632 KB&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;18.35%&lt;/td&gt;
&lt;td&gt;5.45%&lt;/td&gt;
&lt;td&gt;7 / 13&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;
&lt;strong&gt;TurboScribe&lt;/strong&gt; (Free · Whale, 2 speakers set)&lt;/td&gt;
&lt;td&gt;~54 s&lt;/td&gt;
&lt;td&gt;3.26 MB&lt;/td&gt;
&lt;td&gt;&lt;strong&gt;11.15%&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;&lt;strong&gt;0.18%&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;11 / 13&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;
&lt;strong&gt;Otter.ai&lt;/strong&gt; (Basic Free)&lt;/td&gt;
&lt;td&gt;38.9 s&lt;/td&gt;
&lt;td&gt;3.26 MB&lt;/td&gt;
&lt;td&gt;14.57%&lt;/td&gt;
&lt;td&gt;0.92%&lt;/td&gt;
&lt;td&gt;12 / 13&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;

&lt;p&gt;When &lt;strong&gt;Identify speakers&lt;/strong&gt; is turned on in VoceText Pro, requests route to Deepgram Nova-3 with automatic speaker count detection. It finished ~3x faster than TurboScribe Whale, but struggled more on broad Lancashire vowels and folded several rapid 1–2 second interjections into the previous speaker's turn. Passing an explicit speaker count hint (like TurboScribe's default &lt;code&gt;2 speakers&lt;/code&gt; option) clearly helps diarization on rapid back-and-forth interviews—something we're actively using to guide our next pipeline improvements.&lt;/p&gt;




&lt;h2&gt;
  
  
  Full methodology &amp;amp; try it yourself
&lt;/h2&gt;

&lt;p&gt;Every word-level error comparison, normalizer rule, and scoring note is published in the full &lt;a href="https://vocetext.com/blog/real-audio-transcription-benchmark" rel="noopener noreferrer"&gt;Real-Recording Transcription Benchmark&lt;/a&gt;, and there's also a feature-by-feature &lt;a href="https://vocetext.com/turboscribe-alternative" rel="noopener noreferrer"&gt;VoceText vs TurboScribe comparison&lt;/a&gt;.&lt;/p&gt;

&lt;p&gt;If you want to test browser-side audio extraction on your own audio or MP4 recordings, &lt;a href="https://vocetext.com/" rel="noopener noreferrer"&gt;VoceText&lt;/a&gt; lets guests transcribe up to 10 minutes without signing up (free accounts get 3 files/day up to 30 min each, with watermark-free TXT, DOCX, SRT, VTT, and JSON export).&lt;/p&gt;

&lt;p&gt;Curious how other builders here handle client-side demuxing/chunking for long media files—are you using WebCodecs, WebAudio, or ffmpeg.wasm?&lt;/p&gt;

</description>
      <category>productivity</category>
    </item>
    <item>
      <title>What the Top 98 Roblox Games Reveal About Thumbnails, Icons &amp; Personalization (2026 Data)</title>
      <dc:creator>visiohex</dc:creator>
      <pubDate>Mon, 23 Nov 2026 08:18:36 +0000</pubDate>
      <link>https://dev.to/hex_builder/what-the-top-98-roblox-games-reveal-about-thumbnails-icons-personalization-2026-data-5gm3</link>
      <guid>https://dev.to/hex_builder/what-the-top-98-roblox-games-reveal-about-thumbnails-icons-personalization-2026-data-5gm3</guid>
      <description>&lt;p&gt;Most advice about Roblox game thumbnails is opinion. To get real numbers, we pulled public game page data for all 98 experiences in Roblox's &lt;strong&gt;Top Playing Now&lt;/strong&gt; chart (November 21, 2026) and measured their thumbnail counts, videos, title tags, alt text, and color profiles.&lt;/p&gt;

&lt;p&gt;Here is what the data showed—and how solo developers and small studios can apply it without spending days in Blender.&lt;/p&gt;




&lt;h2&gt;
  
  
  Key Findings (98 Top Playing Now Games)
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Median thumbnail count is 5&lt;/strong&gt; (mean: 5.4). Only &lt;strong&gt;4 of 98&lt;/strong&gt; games relied on a single image; &lt;strong&gt;94 of 98&lt;/strong&gt; used two or more, &lt;strong&gt;56&lt;/strong&gt; used five or more, and &lt;strong&gt;12&lt;/strong&gt; used all ten slots.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Just over half (52 of 98)&lt;/strong&gt; include a video on their Experience Detail Page—meaning nearly half reached the top chart with still images alone.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;63 of 98&lt;/strong&gt; put a bracketed tag like &lt;code&gt;[UPD]&lt;/code&gt; or an emoji in the game title to signal freshness or an event.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Only 2 of 98&lt;/strong&gt; added alt text to any game page image, despite Roblox supporting alt text for screen readers.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Warm hues dominate icons&lt;/strong&gt;: 49 of 98 icons had red, orange, or yellow-orange as their dominant saturated hue, while 31 leaned cyan or sky blue. Brightness split evenly across dark (&amp;lt;0.3 luminance: 22 icons) and bright (&amp;gt;0.55 luminance: 21 icons), suggesting contrast against neighboring tiles matters more than one "correct" brightness level.&lt;/li&gt;
&lt;/ul&gt;

&lt;div class="table-wrapper-paragraph"&gt;&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;Images on the Game Page&lt;/th&gt;
&lt;th&gt;Games (n = 98)&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;1&lt;/td&gt;
&lt;td&gt;4&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;2–4&lt;/td&gt;
&lt;td&gt;38&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;5–9&lt;/td&gt;
&lt;td&gt;44&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;10 (maximum)&lt;/td&gt;
&lt;td&gt;12&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;

&lt;p&gt;You can read the full breakdown and download the raw JSON dataset (one row per game) in the original study: &lt;a href="https://rbxgfx.com/blog/roblox-top-games-thumbnails-study" rel="noopener noreferrer"&gt;What the Top 98 Roblox Games Put on Their Game Page&lt;/a&gt;.&lt;/p&gt;




&lt;h2&gt;
  
  
  Why One Thumbnail Isn't Enough Anymore
&lt;/h2&gt;

&lt;p&gt;Roblox's &lt;strong&gt;Thumbnail Personalization&lt;/strong&gt; only activates when two or more Home Page thumbnails are active. Once active, Roblox automatically tests and serves the most relevant thumbnail to different segments of players.&lt;/p&gt;

&lt;p&gt;If you only upload one hero image, personalization never turns on—and you are guessing which angle (a character close-up, a wide world shot, an action scene, or a bold high-contrast frame) converts best for your genre.&lt;/p&gt;

&lt;h3&gt;
  
  
  Practical Checklist Before Shipping an Update
&lt;/h3&gt;

&lt;ol&gt;
&lt;li&gt;
&lt;strong&gt;Upload 3–5 distinct compositions&lt;/strong&gt;, not minor color tweaks of the same shot. Test genuinely different framing (close-up, action, panorama, versus, minimal).&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Preview at small discovery sizes before uploading.&lt;/strong&gt; A 1920×1080 canvas looks very different when scaled down into a crowded Home grid. You can check how your thumbnail reads next to other tiles in the browser with a free &lt;a href="https://rbxgfx.com/tools/roblox-thumbnail-preview" rel="noopener noreferrer"&gt;Roblox Thumbnail Preview Tool&lt;/a&gt; (no login, runs client-side).&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Keep icons upload-ready (512×512 PNG) and circular-safe&lt;/strong&gt; for Gamepasses and Badges. Use a &lt;a href="https://rbxgfx.com/tools/roblox-icon-size" rel="noopener noreferrer"&gt;Roblox Icon Size Checker&lt;/a&gt; or &lt;a href="https://rbxgfx.com/tools/roblox-thumbnail-size" rel="noopener noreferrer"&gt;Thumbnail Size Checker&lt;/a&gt; to verify aspect ratio and file limits before uploading in Creator Dashboard.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Sync title tags with icon badges&lt;/strong&gt; when shipping a patch—a quick &lt;a href="https://rbxgfx.com/tools/roblox-update-icon-maker" rel="noopener noreferrer"&gt;Update Icon Maker&lt;/a&gt; lets you stamp an &lt;code&gt;UPDATE&lt;/code&gt; or event badge onto an existing icon directly in the browser.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Add alt text&lt;/strong&gt; to your game page images—it takes less than a minute and 98% of top games skip it.&lt;/li&gt;
&lt;/ol&gt;




&lt;h2&gt;
  
  
  Generating a 5-Variant Set to Test
&lt;/h2&gt;

&lt;p&gt;We built &lt;strong&gt;&lt;a href="https://rbxgfx.com" rel="noopener noreferrer"&gt;RBXGFX&lt;/a&gt;&lt;/strong&gt; specifically around this workflow: instead of generating a single image per prompt, each run creates up to &lt;strong&gt;5 differently composed 1920×1080 thumbnails&lt;/strong&gt; (or 512×512 game, Gamepass, badge, group, and logo icons) exported at Roblox's documented upload sizes and previewed at real player discovery scale.&lt;/p&gt;

&lt;p&gt;It also includes free no-account tools—including a &lt;a href="https://rbxgfx.com/tools/roblox-game-icon-downloader" rel="noopener noreferrer"&gt;Roblox Game Icon Downloader &amp;amp; Page Checker&lt;/a&gt; to inspect any public game's thumbnails and icons—and starts with 5 free credits after email verification.&lt;/p&gt;

&lt;p&gt;&lt;em&gt;Disclaimer: RBXGFX is not affiliated with, endorsed by, or sponsored by Roblox Corporation.&lt;/em&gt;&lt;/p&gt;

</description>
      <category>gamedev</category>
      <category>roblox</category>
      <category>ai</category>
      <category>indiedev</category>
    </item>
    <item>
      <title>Comparing GPT Image 2.5 (Flare vs. Sunburst) and Nano Banana 2.1 for Reference-Guided Product Photos</title>
      <dc:creator>visiohex</dc:creator>
      <pubDate>Mon, 23 Nov 2026 04:09:02 +0000</pubDate>
      <link>https://dev.to/hex_builder/comparing-gpt-image-25-flare-vs-sunburst-and-nano-banana-21-for-reference-guided-product-photos-1593</link>
      <guid>https://dev.to/hex_builder/comparing-gpt-image-25-flare-vs-sunburst-and-nano-banana-21-for-reference-guided-product-photos-1593</guid>
      <description>&lt;p&gt;When building AI image workflows for ecommerce product photos, ad creatives, or interior staging, the hardest problem is rarely "can the model generate a pretty picture?" — it is &lt;strong&gt;consistency&lt;/strong&gt;: keeping a real product's shape, cap, label, and proportions intact while changing the lighting and background.&lt;/p&gt;

&lt;p&gt;While building &lt;strong&gt;&lt;a href="https://img2gen.com" rel="noopener noreferrer"&gt;Img2Gen&lt;/a&gt;&lt;/strong&gt;, we integrated multiple image generation models side by side—&lt;strong&gt;GPT Image 2.5 (Flare &amp;amp; Sunburst)&lt;/strong&gt;, &lt;strong&gt;Nano Banana 2.1&lt;/strong&gt;, and &lt;strong&gt;GPT Image 2&lt;/strong&gt;—so teams can compare outputs using the exact same prompt, reference images, and aspect ratio before committing to high-resolution renders.&lt;/p&gt;

&lt;p&gt;Here is a practical breakdown of how these models differ in real production workflows and how to structure prompts that avoid common editing artifacts.&lt;/p&gt;




&lt;h2&gt;
  
  
  1. Model &amp;amp; Cost Trade-offs
&lt;/h2&gt;

&lt;p&gt;Different visual tasks benefit from different quality/resolution scaling:&lt;/p&gt;

&lt;div class="table-wrapper-paragraph"&gt;&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;Model&lt;/th&gt;
&lt;th&gt;Scaling Axis&lt;/th&gt;
&lt;th&gt;Reference Images&lt;/th&gt;
&lt;th&gt;Best Fit&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;&lt;strong&gt;GPT Image 2.5 Flare&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;Low / Medium / High quality (3 / 8 / 24 credits)&lt;/td&gt;
&lt;td&gt;Up to 5 refs (+2 credits/ref/output)&lt;/td&gt;
&lt;td&gt;Fast layout &amp;amp; composition iteration before high-res runs&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;strong&gt;GPT Image 2.5 Sunburst&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;Low / Medium / High quality (5 / 12 / 36 credits)&lt;/td&gt;
&lt;td&gt;Up to 5 refs (+2 credits/ref/output)&lt;/td&gt;
&lt;td&gt;Side-by-side quality comparison on tricky textures and lighting&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;strong&gt;Nano Banana 2.1&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;1K / 2K / 4K resolution (10 / 15 / 20 credits)&lt;/td&gt;
&lt;td&gt;Up to 5 refs (no reference surcharge)&lt;/td&gt;
&lt;td&gt;High-resolution 2K/4K outputs with multiple reference images&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;strong&gt;GPT Image 2&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;Low / Medium / High quality (1 / 4 / 16 credits)&lt;/td&gt;
&lt;td&gt;Up to 5 refs (no reference surcharge)&lt;/td&gt;
&lt;td&gt;Budget-friendly bulk concepting and quick edits&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;

&lt;p&gt;Two practical takeaways from running these models side by side:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;
&lt;strong&gt;Higher cost does not automatically win every prompt.&lt;/strong&gt; Testing the exact same prompt and reference set on &lt;strong&gt;Flare vs. Sunburst&lt;/strong&gt; (or &lt;strong&gt;Nano Banana 2.1&lt;/strong&gt;) at a lower tier first often reveals which model preserves small typography, glass reflections, or packaging edges better for your specific subject.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Watch multi-reference pricing math.&lt;/strong&gt; When passing 3–5 reference images (for example, front/side angles of a product plus a lighting reference), surcharge-free reference handling on Nano Banana 2.1 or GPT Image 2 can significantly change the cost per batch compared to per-reference surcharges.&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;You can see a full side-by-side breakdown on our &lt;a href="https://img2gen.com/nano-banana-2-1-vs-gpt-image-2-5" rel="noopener noreferrer"&gt;Nano Banana 2.1 vs. GPT Image 2.5 comparison page&lt;/a&gt;.&lt;/p&gt;




&lt;h2&gt;
  
  
  2. Prompt Pattern That Actually Preserves Subjects
&lt;/h2&gt;

&lt;p&gt;The #1 mistake in image-to-image product editing is describing the new background first and forgetting to anchor what must &lt;em&gt;not&lt;/em&gt; change.&lt;/p&gt;

&lt;p&gt;A reliable structure is &lt;strong&gt;Preserve → Change → Constrain&lt;/strong&gt;:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;Use the uploaded product reference.
Keep its exact shape, color, cap, and label layout recognizable.
Change only the background to a warm pale stone plinth with soft window light and subtle botanical shadows.
Place the product slightly right of center with clean negative space on the left for headline copy.
Preserve the original camera angle and avoid extra props, logos, or invented text.
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Notice three specific details that cut down regeneration cycles:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Explicit negative space&lt;/strong&gt;: Asking for clean space on the left/top makes it trivial to overlay real typography later in Figma or Canva instead of fighting garbled AI text.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Camera-angle lock&lt;/strong&gt;: Mentioning &lt;code&gt;preserve the original camera angle&lt;/code&gt; prevents the model from tilting a bottle or distorting room perspective in &lt;a href="https://img2gen.com/ai-virtual-staging" rel="noopener noreferrer"&gt;virtual room staging&lt;/a&gt;.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Iterative quality step-up&lt;/strong&gt;: Run 1–2 low-quality checks first to verify silhouette and label integrity, then switch to medium/high or 2K/4K only after the composition locks in.&lt;/li&gt;
&lt;/ul&gt;




&lt;h2&gt;
  
  
  3. Handling Billing Reliability &amp;amp; Edge Cases in Production
&lt;/h2&gt;

&lt;p&gt;If you are building your own image studio on top of multi-provider APIs, three UX details make a huge difference for user trust:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Upfront exact credit calculation&lt;/strong&gt;: Show the exact credit cost &lt;em&gt;before&lt;/em&gt; clicking Generate (factoring in model tier, output count, and reference count).&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Automatic refunds on partial/failed jobs&lt;/strong&gt;: Upstream image providers occasionally fail moderation or timeout mid-batch. Automatically refunding missing outputs removes support friction.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Fixed marketplace aspect ratios&lt;/strong&gt;: Exposing explicit presets (&lt;code&gt;1:1&lt;/code&gt;, &lt;code&gt;4:3&lt;/code&gt;, &lt;code&gt;3:4&lt;/code&gt;, &lt;code&gt;16:9&lt;/code&gt;, &lt;code&gt;9:16&lt;/code&gt;) saves ecommerce sellers from re-cropping for Amazon, Shopify, TikTok Shop, or YouTube thumbnails.&lt;/li&gt;
&lt;/ul&gt;




&lt;p&gt;If you want to test &lt;strong&gt;GPT Image 2.5&lt;/strong&gt; or &lt;strong&gt;GPT Image 2&lt;/strong&gt; side by side with reference images, &lt;a href="https://img2gen.com" rel="noopener noreferrer"&gt;Img2Gen&lt;/a&gt; includes 1 free trial image per account—and you can browse copy-ready prompt templates for &lt;a href="https://img2gen.com/ai-product-photo-generator" rel="noopener noreferrer"&gt;product photography&lt;/a&gt; and &lt;a href="https://img2gen.com/gpt-image-2-5-prompts" rel="noopener noreferrer"&gt;GPT Image 2.5 campaigns&lt;/a&gt;.&lt;/p&gt;

&lt;p&gt;What prompt patterns or reference-locking tricks have worked best in your own AI image pipelines?&lt;/p&gt;

</description>
      <category>aidesignwebdevproductivity</category>
    </item>
  </channel>
</rss>
