<?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: TimofeUS</title>
    <description>The latest articles on DEV Community by TimofeUS (@timofeus_248d45d3902a91a3).</description>
    <link>https://dev.to/timofeus_248d45d3902a91a3</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%2F4213880%2F8b6c9921-2d78-43d9-94c6-ae49abe20b41.png</url>
      <title>DEV Community: TimofeUS</title>
      <link>https://dev.to/timofeus_248d45d3902a91a3</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/timofeus_248d45d3902a91a3"/>
    <language>en</language>
    <item>
      <title>My AI page builder couldn't see its own pages. Here's how I gave it eyes (and free GPT-6.1 Sol)</title>
      <dc:creator>TimofeUS</dc:creator>
      <pubDate>Sun, 15 Nov 2026 21:10:48 +0000</pubDate>
      <link>https://dev.to/timofeus_248d45d3902a91a3/my-ai-page-builder-couldnt-see-its-own-pages-heres-how-i-gave-it-eyes-and-free-gpt-61-sol-16e7</link>
      <guid>https://dev.to/timofeus_248d45d3902a91a3/my-ai-page-builder-couldnt-see-its-own-pages-heres-how-i-gave-it-eyes-and-free-gpt-61-sol-16e7</guid>
      <description>&lt;p&gt;&lt;a href="https://openconstructor.pw" rel="noopener noreferrer"&gt;openconstructor&lt;/a&gt; is a free, open-source page builder. You describe a page, AI agents build it on a canvas, and you export plain HTML. This update came from watching it fail. A friend asked for "a site about the current strongest LLMs with charts", and the AI:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;listed GPT-4o and Claude 3.7 as the newest models,&lt;/li&gt;
&lt;li&gt;drew filter buttons that did nothing,&lt;/li&gt;
&lt;li&gt;laid a line chart on top of the table,&lt;/li&gt;
&lt;li&gt;and when I asked it to fix that, said "fixed the overlaps" and changed nothing.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Every one of those has the same root cause: &lt;strong&gt;the model writes blind&lt;/strong&gt;. It never sees the page, it never sees today's world, and it gets cut off when a page is long. Here's what I changed, with the code that does it.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;TL;DR&lt;/strong&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;The studio now checks every result for overlapping parts and sends them back to the model&lt;/li&gt;
&lt;li&gt;Requests about anything current trigger a web search &lt;em&gt;before&lt;/em&gt; the model writes&lt;/li&gt;
&lt;li&gt;Big pages are edited part by part instead of rewritten whole&lt;/li&gt;
&lt;li&gt;Tabs, filters and accordions work without JavaScript&lt;/li&gt;
&lt;li&gt;31 AI providers, some with no key at all, and &lt;strong&gt;GPT-6.1 Sol free through Pollinations&lt;/strong&gt;
&lt;/li&gt;
&lt;li&gt;A stop button, phone models for screens, real icons and company logos&lt;/li&gt;
&lt;/ul&gt;




&lt;h2&gt;
  
  
  1. Giving the model eyes: an overlap check after every answer
&lt;/h2&gt;

&lt;p&gt;The model can't see that its chart sits on top of the table. The browser can. After each answer is drawn on the canvas, the studio walks the rendered page and collects everything you'd actually see: text, form controls, and charts (an &lt;code&gt;&amp;lt;svg&amp;gt;&lt;/code&gt; with at least three marks). Then it compares every pair that isn't nested.&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight javascript"&gt;&lt;code&gt;&lt;span class="kd"&gt;const&lt;/span&gt; &lt;span class="n"&gt;w&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="nb"&gt;Math&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;min&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;a&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;box&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;right&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="n"&gt;b&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;box&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;right&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt; &lt;span class="o"&gt;-&lt;/span&gt; &lt;span class="nb"&gt;Math&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;max&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;a&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;box&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;left&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="n"&gt;b&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;box&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;left&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;h&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="nb"&gt;Math&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;min&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;a&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;box&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;bottom&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="n"&gt;b&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;box&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;bottom&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt; &lt;span class="o"&gt;-&lt;/span&gt; &lt;span class="nb"&gt;Math&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;max&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;a&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;box&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;top&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="n"&gt;b&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;box&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;top&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;w&lt;/span&gt; &lt;span class="o"&gt;&amp;gt;&lt;/span&gt; &lt;span class="mi"&gt;2&lt;/span&gt; &lt;span class="o"&gt;&amp;amp;&amp;amp;&lt;/span&gt; &lt;span class="n"&gt;h&lt;/span&gt; &lt;span class="o"&gt;&amp;gt;&lt;/span&gt; &lt;span class="mi"&gt;2&lt;/span&gt; &lt;span class="o"&gt;&amp;amp;&amp;amp;&lt;/span&gt; &lt;span class="n"&gt;w&lt;/span&gt; &lt;span class="o"&gt;*&lt;/span&gt; &lt;span class="n"&gt;h&lt;/span&gt; &lt;span class="o"&gt;&amp;gt;=&lt;/span&gt; &lt;span class="nb"&gt;Math&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;min&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;a&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;area&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="n"&gt;b&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;area&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.25&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt; &lt;span class="n"&gt;found&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="sb"&gt;`${describe(a.el)} overlaps ${describe(b.el)}`&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;If anything is found, the model gets one concrete fix request. That means "&lt;code&gt;&amp;lt;label.chk&amp;gt; “Google”&lt;/code&gt; overlaps &lt;code&gt;&amp;lt;select.dev&amp;gt; “All models”&lt;/code&gt;", not "please check the layout". It gets one round only, so it can't loop.&lt;/p&gt;

&lt;p&gt;The tricky part was false alarms. A giant headline with &lt;code&gt;line-height: .8&lt;/code&gt; "overlapped" the nav under it, though the letters were nowhere near it. A text node's client rect is the font's whole content area, accent room and descender room included. Trimming each line box to roughly the letters fixed it:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight javascript"&gt;&lt;code&gt;&lt;span class="kd"&gt;const&lt;/span&gt; &lt;span class="n"&gt;top&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="n"&gt;q&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;top&lt;/span&gt; &lt;span class="o"&gt;+&lt;/span&gt; &lt;span class="n"&gt;fontSize&lt;/span&gt; &lt;span class="o"&gt;*&lt;/span&gt; &lt;span class="mf"&gt;0.16&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="n"&gt;bottom&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="n"&gt;q&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;bottom&lt;/span&gt; &lt;span class="o"&gt;-&lt;/span&gt; &lt;span class="n"&gt;fontSize&lt;/span&gt; &lt;span class="o"&gt;*&lt;/span&gt; &lt;span class="mf"&gt;0.2&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Overlaps that are part of the design pass the check: text on a photo, a collage of prints over a big word, the invisible radios behind custom tabs.&lt;/p&gt;

&lt;h2&gt;
  
  
  2. The model lived in 2024: fresh facts before writing
&lt;/h2&gt;

&lt;p&gt;Models confidently present what they remember as current. Mine &lt;em&gt;could&lt;/em&gt; ask for a web search, but it almost never did. So now the studio searches &lt;strong&gt;before&lt;/strong&gt; the model writes, whenever a request mentions news, prices, "latest", rankings, a year, or AI models:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;The model writes 1–2 search queries.&lt;/li&gt;
&lt;li&gt;The studio runs them, then &lt;strong&gt;opens the two best results and reads them in full&lt;/strong&gt;. Rankings and scores live on those pages, not in snippets.&lt;/li&gt;
&lt;li&gt;For anything about AI models, it also pulls OpenRouter's public model list. It's updated daily and has release dates, context sizes and prices.&lt;/li&gt;
&lt;li&gt;Everything goes to the model, and to every agent of the page swarm, under one rule: &lt;em&gt;take names, numbers and dates from these facts; if a number isn't in them, write "—"&lt;/em&gt;.&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;That last rule matters more than it sounds. Before it, the model filled the "score" column with plausible numbers it made up. Now it leaves a dash.&lt;/p&gt;

&lt;h2&gt;
  
  
  3. Buttons that did nothing: interactivity without JavaScript
&lt;/h2&gt;

&lt;p&gt;The pages are HTML + CSS only. Scripts are off on the canvas and in exports, on purpose. So every "All · Code · Math" filter the AI drew was a picture of a button. Instead of letting it write JS, I gave it one markup pattern and add the CSS myself after the answer:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight html"&gt;&lt;code&gt;&lt;span class="nt"&gt;&amp;lt;div&lt;/span&gt; &lt;span class="na"&gt;class&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="s"&gt;"oc-tabs"&lt;/span&gt;&lt;span class="nt"&gt;&amp;gt;&lt;/span&gt;
  &lt;span class="nt"&gt;&amp;lt;input&lt;/span&gt; &lt;span class="na"&gt;type&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="s"&gt;"radio"&lt;/span&gt; &lt;span class="na"&gt;name&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="s"&gt;"lb"&lt;/span&gt; &lt;span class="na"&gt;id&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="s"&gt;"lb-1"&lt;/span&gt; &lt;span class="na"&gt;checked&lt;/span&gt;&lt;span class="nt"&gt;&amp;gt;&amp;lt;label&lt;/span&gt; &lt;span class="na"&gt;for&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="s"&gt;"lb-1"&lt;/span&gt;&lt;span class="nt"&gt;&amp;gt;&lt;/span&gt;All&lt;span class="nt"&gt;&amp;lt;/label&amp;gt;&lt;/span&gt;
  &lt;span class="nt"&gt;&amp;lt;input&lt;/span&gt; &lt;span class="na"&gt;type&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="s"&gt;"radio"&lt;/span&gt; &lt;span class="na"&gt;name&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="s"&gt;"lb"&lt;/span&gt; &lt;span class="na"&gt;id&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="s"&gt;"lb-2"&lt;/span&gt;&lt;span class="nt"&gt;&amp;gt;&amp;lt;label&lt;/span&gt; &lt;span class="na"&gt;for&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="s"&gt;"lb-2"&lt;/span&gt;&lt;span class="nt"&gt;&amp;gt;&lt;/span&gt;Code&lt;span class="nt"&gt;&amp;lt;/label&amp;gt;&lt;/span&gt;
  &lt;span class="nt"&gt;&amp;lt;div&lt;/span&gt; &lt;span class="na"&gt;class&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="s"&gt;"oc-panels"&lt;/span&gt;&lt;span class="nt"&gt;&amp;gt;&amp;lt;div&amp;gt;&lt;/span&gt;…overall…&lt;span class="nt"&gt;&amp;lt;/div&amp;gt;&amp;lt;div&amp;gt;&lt;/span&gt;…coding…&lt;span class="nt"&gt;&amp;lt;/div&amp;gt;&amp;lt;/div&amp;gt;&lt;/span&gt;
&lt;span class="nt"&gt;&amp;lt;/div&amp;gt;&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;





&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight css"&gt;&lt;code&gt;&lt;span class="nc"&gt;.oc-tabs&lt;/span&gt; &lt;span class="o"&gt;&amp;gt;&lt;/span&gt; &lt;span class="nc"&gt;.oc-panels&lt;/span&gt; &lt;span class="o"&gt;&amp;gt;&lt;/span&gt; &lt;span class="o"&gt;*&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt; &lt;span class="nl"&gt;display&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="n"&gt;none&lt;/span&gt; &lt;span class="p"&gt;}&lt;/span&gt;
&lt;span class="nc"&gt;.oc-tabs&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;&lt;span class="nf"&gt;has&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="o"&gt;&amp;gt;&lt;/span&gt; &lt;span class="nt"&gt;input&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;&lt;span class="nf"&gt;nth-of-type&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="mi"&gt;2&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;&lt;span class="nt"&gt;checked&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt; &lt;span class="o"&gt;&amp;gt;&lt;/span&gt; &lt;span class="nc"&gt;.oc-panels&lt;/span&gt; &lt;span class="o"&gt;&amp;gt;&lt;/span&gt; &lt;span class="p"&gt;:&lt;/span&gt;&lt;span class="nf"&gt;nth-child&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="mi"&gt;2&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt; &lt;span class="nl"&gt;display&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="n"&gt;block&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;:has()&lt;/code&gt; does the switching: one rule per tab, up to eight. Accordions are &lt;code&gt;&amp;lt;details&amp;gt;&lt;/code&gt; and toggles are checkboxes. It works on the canvas, in exports and on published pages, and there's still no script.&lt;/p&gt;

&lt;h2&gt;
  
  
  4. "Could not apply the response": editing big pages part by part
&lt;/h2&gt;

&lt;p&gt;Asking for one more section on a 7-section page used to make the model return the &lt;em&gt;entire&lt;/em&gt; page. That's the CSS of the design system plus every section, and it often ran past the 8,000-token answer limit and got cut off. When it did fit, it took over three minutes.&lt;/p&gt;

&lt;p&gt;Now a big page goes to the model with markers, &lt;code&gt;&amp;lt;!-- part 3 --&amp;gt;&lt;/code&gt;, and the model answers with only the changes:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight html"&gt;&lt;code&gt;&lt;span class="c"&gt;&amp;lt;!-- after 3 --&amp;gt;&lt;/span&gt;
&lt;span class="nt"&gt;&amp;lt;section&lt;/span&gt; &lt;span class="na"&gt;class&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="s"&gt;"charts"&lt;/span&gt;&lt;span class="nt"&gt;&amp;gt;&lt;/span&gt;…&lt;span class="nt"&gt;&amp;lt;/section&amp;gt;&lt;/span&gt;
&lt;span class="c"&gt;&amp;lt;!-- replace 5 --&amp;gt;&lt;/span&gt;
&lt;span class="nt"&gt;&amp;lt;footer&amp;gt;&lt;/span&gt;…&lt;span class="nt"&gt;&amp;lt;/footer&amp;gt;&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;A small parser applies them. If the answer gets cut off mid-block, the unfinished last block is dropped and the rest still applies. Edits are faster, and the parts nobody asked to change stay the same.&lt;/p&gt;

&lt;h2&gt;
  
  
  5. Art directions, learned from Awwwards
&lt;/h2&gt;

&lt;p&gt;To push the look up, I studied a dozen recent Awwwards Sites of the Day. I didn't copy their code (most of it is WebGL anyway). I wrote down the &lt;em&gt;moves&lt;/em&gt; they share:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;a giant wordmark edge to edge;&lt;/li&gt;
&lt;li&gt;a full-bleed dark photo with tiny mono labels in the corners;&lt;/li&gt;
&lt;li&gt;heavy condensed caps mixed with serif words in one headline;&lt;/li&gt;
&lt;li&gt;an editorial photo collage;&lt;/li&gt;
&lt;li&gt;floating products on a pastel ground;&lt;/li&gt;
&lt;li&gt;one gigantic number as the hero of a section.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;These became eight art directions, each with rules and an example hero I wrote from scratch. The planner picks one for the business, and every section agent follows it.&lt;/p&gt;

&lt;h2&gt;
  
  
  6. 31 providers, and CORS decides who gets in
&lt;/h2&gt;

&lt;p&gt;openconstructor sends your key straight from your browser to the AI service. It never goes through my server. That makes CORS the entry test: if a service's API doesn't answer browser requests, it can't be added. I went through the free-LLM lists on GitHub and probed 26 APIs. Some highlights:&lt;/p&gt;

&lt;div class="table-wrapper-paragraph"&gt;&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;Works from the browser&lt;/th&gt;
&lt;th&gt;Doesn't (no CORS)&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;OVHcloud (no key at all), LLM7 (no key), Pollinations, Vercel AI Gateway, Scaleway, Alibaba, DeepInfra, Fireworks, Nebius, Novita, Chutes&lt;/td&gt;
&lt;td&gt;NVIDIA NIM, Kilo Code, Cloudflare, Ollama Cloud, SambaNova, GitHub Models&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;

&lt;p&gt;The other half of the work was &lt;strong&gt;honest "$0" labels&lt;/strong&gt;. Several services list free and paid models side by side in different formats: LLM7 has "turbo" vs "pro" tiers, Pollinations has a &lt;code&gt;paid_only&lt;/code&gt; flag, and some report prices per token while others report them per million. If you get that wrong, someone picks a paid model marked free and hits "insufficient balance". Now only models that actually cost nothing get the $0 badge.&lt;/p&gt;

&lt;h3&gt;
  
  
  Free GPT-6.1 Sol
&lt;/h3&gt;

&lt;p&gt;The nicest find: &lt;strong&gt;&lt;a href="https://pollinations.ai" rel="noopener noreferrer"&gt;Pollinations&lt;/a&gt;&lt;/strong&gt; gives a free key with a daily allowance, and a lot of strong models fall under it. GPT-6.1 Sol, GPT-6 Luna, Kimi K3.1 Pro and DeepSeek V4.1 Flash are all marked as not paid-only. Get a key at enter.pollinations.ai, paste it under ⚙ AI keys, and pick &lt;code&gt;openai/gpt-6.1-sol&lt;/code&gt;.&lt;/p&gt;

&lt;p&gt;Two caveats so nobody's surprised:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;It's a daily allowance, not unlimited.&lt;/li&gt;
&lt;li&gt;I don't know how Pollinations serves it behind the scenes; it may be routed differently from OpenAI's own API. I haven't benchmarked the two against each other.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;For free page-building it's a great option all the same.&lt;/p&gt;

&lt;p&gt;If you want zero setup, OVHcloud and LLM7 work with no key or sign-up at all. They're rate-limited, but that's enough to try things.&lt;/p&gt;

&lt;h2&gt;
  
  
  7. Smaller things
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Stop button.&lt;/strong&gt; The send button turns into a square "stop" while the AI works. One &lt;code&gt;AbortController&lt;/code&gt; covers every request of the turn, including the parallel agents.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Phone and tablet models.&lt;/strong&gt; iPhone 17 Pro Max, Galaxy S26, Pixel 10, iPad and more are in the page size list, and the preview uses the model you picked.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Icons and logos.&lt;/strong&gt; The model writes &lt;code&gt;&amp;lt;img src="icon:trophy"&amp;gt;&lt;/code&gt; or &lt;code&gt;&amp;lt;img src="logo:anthropic"&amp;gt;&lt;/code&gt;, and the studio inlines the real SVG: about 1,500 Lucide icons, plus company logos from Simple Icons. No more empty squares where a logo should be.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Agents that wait their turn.&lt;/strong&gt; Free tiers often reject a burst of parallel requests with 429. Agents now queue and retry, and if they still fail, the page is built in one go.&lt;/li&gt;
&lt;/ul&gt;




&lt;p&gt;openconstructor is free and open source, and it works without an account. Try it at &lt;strong&gt;&lt;a href="https://openconstructor.pw" rel="noopener noreferrer"&gt;openconstructor.pw&lt;/a&gt;&lt;/strong&gt; and grab the code on &lt;strong&gt;&lt;a href="https://github.com/Kuloka/openconstructor" rel="noopener noreferrer"&gt;GitHub&lt;/a&gt;&lt;/strong&gt;.&lt;/p&gt;

&lt;p&gt;If you've solved "the model can't see what it built" differently, I'd love to hear how. The overlap check is crude, and I'm sure there are smarter ways.&lt;/p&gt;

</description>
      <category>webdev</category>
      <category>ai</category>
      <category>javascript</category>
      <category>showdev</category>
    </item>
    <item>
      <title>WebGL can't see the page behind it. So how do you make glass text that follows the cursor?</title>
      <dc:creator>TimofeUS</dc:creator>
      <pubDate>Fri, 13 Nov 2026 22:44:20 +0000</pubDate>
      <link>https://dev.to/timofeus_248d45d3902a91a3/webgl-cant-see-the-page-behind-it-so-how-do-you-make-glass-text-that-follows-the-cursor-182f</link>
      <guid>https://dev.to/timofeus_248d45d3902a91a3/webgl-cant-see-the-page-behind-it-so-how-do-you-make-glass-text-that-follows-the-cursor-182f</guid>
      <description>&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2F4ka7xdr1icvepurq07rs.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2F4ka7xdr1icvepurq07rs.png" alt="A 3D glass word &amp;quot;OpenConstructor&amp;quot; floating on a dark canvas" width="799" height="327"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;That's a real 3D word made of glass. It's rendered live in WebGL, it turns toward your cursor, and an AI put it on the page from one sentence: &lt;em&gt;"Make the word OpenConstructor look like glass so that it reacts to the cursor."&lt;/em&gt;&lt;/p&gt;

&lt;p&gt;Getting there took a week of things breaking in ways I didn't expect. Here are the four that taught me the most, with the fixes.&lt;/p&gt;

&lt;p&gt;Some context first. &lt;a href="https://openconstructor.pw" rel="noopener noreferrer"&gt;openconstructor&lt;/a&gt; is a free, open-source page builder. You describe what you want, AI agents build it on a canvas, and you export plain HTML. The AI never writes WebGL. It writes one token:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight html"&gt;&lt;code&gt;&lt;span class="nt"&gt;&amp;lt;img&lt;/span&gt; &lt;span class="na"&gt;src&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="s"&gt;"model:text OpenConstructor glass"&lt;/span&gt; &lt;span class="na"&gt;alt&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="s"&gt;"OpenConstructor"&lt;/span&gt;&lt;span class="nt"&gt;&amp;gt;&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;A small trusted runtime turns that token into a live 3D object: three.js, a font, materials and studio light. I'll explain why it's a token and not a three.js scene at the end, because the first version taught me that the hard way.&lt;/p&gt;




&lt;h2&gt;
  
  
  1. Glass on a transparent canvas comes out as milky plastic
&lt;/h2&gt;

&lt;p&gt;The obvious approach is &lt;code&gt;MeshPhysicalMaterial&lt;/code&gt; with &lt;code&gt;transmission: 1&lt;/code&gt;, real refraction, done. On a transparent canvas, this is what you get: a white, frosted, plastic-looking letter.&lt;/p&gt;

&lt;p&gt;The reason is simple once you see it. &lt;strong&gt;Refraction needs something behind the object to bend&lt;/strong&gt;, and a WebGL canvas can't see the DOM behind it. three.js renders what's behind the glass into a separate buffer first, and on a transparent canvas there's nothing in it. So the glass "refracts" an empty buffer.&lt;/p&gt;

&lt;p&gt;So I stopped trying to refract the page and looked at how glass actually looks on a dark website. The body is basically invisible, and what you see is &lt;strong&gt;the light it catches&lt;/strong&gt;: thin streaks on the edges, a bright rim and the back faces glinting through.&lt;/p&gt;

&lt;p&gt;So the glass material draws only light, and &lt;em&gt;adds&lt;/em&gt; it to whatever is under the canvas:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight javascript"&gt;&lt;code&gt;&lt;span class="nb"&gt;Object&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;assign&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;material&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt;
  &lt;span class="n"&gt;color&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="n"&gt;tint&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;clone&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;multiplyScalar&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="mf"&gt;0.025&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="c1"&gt;// almost no body&lt;/span&gt;
  &lt;span class="n"&gt;metalness&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="n"&gt;roughness&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="mf"&gt;0.02&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="n"&gt;envMapIntensity&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="mf"&gt;2.4&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="n"&gt;clearcoat&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="mi"&gt;1&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
  &lt;span class="n"&gt;transparent&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="kc"&gt;true&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="n"&gt;depthWrite&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="kc"&gt;false&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
  &lt;span class="n"&gt;blending&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="no"&gt;THREE&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nc"&gt;CustomBlending&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
  &lt;span class="n"&gt;blendEquation&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="no"&gt;THREE&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nc"&gt;AddEquation&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
  &lt;span class="n"&gt;blendSrc&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="no"&gt;THREE&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nc"&gt;OneFactor&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;  &lt;span class="n"&gt;blendDst&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="no"&gt;THREE&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nc"&gt;OneFactor&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;   &lt;span class="c1"&gt;// colour: add light&lt;/span&gt;
  &lt;span class="n"&gt;blendSrcAlpha&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="no"&gt;THREE&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nc"&gt;ZeroFactor&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="n"&gt;blendDstAlpha&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="no"&gt;THREE&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nc"&gt;OneFactor&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="c1"&gt;// alpha: untouched&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;The alpha trick is the whole point. The canvas is premultiplied, so a pixel with colour but &lt;strong&gt;alpha 0&lt;/strong&gt; composites as &lt;code&gt;page + colour&lt;/code&gt;. The real page background shows through the letter, and the highlights sit on top of it, like real glass.&lt;/p&gt;

&lt;p&gt;Two more things made it read as glass instead of a ghost:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;A light environment built for glass.&lt;/strong&gt; A soft "photo studio" environment makes chrome gorgeous, but it washes flat glass faces in even grey. Glass needs a black room crossed by thin strip lights, so every bevel catches a crisp line. I build it as a tiny three.js scene of emissive planes and feed it to &lt;code&gt;PMREMGenerator.fromScene()&lt;/code&gt;.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Draw the inside too.&lt;/strong&gt; A second mesh with &lt;code&gt;side: BackSide&lt;/code&gt; and dimmer reflections gives you the inner walls, and that's what makes it look thick.&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  2. A &lt;code&gt;&amp;lt;canvas&amp;gt;&lt;/code&gt; in a document without scripts has no size and paints nothing
&lt;/h2&gt;

&lt;p&gt;On the editor canvas, every element lives in its own sandboxed iframe &lt;strong&gt;without &lt;code&gt;allow-scripts&lt;/code&gt;&lt;/strong&gt;. AI-written code should never run in the editor. My plan was to let the editor (the parent page) grab the iframe's &lt;code&gt;&amp;lt;canvas&amp;gt;&lt;/code&gt; and render WebGL into it from outside. Same-origin, so &lt;code&gt;contentDocument&lt;/code&gt; works.&lt;/p&gt;

&lt;p&gt;The first result was a blank square. I tried 2D next and drew a big red rectangle into that canvas from the parent: also nothing.&lt;/p&gt;

&lt;p&gt;It's in the spec. When scripting is disabled in a document, &lt;strong&gt;&lt;code&gt;&amp;lt;canvas&amp;gt;&lt;/code&gt; represents its fallback content.&lt;/strong&gt; It stops being a replaced element: no intrinsic 300×150 size, no bitmap painted, just an empty inline box. It doesn't matter that another document is drawing into it.&lt;/p&gt;

&lt;p&gt;That also explained a second bug users hit: &lt;em&gt;"the 3D model appears while it's being built, then disappears."&lt;/em&gt; While the AI streams, the element is an &lt;code&gt;&amp;lt;img&amp;gt;&lt;/code&gt; (visible). The final element is a &lt;code&gt;&amp;lt;canvas&amp;gt;&lt;/code&gt; with no width set, which collapsed to 0×0.&lt;/p&gt;

&lt;p&gt;The fixes:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;The editor puts &lt;strong&gt;its own canvas on top&lt;/strong&gt; of the element, at the same spot, inside the element's node so it moves and zooms with it, and renders there.&lt;/li&gt;
&lt;li&gt;The canvas inside the frame gets a size from CSS with &lt;strong&gt;zero specificity&lt;/strong&gt;, so any width the AI wrote still wins:
&lt;/li&gt;
&lt;/ul&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight css"&gt;&lt;code&gt;&lt;span class="p"&gt;:&lt;/span&gt;&lt;span class="nf"&gt;where&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="nt"&gt;canvas&lt;/span&gt;&lt;span class="p"&gt;[&lt;/span&gt;&lt;span class="nt"&gt;data-oc-model&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;display&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="n"&gt;inline-block&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt; &lt;span class="nl"&gt;width&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="mi"&gt;640px&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt; &lt;span class="nl"&gt;vertical-align&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="n"&gt;middle&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;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight html"&gt;&lt;code&gt;&lt;span class="nt"&gt;&amp;lt;canvas&lt;/span&gt; &lt;span class="na"&gt;data-oc-model&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="s"&gt;"text OpenConstructor glass"&lt;/span&gt; &lt;span class="na"&gt;width&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="s"&gt;"640"&lt;/span&gt; &lt;span class="na"&gt;height&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="s"&gt;"100"&lt;/span&gt;
        &lt;span class="na"&gt;style&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="s"&gt;"aspect-ratio: 640/100; background: url('data:image/webp…') center/contain no-repeat"&lt;/span&gt;&lt;span class="nt"&gt;&amp;gt;&amp;lt;/canvas&amp;gt;&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;The &lt;code&gt;background&lt;/code&gt; is a pre-rendered still of the same object. It's what you see in exports where scripts are off, in thumbnails, and for the first frame before WebGL starts.&lt;/p&gt;

&lt;h2&gt;
  
  
  3. The browser silently kills your oldest WebGL contexts
&lt;/h2&gt;

&lt;p&gt;Chrome keeps around &lt;strong&gt;16 WebGL contexts per tab&lt;/strong&gt;. Create the 17th and it drops the oldest with a &lt;code&gt;webglcontextlost&lt;/code&gt;, which you won't notice unless you listen for it.&lt;/p&gt;

&lt;p&gt;I hit it because every still picture (those poster backgrounds) is rendered with a short-lived renderer, and a page with several 3D objects rendered them all at once, while the live ones were already running. The result was live objects going blank at random.&lt;/p&gt;

&lt;p&gt;The fix is boring, and that's fine: render stills &lt;strong&gt;one at a time&lt;/strong&gt; through a promise queue, and cap live objects in the editor.&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight javascript"&gt;&lt;code&gt;&lt;span class="kd"&gt;let&lt;/span&gt; &lt;span class="n"&gt;queue&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="nb"&gt;Promise&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;resolve&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;export&lt;/span&gt; &lt;span class="kd"&gt;function&lt;/span&gt; &lt;span class="nf"&gt;renderModel&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;query&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="n"&gt;size&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="mi"&gt;640&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;job&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="n"&gt;queue&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;then&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="o"&gt;=&amp;gt;&lt;/span&gt; &lt;span class="nf"&gt;renderStill&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;query&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="n"&gt;size&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="n"&gt;queue&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="n"&gt;job&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="k"&gt;catch&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="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="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;job&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;
  
  
  4. Long words: fit the box, not the sphere
&lt;/h2&gt;

&lt;p&gt;My camera framed objects by their bounding &lt;strong&gt;sphere&lt;/strong&gt;, which is perfect for a torus or a letter. For a 15-letter word, the sphere's diameter is the word's width, so the word ended up a thin line in the middle of the picture.&lt;/p&gt;

&lt;p&gt;The fix has three parts:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Fit per axis&lt;/strong&gt;: &lt;code&gt;distance = max(height·0.62 / tan(fov/2), width·0.58 / (tan(fov/2)·aspect))&lt;/code&gt;.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Refit when the canvas changes shape&lt;/strong&gt;: &lt;code&gt;ResizeObserver&lt;/code&gt; → &lt;code&gt;fit(w / h)&lt;/code&gt;. Otherwise responsive layouts crop the word.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;A long lens for wide objects&lt;/strong&gt; (FOV 14° instead of 30°). The ends of the word stop bending into perspective when it turns toward the cursor, and it turns less (±9° instead of ±20°) so it stays readable.&lt;/li&gt;
&lt;/ul&gt;




&lt;h2&gt;
  
  
  Why the AI writes a token, not a 3D scene
&lt;/h2&gt;

&lt;p&gt;The first version let the model describe 3D scenes as JSON: boxes, spheres, tori and so on. Ask it for "a 3D letter D" and you get a box glued to half a torus. Technically a D, visually a crime.&lt;/p&gt;

&lt;p&gt;The lesson I keep relearning with LLMs: &lt;strong&gt;give the model a high-level vocabulary and do the precise part deterministically.&lt;/strong&gt; "&lt;code&gt;model:letter D chrome&lt;/code&gt;" is impossible to get wrong. A real font outline, bevels, materials and lighting live in ~300 lines of code I control. The AI picks &lt;em&gt;what&lt;/em&gt;; the runtime decides &lt;em&gt;how&lt;/em&gt;.&lt;/p&gt;

&lt;p&gt;The same idea keeps the published pages safe. The runtime is one self-contained file (three.js + font, ~163 KB gzipped, no network), and published pages get a CSP that allows &lt;strong&gt;that one script and nothing else&lt;/strong&gt;. The AI's own code still never runs.&lt;/p&gt;




&lt;p&gt;The editor is free and open source. You can try making your own glass word at &lt;a href="https://openconstructor.pw" rel="noopener noreferrer"&gt;openconstructor.pw&lt;/a&gt; (no sign-up for the first tries), and the code is on &lt;a href="https://github.com/Kuloka/openconstructor" rel="noopener noreferrer"&gt;GitHub&lt;/a&gt;.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;A question for the three.js people:&lt;/strong&gt; is there a cleaner way to fake refraction when the canvas can't see the DOM behind it? Additive highlights look right on dark pages, but on a light background glass should &lt;em&gt;darken&lt;/em&gt; things a little, and I haven't found a nice way to do both. I'd love to hear how you'd approach it.&lt;/p&gt;

</description>
      <category>webdev</category>
      <category>javascript</category>
      <category>threejs</category>
      <category>showdev</category>
    </item>
    <item>
      <title>4 Weird Browser Tricks Inside My $0/mo Open-Source AI UI Builder (DOM-to-Game Compiler, .glb 3D &amp; 14k Free Requests/Day)</title>
      <dc:creator>TimofeUS</dc:creator>
      <pubDate>Thu, 12 Nov 2026 20:02:31 +0000</pubDate>
      <link>https://dev.to/timofeus_248d45d3902a91a3/4-weird-browser-tricks-inside-my-0mo-open-source-ai-ui-builder-dom-to-game-compiler-glb-3d--d8l</link>
      <guid>https://dev.to/timofeus_248d45d3902a91a3/4-weird-browser-tricks-inside-my-0mo-open-source-ai-ui-builder-dom-to-game-compiler-glb-3d--d8l</guid>
      <description>&lt;p&gt;If you build a free browser tool with AI in 2026, you immediately hit three walls:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;
&lt;strong&gt;Inference bills&lt;/strong&gt; eat you alive the moment traffic spikes.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Small/free models&lt;/strong&gt; hallucinate broken layouts when asked to edit an existing component.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Hosting user-generated pages&lt;/strong&gt; turns into an XSS nightmare the second someone prompts &lt;code&gt;&amp;lt;script&amp;gt;fetch(...)&amp;lt;/script&amp;gt;&lt;/code&gt;.&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;Over the past week I've been building &lt;strong&gt;&lt;a href="https://openconstructor.pw" rel="noopener noreferrer"&gt;openconstructor&lt;/a&gt;&lt;/strong&gt; — an MIT-licensed, zero-signup visual UI builder that runs directly in the browser with 320+ plain HTML/CSS components and exports to &lt;strong&gt;HTML, React, Vue, Svelte, LÖVE 2D, and Roblox Luau / &lt;code&gt;.rbxmx&lt;/code&gt;&lt;/strong&gt;.&lt;/p&gt;

&lt;p&gt;If you dig open-source browser tools (or want to poke through the source), a ⭐ on the repo genuinely helps a ton right now while the project is brand new:&lt;/p&gt;


&lt;div class="ltag-github-readme-tag"&gt;
  &lt;div class="readme-overview"&gt;
    &lt;h2&gt;
      &lt;img src="https://assets.dev.to/assets/github-logo-5a155e1f9a670af7944dd5e12375bc76ed542ea80224905ecaf878b9157cdefc.svg" alt="GitHub logo"&gt;
      &lt;a href="https://github.com/Kuloka" rel="noopener noreferrer"&gt;
        Kuloka
      &lt;/a&gt; / &lt;a href="https://github.com/Kuloka/openconstructor" rel="noopener noreferrer"&gt;
        openconstructor
      &lt;/a&gt;
    &lt;/h2&gt;
    &lt;h3&gt;
      Open-source AI interface builder: drag components onto a canvas, ask an AI to build pages, export HTML.
    &lt;/h3&gt;
  &lt;/div&gt;
  &lt;div class="ltag-github-body"&gt;
    
&lt;div id="readme" class="md"&gt;&lt;p&gt;&lt;a href="https://openconstructor.pw" rel="nofollow noopener noreferrer"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fraw.githubusercontent.com%2FKuloka%2Fopenconstructor%2FHEAD%2Fpublic%2Fog.png" alt="openconstructor — build interfaces with words and blocks"&gt;&lt;/a&gt;&lt;/p&gt;
&lt;div class="markdown-heading"&gt;
&lt;h1 class="heading-element"&gt;openconstructor&lt;/h1&gt;
&lt;/div&gt;
&lt;p&gt;Build interfaces with words and blocks — an open-source, in-browser AI interface builder.&lt;/p&gt;
&lt;p&gt;&lt;a href="https://openconstructor.pw" rel="nofollow noopener noreferrer"&gt;&lt;b&gt;openconstructor.pw&lt;/b&gt;&lt;/a&gt; — try it live&lt;/p&gt;
&lt;p&gt;&lt;a href="https://openconstructor.pw/roblox-ui-builder" rel="nofollow noopener noreferrer"&gt;Roblox UI builder&lt;/a&gt; · &lt;a href="https://openconstructor.pw/ai-ui-generator" rel="nofollow noopener noreferrer"&gt;AI UI generator&lt;/a&gt; · &lt;a href="https://openconstructor.pw/components" rel="nofollow noopener noreferrer"&gt;320+ components&lt;/a&gt; · &lt;a href="https://openconstructor.pw/html-to-react-vue-svelte" rel="nofollow noopener noreferrer"&gt;HTML to React / Vue / Svelte&lt;/a&gt; · &lt;a href="https://openconstructor.pw/love2d-ui" rel="nofollow noopener noreferrer"&gt;LÖVE 2D UI&lt;/a&gt; · &lt;a href="https://openconstructor.pw/gallery" rel="nofollow noopener noreferrer"&gt;Gallery&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Drop ready-made components onto one shared canvas, move them around freely, and ask an AI model to build or change anything on the page. When you're done, export a single self-contained HTML file.&lt;/p&gt;
&lt;div class="markdown-heading"&gt;
&lt;h2 class="heading-element"&gt;Features&lt;/h2&gt;
&lt;/div&gt;
&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Component catalog&lt;/strong&gt; — 320+ components in 13 sections (AI &amp;amp; Chat, Dashboard, Commerce, Auth, Landing…), all plain HTML + CSS. Animated ones play on hover.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Free-form canvas&lt;/strong&gt; — drag, pan, zoom, desktop / laptop / tablet / phone sizes.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Background editor&lt;/strong&gt; — solid, linear, radial and mesh gradients, dot / grid / line / noise patterns, or raw CSS.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;⚗ Fusion&lt;/strong&gt; — right-click an element → &lt;em&gt;fuse with…&lt;/em&gt; → click another: the AI…&lt;/li&gt;
&lt;/ul&gt;&lt;/div&gt;
  &lt;/div&gt;
  &lt;div class="gh-btn-container"&gt;&lt;a class="gh-btn" href="https://github.com/Kuloka/openconstructor" rel="noopener noreferrer"&gt;View on GitHub&lt;/a&gt;&lt;/div&gt;
&lt;/div&gt;


&lt;p&gt;Here are the 4 most useful engineering tricks that came out of building it on a strict &lt;strong&gt;$0/month&lt;/strong&gt; budget.&lt;/p&gt;




&lt;h2&gt;
  
  
  1. Surviving Traffic on $0: The &lt;code&gt;413&lt;/code&gt; + Quota Waterfall (~14,000 Free Requests/Day)
&lt;/h2&gt;

&lt;p&gt;Most indie AI wrappers hardcode a single provider and put up a paywall after 3 prompts. Instead, you can chain free-tier and edge inference endpoints into a &lt;strong&gt;stateless fallback waterfall&lt;/strong&gt; where each failure mode routes to a different architecture:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Primary (high taste, huge weights):&lt;/strong&gt; &lt;code&gt;GPT-OSS 120B&lt;/code&gt; / &lt;code&gt;Llama 3.3 70B&lt;/code&gt; via Cloudflare Workers AI &amp;amp; Groq for fast layout synthesis.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;High-volume safety net (~14k req/day):&lt;/strong&gt; &lt;code&gt;Gemma 3 27B&lt;/code&gt; on Gemini's free quota. One quirk with Gemma endpoints: system instructions aren't always accepted as a separate &lt;code&gt;system&lt;/code&gt; role, and smaller context gateways throw &lt;code&gt;HTTP 413&lt;/code&gt; on big component trees.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Folding the system rules into the first user turn and cascading on &lt;code&gt;413 / 429 / 5xx&lt;/code&gt; made anonymous free generation reliable without touching a credit card:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight javascript"&gt;&lt;code&gt;&lt;span class="kd"&gt;const&lt;/span&gt; &lt;span class="no"&gt;PROVIDERS&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="n"&gt;name&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s2"&gt;"workers-gpt-oss"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="n"&gt;maxTokens&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="mi"&gt;8000&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="n"&gt;supportsSystem&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="kc"&gt;true&lt;/span&gt; &lt;span class="p"&gt;}&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
  &lt;span class="p"&gt;{&lt;/span&gt; &lt;span class="n"&gt;name&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s2"&gt;"gemini-gemma-27b"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="n"&gt;maxTokens&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="mi"&gt;8192&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="n"&gt;supportsSystem&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="kc"&gt;false&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="n"&gt;name&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s2"&gt;"groq-llama-70b"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;   &lt;span class="n"&gt;maxTokens&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="mi"&gt;6000&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="n"&gt;supportsSystem&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="kc"&gt;true&lt;/span&gt; &lt;span class="p"&gt;}&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
&lt;span class="p"&gt;]&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;

&lt;span class="k"&gt;async&lt;/span&gt; &lt;span class="kd"&gt;function&lt;/span&gt; &lt;span class="nf"&gt;generateWithFallback&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;systemPrompt&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="n"&gt;userPrompt&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt;
  &lt;span class="k"&gt;for&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;p&lt;/span&gt; &lt;span class="k"&gt;of&lt;/span&gt; &lt;span class="no"&gt;PROVIDERS&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;messages&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="n"&gt;p&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;supportsSystem&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="n"&gt;role&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s2"&gt;"system"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="n"&gt;content&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="n"&gt;systemPrompt&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="n"&gt;role&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s2"&gt;"user"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="n"&gt;content&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="n"&gt;userPrompt&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="n"&gt;role&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s2"&gt;"user"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="n"&gt;content&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="sb"&gt;`${systemPrompt}\n\n---\nTask:\n${userPrompt}`&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="kd"&gt;const&lt;/span&gt; &lt;span class="n"&gt;res&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;callProvider&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;p&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="n"&gt;messages&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;res&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;ok&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;res&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;text&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="p"&gt;[&lt;/span&gt;&lt;span class="mi"&gt;413&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="mi"&gt;429&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="mi"&gt;500&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="mi"&gt;502&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="mi"&gt;503&lt;/span&gt;&lt;span class="p"&gt;]&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;includes&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;res&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;status&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt; &lt;span class="k"&gt;break&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="k"&gt;new&lt;/span&gt; &lt;span class="nb"&gt;Error&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="s2"&gt;"All free inference routes exhausted"&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;And if a user brings their own API key (OpenRouter, Gemini, Groq, Anthropic, OpenAI, DeepSeek, Cerebras), the key stays in &lt;code&gt;localStorage&lt;/code&gt; and talks &lt;strong&gt;directly from their browser to the provider&lt;/strong&gt; — zero backend middleman.&lt;/p&gt;




&lt;h2&gt;
  
  
  2. Reading &lt;code&gt;getComputedStyle&lt;/code&gt; to Compile HTML/CSS Into Game Engines (Lua / Luau)
&lt;/h2&gt;

&lt;p&gt;Web developers aren't the only people who hate hand-coding UI coordinates. Building a shop menu or HUD in &lt;strong&gt;Roblox Studio&lt;/strong&gt; (&lt;code&gt;UDim2&lt;/code&gt;, &lt;code&gt;UICorner&lt;/code&gt;, &lt;code&gt;UIGradient&lt;/code&gt;, &lt;code&gt;UIListLayout&lt;/code&gt;) or &lt;strong&gt;LÖVE 2D&lt;/strong&gt; is notoriously tedious compared to Flexbox and CSS Grid.&lt;/p&gt;

&lt;p&gt;Instead of writing a fragile CSS parser from scratch, we let the &lt;strong&gt;browser's own layout engine&lt;/strong&gt; do the hard math first:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;Mount the component inside a hidden/sandboxed container at the target viewport (&lt;code&gt;1920×1080&lt;/code&gt;, phone safe-zone, etc.).&lt;/li&gt;
&lt;li&gt;Walk the live DOM tree with &lt;code&gt;getBoundingClientRect()&lt;/code&gt; and &lt;code&gt;getComputedStyle(el)&lt;/code&gt;.&lt;/li&gt;
&lt;li&gt;Emit native engine primitives (&lt;code&gt;Frame&lt;/code&gt;, &lt;code&gt;TextButton&lt;/code&gt;, &lt;code&gt;UICorner&lt;/code&gt;, &lt;code&gt;UIStroke&lt;/code&gt; in a &lt;code&gt;.rbxmx&lt;/code&gt; XML model or Luau &lt;code&gt;LocalScript&lt;/code&gt;, or draw calls in LÖVE 2D Lua).
&lt;/li&gt;
&lt;/ol&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight javascript"&gt;&lt;code&gt;&lt;span class="kd"&gt;function&lt;/span&gt; &lt;span class="nf"&gt;domNodeToEngineRect&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;el&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="n"&gt;rootRect&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;rect&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="n"&gt;el&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;getBoundingClientRect&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;cs&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="nf"&gt;getComputedStyle&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;el&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="p"&gt;{&lt;/span&gt;
    &lt;span class="n"&gt;xScale&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;rect&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;left&lt;/span&gt; &lt;span class="o"&gt;-&lt;/span&gt; &lt;span class="n"&gt;rootRect&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;left&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt; &lt;span class="o"&gt;/&lt;/span&gt; &lt;span class="n"&gt;rootRect&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;width&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
    &lt;span class="n"&gt;yScale&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;rect&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;top&lt;/span&gt; &lt;span class="o"&gt;-&lt;/span&gt; &lt;span class="n"&gt;rootRect&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;top&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt; &lt;span class="o"&gt;/&lt;/span&gt; &lt;span class="n"&gt;rootRect&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;height&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
    &lt;span class="n"&gt;wScale&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="n"&gt;rect&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;width&lt;/span&gt; &lt;span class="o"&gt;/&lt;/span&gt; &lt;span class="n"&gt;rootRect&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;width&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
    &lt;span class="n"&gt;hScale&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="n"&gt;rect&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;height&lt;/span&gt; &lt;span class="o"&gt;/&lt;/span&gt; &lt;span class="n"&gt;rootRect&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;height&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
    &lt;span class="n"&gt;bgColor&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="n"&gt;cs&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;backgroundColor&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
    &lt;span class="n"&gt;radiusPx&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="nb"&gt;parseFloat&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;cs&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;borderTopLeftRadius&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt; &lt;span class="o"&gt;||&lt;/span&gt; &lt;span class="mi"&gt;0&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
    &lt;span class="n"&gt;text&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="n"&gt;el&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;childElementCount&lt;/span&gt; &lt;span class="o"&gt;===&lt;/span&gt; &lt;span class="mi"&gt;0&lt;/span&gt; &lt;span class="o"&gt;?&lt;/span&gt; &lt;span class="n"&gt;el&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;textContent&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="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="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;Because Flexbox, Grid, &lt;code&gt;clamp()&lt;/code&gt;, and padding are already resolved by the browser before export, complex responsive cards translate cleanly into engines that have never heard of CSS — and Live Sync mode preserves existing click-handler scripts attached to named buttons.&lt;/p&gt;




&lt;h2&gt;
  
  
  3. "Component Fusion" &amp;amp; JSON-to-&lt;code&gt;.glb&lt;/code&gt; 3D Scenes (Keeping Taste Out of the Prompt)
&lt;/h2&gt;

&lt;p&gt;When you ask a small or mid-sized model to &lt;em&gt;"redesign this pricing table"&lt;/em&gt; from scratch, you get style drift: fonts change, spacing collapses, and half the page turns into generic purple gradients.&lt;/p&gt;

&lt;p&gt;Three constraints fixed this almost completely:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Edit patches instead of full rewrites:&lt;/strong&gt; When modifying an element on the canvas, the prompt locks the existing visual tokens (palette, border radius, typography) and asks only for the requested delta.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;⚗ Component Fusion (&lt;code&gt;Structure A × Style B&lt;/code&gt;):&lt;/strong&gt; Right-click any component on the canvas → &lt;em&gt;Fuse with…&lt;/em&gt; → click a second component. Passing the &lt;strong&gt;DOM skeleton&lt;/strong&gt; of A alongside the &lt;strong&gt;computed CSS tokens&lt;/strong&gt; of B gives the model concrete anchors instead of an open-ended prompt.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Data-first 3D (&lt;code&gt;.glb&lt;/code&gt; export):&lt;/strong&gt; Asking an LLM to write raw Three.js mesh code fails ~40% of the time. Asking it to emit a &lt;strong&gt;declarative JSON scene graph&lt;/strong&gt; (primitives, PBR materials, lights, keyframe loops) succeeds almost every time — and a lightweight Three.js builder renders it live on the canvas and exports a standard &lt;strong&gt;&lt;code&gt;.glb&lt;/code&gt;&lt;/strong&gt; file for Blender, Godot, Unity, or Roblox.&lt;/li&gt;
&lt;/ul&gt;




&lt;h2&gt;
  
  
  4. Zero-JS Sandboxed Publishing (&lt;code&gt;script-src 'none'&lt;/code&gt;)
&lt;/h2&gt;

&lt;p&gt;Allowing anonymous users to generate and publish live pages (&lt;code&gt;openconstructor.pw/p/...&lt;/code&gt;) usually requires heavy sanitization or isolated subdomains.&lt;/p&gt;

&lt;p&gt;We went a simpler route: &lt;strong&gt;published pages execute zero JavaScript.&lt;/strong&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Every preview tile in the editor runs inside &lt;code&gt;&amp;lt;iframe sandbox&amp;gt;&lt;/code&gt; with scripts and network requests disabled.&lt;/li&gt;
&lt;li&gt;Published pages ship with strict CSP &lt;code&gt;script-src 'none'&lt;/code&gt;.&lt;/li&gt;
&lt;li&gt;Interactive states (hover reveals, accordions via &lt;code&gt;&amp;lt;details&amp;gt;&lt;/code&gt;, multi-screen &lt;code&gt;#anchor&lt;/code&gt; prototypes, marquee loops, &lt;code&gt;@keyframes&lt;/code&gt; entrances) are 100% pure HTML + CSS.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;No XSS vectors, no crypto-miners, instant loads, and zero runtime bundle overhead.&lt;/p&gt;




&lt;h2&gt;
  
  
  Try It / Break It
&lt;/h2&gt;

&lt;p&gt;You can test the canvas right in the browser with &lt;strong&gt;no account and no API key&lt;/strong&gt; at &lt;strong&gt;&lt;a href="https://openconstructor.pw" rel="noopener noreferrer"&gt;openconstructor.pw&lt;/a&gt;&lt;/strong&gt;, or run it locally in 3 commands:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;git clone https://github.com/Kuloka/openconstructor.git
&lt;span class="nb"&gt;cd&lt;/span&gt; openconstructor
npm install &lt;span class="o"&gt;&amp;amp;&amp;amp;&lt;/span&gt; npm run dev
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;&lt;strong&gt;Question for folks building with LLMs on the frontend:&lt;/strong&gt; When you generate UIs, do you let the model stream raw HTML/JSX directly, or do you lock it behind a typed JSON schema / component registry? Curious where you drew the line between flexibility and reliability.&lt;/p&gt;

</description>
      <category>webdev</category>
      <category>javascript</category>
      <category>opensource</category>
      <category>ai</category>
    </item>
    <item>
      <title>How I build UI with free AI models (no subscription, no backend)</title>
      <dc:creator>TimofeUS</dc:creator>
      <pubDate>Thu, 12 Nov 2026 17:39:33 +0000</pubDate>
      <link>https://dev.to/timofeus_248d45d3902a91a3/how-i-build-ui-with-free-ai-models-no-subscription-no-backend-aj6</link>
      <guid>https://dev.to/timofeus_248d45d3902a91a3/how-i-build-ui-with-free-ai-models-no-subscription-no-backend-aj6</guid>
      <description>&lt;p&gt;Most AI UI generators work the same way: you type a prompt, you get a nice layout, and then you hit a paywall. But a lot of the models behind them are available for free if you call them yourself. Groq gives you GPT-OSS 120B with roughly a thousand requests a day, and Google AI Studio hands out Gemini Flash keys for free.&lt;/p&gt;

&lt;p&gt;So I built &lt;a href="https://openconstructor.pw" rel="noopener noreferrer"&gt;openconstructor&lt;/a&gt;, an open-source UI builder that runs on &lt;em&gt;your&lt;/em&gt; key, right in the browser.&lt;/p&gt;

&lt;h2&gt;
  
  
  How it works
&lt;/h2&gt;

&lt;ol&gt;
&lt;li&gt;
&lt;strong&gt;Pick a provider and paste a key.&lt;/strong&gt; Open the AI providers panel (gear icon), choose Groq, Gemini, OpenRouter, Mistral or a paid one (OpenAI, Anthropic, xAI, DeepSeek, Together, Cerebras).&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Describe what you want.&lt;/strong&gt; "A pricing section with three tiers, the middle one highlighted, friendly tone." The assistant builds sections or whole pages.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Or drag components.&lt;/strong&gt; There are 320+ HTML/CSS components (forms, dashboards, auth screens, pricing tables, landing sections, AI chat UIs) that you can drop on a canvas and mix with AI output.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Export.&lt;/strong&gt; Plain HTML, or React / Vue / Svelte components. There's also a LÖVE 2D target that writes a &lt;code&gt;main.lua&lt;/code&gt; for game UIs.&lt;/li&gt;
&lt;/ol&gt;

&lt;h2&gt;
  
  
  Where does the key go?
&lt;/h2&gt;

&lt;p&gt;Nowhere but the provider. openconstructor has no AI backend: requests go straight from your browser to the provider you chose. The key is kept for the current tab by default, or on your device if you tick "remember keys". You don't need an account for any of this: building, AI and export all work without signing in.&lt;/p&gt;

&lt;h2&gt;
  
  
  Tips for better results on free models
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Use the bigger free models.&lt;/strong&gt; GPT-OSS 120B and Gemini Flash produce noticeably better layouts than small models.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Be specific.&lt;/strong&gt; Name the sections, give item counts, describe the tone.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Edit small.&lt;/strong&gt; Select one element and ask for a change; the rest of the page stays as it is.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Try Fusion.&lt;/strong&gt; Right-click an element, choose Fusion, then click another one: you get the first element's content in the second one's visual style.&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  It's open source
&lt;/h2&gt;

&lt;p&gt;MIT-licensed, code is here: &lt;a href="https://github.com/Kuloka/openconstructor" rel="noopener noreferrer"&gt;github.com/Kuloka/openconstructor&lt;/a&gt;. Issues and PRs are welcome.&lt;/p&gt;

&lt;p&gt;I'd love to hear which export target you'd actually use, and which components are missing. Drop a comment!&lt;/p&gt;

</description>
      <category>webdev</category>
      <category>ai</category>
      <category>opensource</category>
      <category>showdev</category>
    </item>
    <item>
      <title>A New Innovation in AI &amp; Dev-Tools: I added "Code Mode" (Pre-Alpha) to my free UI builder — generate full apps and drop them onto your web canvas</title>
      <dc:creator>TimofeUS</dc:creator>
      <pubDate>Tue, 10 Nov 2026 17:39:41 +0000</pubDate>
      <link>https://dev.to/timofeus_248d45d3902a91a3/a-new-innovation-in-ai-dev-tools-i-added-code-mode-pre-alpha-to-my-free-ui-builder--2ecb</link>
      <guid>https://dev.to/timofeus_248d45d3902a91a3/a-new-innovation-in-ai-dev-tools-i-added-code-mode-pre-alpha-to-my-free-ui-builder--2ecb</guid>
      <description>&lt;h1&gt;
  
  
  Bugs are possible — this is a pre-alpha version (I’ll release an update tomorrow)
&lt;/h1&gt;

&lt;h1&gt;
  
  
  🚀 A NEW INNOVATION IN AI &amp;amp; DEV-TOOLS
&lt;/h1&gt;

&lt;p&gt;Every AI builder right now forces you to pick a side:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Either you use a &lt;strong&gt;visual website builder&lt;/strong&gt; (great for layout and design, terrible when you need a real working app with state and logic),&lt;/li&gt;
&lt;li&gt;Or you use an &lt;strong&gt;AI coding workspace&lt;/strong&gt; (great for writing an app, terrible when you want to place that app inside a full website layout and tweak it visually).&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Today I shipped the &lt;strong&gt;Pre-Alpha version of Code Mode&lt;/strong&gt; inside &lt;strong&gt;&lt;a href="https://openconstructor.pw" rel="noopener noreferrer"&gt;Openconstructor&lt;/a&gt;&lt;/strong&gt; — bridging both worlds in one browser studio.&lt;/p&gt;

&lt;p&gt;👉 &lt;strong&gt;Try Code Mode (Pre-Alpha) live (free, no sign-up):&lt;/strong&gt; &lt;a href="https://openconstructor.pw" rel="noopener noreferrer"&gt;https://openconstructor.pw&lt;/a&gt;&lt;br&gt;
👉 &lt;strong&gt;GitHub repo (MIT):&lt;/strong&gt; &lt;a href="https://github.com/Kuloka/openconstructor" rel="noopener noreferrer"&gt;https://github.com/Kuloka/openconstructor&lt;/a&gt;&lt;/p&gt;




&lt;h2&gt;
  
  
  How Code Mode Works (and Why It's Different)
&lt;/h2&gt;

&lt;p&gt;In &lt;strong&gt;Code Mode&lt;/strong&gt;, you don't just generate static UI sections — you chat with the AI to &lt;strong&gt;write complete, working applications&lt;/strong&gt; with real JavaScript logic, state, interactive controls, and a live preview.&lt;/p&gt;

&lt;p&gt;And here is the killer workflow:&lt;br&gt;
&lt;strong&gt;The moment your app is ready in Code Mode, you can place it directly onto the visual Web Constructor canvas in one click!&lt;/strong&gt;&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;
&lt;strong&gt;Write a full interactive app in Code Mode:&lt;/strong&gt; Ask the AI to build a working calculator, a SaaS ROI estimator, a Kanban board, an interactive pricing configurator, a dashboard widget, or a mini-game.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Drop it straight into the Web Builder:&lt;/strong&gt; Place your newly coded app right onto the visual canvas alongside &lt;strong&gt;320+ plain HTML/CSS components&lt;/strong&gt; and &lt;strong&gt;&lt;a href="https://openconstructor.pw/templates" rel="noopener noreferrer"&gt;ready-made website templates&lt;/a&gt;&lt;/strong&gt;.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Export or publish everything together:&lt;/strong&gt; Publish to a live shareable link in one click, or export to &lt;strong&gt;HTML&lt;/strong&gt;, &lt;strong&gt;React (Vite &lt;code&gt;.zip&lt;/code&gt;)&lt;/strong&gt;, &lt;strong&gt;Vue&lt;/strong&gt;, &lt;strong&gt;Svelte&lt;/strong&gt;, &lt;strong&gt;Roblox Luau&lt;/strong&gt; (&lt;code&gt;ScreenGui&lt;/code&gt; / &lt;code&gt;.rbxmx&lt;/code&gt;), or &lt;strong&gt;LÖVE 2D (Lua)&lt;/strong&gt;.&lt;/li&gt;
&lt;/ol&gt;




&lt;h2&gt;
  
  
  ⚡ Pro Tip for Heavy Code Mode Jobs: Use Ultra-Cheap High-TPS Models (like GLM 5.3 Flash via OpenRouter)
&lt;/h2&gt;

&lt;p&gt;Writing a full, multi-hundred-line interactive application in Code Mode is much heavier than generating a single hero section. If a model streams at 15–20 tokens per second, a heavy app build takes too long.&lt;/p&gt;

&lt;p&gt;While Openconstructor includes a built-in free AI tier out of the box (3 free generations/day with no sign-up, 20/day with a free account), &lt;strong&gt;for heavy Code Mode workloads I strongly recommend plugging in an OpenRouter key and selecting ultra-fast, ultra-cheap Flash-class models — especially &lt;code&gt;GLM 5.3 Flash&lt;/code&gt; via OpenRouter&lt;/strong&gt;:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Massive Tokens Per Second (TPS):&lt;/strong&gt; High-throughput models like &lt;strong&gt;GLM 5.3 Flash&lt;/strong&gt; stream code at blazing speed, cutting heavy full-app generation times down from minutes to seconds.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Fraction-of-a-cent cost:&lt;/strong&gt; You get near-instant iterative coding in Code Mode without burning through expensive frontier model credits.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;100% client-side key storage:&lt;/strong&gt; Your OpenRouter (or Groq / Gemini / Anthropic / DeepSeek) API key stays encrypted locally in your browser.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;You can also check our speed and quality comparisons on the &lt;strong&gt;&lt;a href="https://openconstructor.pw/ai-models" rel="noopener noreferrer"&gt;AI Models benchmark page&lt;/a&gt;&lt;/strong&gt;.&lt;/p&gt;




&lt;h2&gt;
  
  
  ⚠️ Heads-Up: This is a Pre-Alpha Release of Code Mode
&lt;/h2&gt;

&lt;p&gt;Just to be 100% transparent: &lt;strong&gt;Code Mode is currently in Pre-Alpha&lt;/strong&gt;, so you may still run into occasional bugs or rough edges when the AI is writing or updating complex code.&lt;/p&gt;

&lt;p&gt;I'm actively fixing bugs and smoothing out the code generation pipeline right now — if a prompt produces broken code or an unexpected glitch, let me know in the comments or open an issue on GitHub so I can patch it fast!&lt;/p&gt;




&lt;h2&gt;
  
  
  Try Code Mode (Pre-Alpha) Right Now
&lt;/h2&gt;

&lt;p&gt;Everything runs directly in your browser with zero setup:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Live Studio (with Code Mode):&lt;/strong&gt; &lt;a href="https://openconstructor.pw" rel="noopener noreferrer"&gt;https://openconstructor.pw&lt;/a&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Full Website Templates:&lt;/strong&gt; &lt;a href="https://openconstructor.pw/templates" rel="noopener noreferrer"&gt;https://openconstructor.pw/templates&lt;/a&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;AI Models Speed &amp;amp; Cost Benchmarks:&lt;/strong&gt; &lt;a href="https://openconstructor.pw/ai-models" rel="noopener noreferrer"&gt;https://openconstructor.pw/ai-models&lt;/a&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Changelog:&lt;/strong&gt; &lt;a href="https://openconstructor.pw/changelog" rel="noopener noreferrer"&gt;https://openconstructor.pw/changelog&lt;/a&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;GitHub:&lt;/strong&gt; &lt;a href="https://github.com/Kuloka/openconstructor" rel="noopener noreferrer"&gt;https://github.com/Kuloka/openconstructor&lt;/a&gt;
&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;em&gt;(Our *&lt;/em&gt;$5 community support goal** is also still live via the &lt;strong&gt;Support&lt;/strong&gt; button in the top bar — as soon as the first $5 lands, I'm unlocking additional free models and raising daily limits for everyone!)*&lt;/p&gt;

&lt;p&gt;Go test &lt;strong&gt;Code Mode&lt;/strong&gt;, drop a working app onto the web canvas, and tell me what breaks (or what works!) in the comments!&lt;/p&gt;

</description>
      <category>ai</category>
      <category>webdev</category>
      <category>opensource</category>
      <category>javascript</category>
    </item>
    <item>
      <title>I'm building "Code Mode" inside my free open-source AI UI builder to write full working apps (40% done)</title>
      <dc:creator>TimofeUS</dc:creator>
      <pubDate>Tue, 10 Nov 2026 16:30:26 +0000</pubDate>
      <link>https://dev.to/timofeus_248d45d3902a91a3/im-building-code-mode-inside-my-free-open-source-ai-ui-builder-to-write-full-working-apps-40-l6n</link>
      <guid>https://dev.to/timofeus_248d45d3902a91a3/im-building-code-mode-inside-my-free-open-source-ai-ui-builder-to-write-full-working-apps-40-l6n</guid>
      <description>&lt;p&gt;Right now, &lt;strong&gt;&lt;a href="https://openconstructor.pw" rel="noopener noreferrer"&gt;Openconstructor&lt;/a&gt;&lt;/strong&gt; is great at visual UI building: you drag from 320+ components, fuse styles together, or prompt the AI to generate sections on a visual canvas, and export to HTML, React, Vue, Svelte, Roblox Luau, or LÖVE 2D.&lt;/p&gt;

&lt;p&gt;But what if you don't just want a landing page or a UI layout — what if you want the AI to &lt;strong&gt;write a complete, working application with real logic, state, and interactive code&lt;/strong&gt; from a chat prompt?&lt;/p&gt;

&lt;p&gt;I've started building &lt;strong&gt;Code Mode&lt;/strong&gt; inside Openconstructor, and it's already &lt;strong&gt;40% done&lt;/strong&gt;.&lt;/p&gt;

&lt;p&gt;👉 &lt;strong&gt;Try the current studio (free, no sign-up):&lt;/strong&gt; &lt;a href="https://openconstructor.pw" rel="noopener noreferrer"&gt;https://openconstructor.pw&lt;/a&gt;&lt;br&gt;
👉 &lt;strong&gt;GitHub repo:&lt;/strong&gt; &lt;a href="https://github.com/Kuloka/openconstructor" rel="noopener noreferrer"&gt;https://github.com/Kuloka/openconstructor&lt;/a&gt;&lt;/p&gt;




&lt;h2&gt;
  
  
  Visual Mode vs. Code Mode: Two ways to build in one studio
&lt;/h2&gt;

&lt;p&gt;Instead of forcing every project onto a drag-and-drop canvas, Openconstructor is getting a dedicated &lt;strong&gt;Code Mode&lt;/strong&gt; right next to the visual builder:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;
&lt;strong&gt;Canvas Mode (Visual UI Builder):&lt;/strong&gt; Drag-and-drop 320+ components, use &lt;strong&gt;Fusion&lt;/strong&gt; (combine Block A's layout with Block B's style), tweak spacing visually, or start from &lt;strong&gt;&lt;a href="https://openconstructor.pw/templates" rel="noopener noreferrer"&gt;ready-made templates&lt;/a&gt;&lt;/strong&gt;.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Code Mode (AI App Builder — 40% complete):&lt;/strong&gt; A chat-driven AI coding workspace where you describe the app you want, and the AI writes the full application code — complete with interactive logic, state, event handlers, and a live running preview.&lt;/li&gt;
&lt;/ol&gt;




&lt;h2&gt;
  
  
  What Code Mode does
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Prompt-to-App generation:&lt;/strong&gt; Ask it to build a working Pomodoro timer with stats, a Kanban board with local storage, a dashboard with live charts, a mini-game, or an interactive tool — and watch it stream the full HTML/CSS/JS (or framework code) live token-by-token.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Iterative chat + live preview:&lt;/strong&gt; Talk to the AI to add features or fix bugs (&lt;em&gt;"add dark mode persistence"&lt;/em&gt;, &lt;em&gt;"wire up keyboard shortcuts"&lt;/em&gt;, &lt;em&gt;"add CSV export"&lt;/em&gt;). It updates the code and refreshes the running app preview on the spot.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Inspect &amp;amp; edit the raw code directly:&lt;/strong&gt; Full access to the source code the AI writes so you can tweak functions, styles, or logic yourself at any moment.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Works with the built-in free AI or your own API key:&lt;/strong&gt; Run Code Mode on the built-in free tier (powered by a multi-provider fallback chain across Cloudflare Workers AI, OpenRouter free models, Gemini Flash, and Groq) or plug in your own key (OpenRouter, Groq, Gemini, Anthropic, DeepSeek).&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;One-click export &amp;amp; publish:&lt;/strong&gt; Once your app works in Code Mode, publish it to a live shareable URL in one click or export the project to &lt;strong&gt;React (Vite &lt;code&gt;.zip&lt;/code&gt;)&lt;/strong&gt;, &lt;strong&gt;Vue&lt;/strong&gt;, &lt;strong&gt;Svelte&lt;/strong&gt;, &lt;strong&gt;single-file HTML&lt;/strong&gt;, &lt;strong&gt;Roblox Luau&lt;/strong&gt;, or &lt;strong&gt;LÖVE 2D&lt;/strong&gt;.&lt;/li&gt;
&lt;/ul&gt;




&lt;h2&gt;
  
  
  What's already working (the first 40%)
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;Core Code Mode workspace layout and mode switcher inside the studio&lt;/li&gt;
&lt;li&gt;Streaming code generation pipeline connected to our upgraded multi-provider free AI fallback chain (Cloudflare Workers AI -&amp;gt; OpenRouter &lt;code&gt;:free&lt;/code&gt; models -&amp;gt; Google Gemini -&amp;gt; Groq with compact prompt routing so large app prompts don't trigger &lt;code&gt;413&lt;/code&gt; token limits)&lt;/li&gt;
&lt;li&gt;Live sandboxed app preview + raw code editor view&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Next up for the remaining 60%: multi-turn partial code updates, error recovery from the live preview console, and seamless one-click export/publish directly from Code Mode.&lt;/p&gt;




&lt;h2&gt;
  
  
  Check out the studio &amp;amp; tell me what you'd build first
&lt;/h2&gt;

&lt;p&gt;While I finish the remaining 60% of &lt;strong&gt;Code Mode&lt;/strong&gt;, the studio is live right now with &lt;strong&gt;320+ components&lt;/strong&gt;, &lt;strong&gt;12+ full templates&lt;/strong&gt;, &lt;strong&gt;AI image &amp;amp; 3D &lt;code&gt;.glb&lt;/code&gt; generation&lt;/strong&gt;, and &lt;strong&gt;&lt;a href="https://openconstructor.pw/ai-models" rel="noopener noreferrer"&gt;live AI model benchmarks&lt;/a&gt;&lt;/strong&gt;:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Live Studio:&lt;/strong&gt; &lt;a href="https://openconstructor.pw" rel="noopener noreferrer"&gt;https://openconstructor.pw&lt;/a&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Templates:&lt;/strong&gt; &lt;a href="https://openconstructor.pw/templates" rel="noopener noreferrer"&gt;https://openconstructor.pw/templates&lt;/a&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Changelog:&lt;/strong&gt; &lt;a href="https://openconstructor.pw/changelog" rel="noopener noreferrer"&gt;https://openconstructor.pw/changelog&lt;/a&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;GitHub:&lt;/strong&gt; &lt;a href="https://github.com/Kuloka/openconstructor" rel="noopener noreferrer"&gt;https://github.com/Kuloka/openconstructor&lt;/a&gt;
&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;em&gt;(And the *&lt;/em&gt;$5 community support goal** is still open via the &lt;strong&gt;Support&lt;/strong&gt; button in the top bar — as soon as the first $5 arrives, I'm adding new free models and raising the daily free generation limits for everyone!)*&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;What's the first mini-app or tool you'd ask Code Mode to build once it drops?&lt;/strong&gt; Let me know in the comments!&lt;/p&gt;

</description>
      <category>ai</category>
      <category>webdev</category>
      <category>javascript</category>
      <category>opensource</category>
    </item>
    <item>
      <title>$0 on ads, 600+ visitors and 320+ components later — plus a $5 community goal to unlock more free AI</title>
      <dc:creator>TimofeUS</dc:creator>
      <pubDate>Mon, 09 Nov 2026 18:04:58 +0000</pubDate>
      <link>https://dev.to/timofeus_248d45d3902a91a3/0-on-ads-600-visitors-and-320-components-later-plus-a-5-community-goal-to-unlock-more-free-ai-2a0h</link>
      <guid>https://dev.to/timofeus_248d45d3902a91a3/0-on-ads-600-visitors-and-320-components-later-plus-a-5-community-goal-to-unlock-more-free-ai-2a0h</guid>
      <description>&lt;p&gt;A few days ago I launched &lt;strong&gt;&lt;a href="https://openconstructor.pw" rel="noopener noreferrer"&gt;openconstructor&lt;/a&gt;&lt;/strong&gt; — a free, open-source AI interface builder that runs in the browser with no sign-up required.&lt;/p&gt;

&lt;p&gt;Total ad budget so far: &lt;strong&gt;$0&lt;/strong&gt;.&lt;/p&gt;

&lt;p&gt;Here is what happened in the first few days just from shipping in public:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;600+ unique visitors&lt;/strong&gt; from the US, Europe and Asia trying the editor;&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;#1 on Google&lt;/strong&gt; for &lt;em&gt;openconstructor&lt;/em&gt;;&lt;/li&gt;
&lt;li&gt;Featured by Asian AI radars (&lt;strong&gt;8.0/10&lt;/strong&gt;) and covered in a &lt;a href="https://www.youtube.com/shorts/dqwx5IWzHY0" rel="noopener noreferrer"&gt;YouTube Short&lt;/a&gt; by an independent creator I didn't even know;&lt;/li&gt;
&lt;li&gt;Hands-on reviewed by &lt;a href="https://taptoagent.com/agents/openconstructor.html" rel="noopener noreferrer"&gt;TapToAgent&lt;/a&gt; (&lt;strong&gt;8/10&lt;/strong&gt; — and the one bug they found, style drift on small edits, was fixed the same day).&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;👉 &lt;strong&gt;Try it live:&lt;/strong&gt; &lt;a href="https://openconstructor.pw" rel="noopener noreferrer"&gt;openconstructor.pw&lt;/a&gt; · &lt;strong&gt;Code:&lt;/strong&gt; &lt;a href="https://github.com/Kuloka/openconstructor" rel="noopener noreferrer"&gt;GitHub&lt;/a&gt; · &lt;strong&gt;Benchmarks:&lt;/strong&gt; &lt;a href="https://openconstructor.pw/ai-models" rel="noopener noreferrer"&gt;AI models tested&lt;/a&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  What shipped while I was watching the traffic
&lt;/h2&gt;

&lt;p&gt;The catalog grew from 145 to &lt;strong&gt;320+ plain HTML &amp;amp; CSS components&lt;/strong&gt;, and I added &lt;strong&gt;&lt;a href="https://openconstructor.pw/templates" rel="noopener noreferrer"&gt;12 full website templates&lt;/a&gt;&lt;/strong&gt; (SaaS, AI startup, coffee shop, mobile app, luxury real estate, gym, conference and more) that you can open and edit in one click.&lt;/p&gt;

&lt;p&gt;On the AI side:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Web browsing (&lt;em&gt;exploring internet&lt;/em&gt;):&lt;/strong&gt; paste a link ("build a landing page in the style of https://…") or ask about something current, and the AI reads the web before building;&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Surgical edits:&lt;/strong&gt; ask to change one price or one button, and the rest of the block stays untouched;&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Live streaming, Brand Kit&lt;/strong&gt; and one-click export to &lt;strong&gt;HTML, Vite + React (.zip), Vue, Svelte, Roblox (Luau / .rbxmx)&lt;/strong&gt; and &lt;strong&gt;LÖVE 2D&lt;/strong&gt;.&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  Why the free limit exists — and the $5 deal
&lt;/h2&gt;

&lt;p&gt;Right now, anyone can open &lt;a href="https://openconstructor.pw" rel="noopener noreferrer"&gt;openconstructor.pw&lt;/a&gt; and run &lt;strong&gt;3 free AI generations a day with no account and no API key&lt;/strong&gt; (and &lt;strong&gt;20 a day&lt;/strong&gt; with a free account). If you bring your own key from Groq, OpenRouter, Gemini or Anthropic, there is no limit at all.&lt;/p&gt;

&lt;p&gt;The built-in free AI is paid out of pocket and runs on open models. The support wallet is still sitting at &lt;strong&gt;$0.00&lt;/strong&gt;.&lt;/p&gt;

&lt;p&gt;So here's a simple deal:&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;&lt;strong&gt;The moment the project receives its first $5 in support, I will add new built-in free AI models to the default selector and raise the daily free generation limit for everyone.&lt;/strong&gt;&lt;/p&gt;
&lt;/blockquote&gt;

&lt;p&gt;Every dollar goes straight into inference credits and keeping the built-in AI free without forcing people to hunt for API keys.&lt;/p&gt;

&lt;h2&gt;
  
  
  How to support (or just help for free)
&lt;/h2&gt;

&lt;p&gt;If openconstructor saved you an hour of layout work or Roblox Studio tweaking, you can click &lt;strong&gt;Support&lt;/strong&gt; inside the editor at &lt;strong&gt;&lt;a href="https://openconstructor.pw" rel="noopener noreferrer"&gt;openconstructor.pw&lt;/a&gt;&lt;/strong&gt; (or send directly to the project wallet):&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;USDT (BEP-20 / BNB Smart Chain) or ETH (Ethereum):&lt;/strong&gt;
&lt;code&gt;0x1E95452757c34914d1fA231348A3759d2766de7a&lt;/code&gt;
&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Don't want to spend a cent? A &lt;strong&gt;⭐ on &lt;a href="https://github.com/Kuloka/openconstructor" rel="noopener noreferrer"&gt;GitHub&lt;/a&gt;&lt;/strong&gt; or testing one of the new &lt;a href="https://openconstructor.pw/templates" rel="noopener noreferrer"&gt;templates&lt;/a&gt; helps just as much.&lt;/p&gt;

&lt;p&gt;As soon as that first $5 lands on-chain, I'll ship the new free models and post the receipt.&lt;/p&gt;

</description>
      <category>showdev</category>
      <category>opensource</category>
      <category>ai</category>
      <category>webdev</category>
    </item>
    <item>
      <title>An AI agent directory reviewed my free website builder: 8/10, and one fair hit</title>
      <dc:creator>TimofeUS</dc:creator>
      <pubDate>Mon, 09 Nov 2026 15:37:55 +0000</pubDate>
      <link>https://dev.to/timofeus_248d45d3902a91a3/an-ai-agent-directory-reviewed-my-free-website-builder-810-and-one-fair-hit-572b</link>
      <guid>https://dev.to/timofeus_248d45d3902a91a3/an-ai-agent-directory-reviewed-my-free-website-builder-810-and-one-fair-hit-572b</guid>
      <description>&lt;p&gt;&lt;a href="https://taptoagent.com/agents/openconstructor.html" rel="noopener noreferrer"&gt;TapToAgent&lt;/a&gt;, a directory of free AI agents, just listed &lt;a href="https://openconstructor.pw" rel="noopener noreferrer"&gt;openconstructor&lt;/a&gt;, my free, open-source AI interface builder, and gave it &lt;strong&gt;8/10&lt;/strong&gt;.&lt;/p&gt;

&lt;p&gt;What I like about their directory is one simple rule: &lt;strong&gt;if a tool makes you create an account before you can use it, it doesn't get listed.&lt;/strong&gt; That's exactly the wall I tore down a week ago. My first launch got hundreds of visitors and two accounts, because the free AI was hidden behind a sign-in form. Now you open the site and type a request, no email, no key. Getting listed by a directory that &lt;em&gt;requires&lt;/em&gt; that felt like confirmation it was the right call.&lt;/p&gt;

&lt;h2&gt;
  
  
  What they tested
&lt;/h2&gt;

&lt;p&gt;The reviewer went in signed out and asked for a coffee shop landing page:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;~36 seconds&lt;/strong&gt; to a full page: hero, menu with prices, opening hours;&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;~25 seconds&lt;/strong&gt; for a follow-up edit: change one price.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;They also called it the only interface builder in the directory, which I'll happily take.&lt;/p&gt;

&lt;h2&gt;
  
  
  The fair criticism
&lt;/h2&gt;

&lt;blockquote&gt;
&lt;p&gt;Style can drift between generations.&lt;/p&gt;
&lt;/blockquote&gt;

&lt;p&gt;They asked to change &lt;em&gt;one price&lt;/em&gt;, and the page came back with prices and hours intact, but a noticeably different look. That's a real bug in how I prompted edits: the model was told to "return the complete updated element", and small free models read that as "redesign it while you're at it".&lt;/p&gt;

&lt;p&gt;Fixed the same day. Edits now come with an explicit rule: an update is an edit, not a redesign. Copy the current code, change only the lines the request is about, and keep the class names, colors, fonts, spacing and photos everywhere else. Asked to change one price? You get the same page with one different number.&lt;/p&gt;

&lt;p&gt;The other notes are trade-offs I chose on purpose:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;3 free generations a day without an account (20 with a free one).&lt;/strong&gt; It runs on free open models on Cloudflare, and that cap is what keeps it free for everyone.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Other models need your own key.&lt;/strong&gt; If you have one, there's no cap at all.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Saving to the cloud and publishing need a free account.&lt;/strong&gt; Building and exporting don't.&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  Since the review: it can browse the web
&lt;/h2&gt;

&lt;p&gt;One more thing that shipped this week: the AI can now look things up. Ask about something current, or paste a link ("make a landing page in the style of https://…"), and it searches or reads the page before building. You watch it happen in the chat as &lt;em&gt;exploring internet&lt;/em&gt;.&lt;/p&gt;




&lt;p&gt;Try it without an account: &lt;strong&gt;&lt;a href="https://openconstructor.pw" rel="noopener noreferrer"&gt;openconstructor.pw&lt;/a&gt;&lt;/strong&gt;. The full review is &lt;a href="https://taptoagent.com/agents/openconstructor.html" rel="noopener noreferrer"&gt;on TapToAgent&lt;/a&gt;.&lt;/p&gt;

&lt;p&gt;The whole project is free and open source. If you like it, a ⭐ on &lt;a href="https://github.com/Kuloka/openconstructor" rel="noopener noreferrer"&gt;GitHub&lt;/a&gt; helps a lot: it's how other people find the project, and it keeps me shipping. Thanks!&lt;/p&gt;

</description>
      <category>showdev</category>
      <category>webdev</category>
      <category>ai</category>
      <category>opensource</category>
    </item>
    <item>
      <title>I gave my free AI website builder internet access</title>
      <dc:creator>TimofeUS</dc:creator>
      <pubDate>Sun, 08 Nov 2026 20:06:26 +0000</pubDate>
      <link>https://dev.to/timofeus_248d45d3902a91a3/i-gave-my-free-ai-website-builder-internet-access-4ej8</link>
      <guid>https://dev.to/timofeus_248d45d3902a91a3/i-gave-my-free-ai-website-builder-internet-access-4ej8</guid>
      <description>&lt;p&gt;&lt;a href="https://openconstructor.pw" rel="noopener noreferrer"&gt;openconstructor&lt;/a&gt; is a free, open-source AI interface builder that runs in the browser. You describe a page, it builds it on a canvas, and you export HTML, React, Vue, Svelte or even Roblox UI. This week the AI learned to look things up on the internet.&lt;/p&gt;

&lt;h2&gt;
  
  
  The AI can now browse the web
&lt;/h2&gt;

&lt;p&gt;Ask "when did Vite 6 come out?" or "make a landing page in the style of &lt;a href="https://linear.app" rel="noopener noreferrer"&gt;https://linear.app&lt;/a&gt;", and the model no longer has to guess.&lt;/p&gt;

&lt;p&gt;There was no fancy tool-calling API to lean on: the free models behind the builder are small, and half of them don't support tools reliably. So it's done in the same one-line JSON protocol the builder already uses:&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;"action"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;&lt;span class="s2"&gt;"search"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;&lt;span class="nl"&gt;"query"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;&lt;span class="s2"&gt;"vite 6 release date"&lt;/span&gt;&lt;span class="p"&gt;}&lt;/span&gt;&lt;span class="w"&gt;
&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;If the model needs fresh facts, it answers with just that line. The editor sees it, calls &lt;code&gt;/api/web&lt;/code&gt; on my Cloudflare Worker, and asks again with the results attached.&lt;/p&gt;

&lt;p&gt;The Worker:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;searches DuckDuckGo's HTML endpoint and falls back to the Wikipedia API if that returns nothing;&lt;/li&gt;
&lt;li&gt;reads the text of the top two results (scripts, nav and footers stripped, 2,500 characters each);&lt;/li&gt;
&lt;li&gt;caches everything for an hour;&lt;/li&gt;
&lt;li&gt;refuses private and local addresses.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Links in your message are read up front: paste a site and the AI opens it before it starts writing.&lt;/p&gt;

&lt;p&gt;The model only searches when it needs facts that change: news, prices, a real company, product or person, library docs. For made-up content like landing page copy or design ideas, it doesn't bother.&lt;/p&gt;

&lt;h3&gt;
  
  
  A search doesn't eat your free tries
&lt;/h3&gt;

&lt;p&gt;Anonymous visitors get 3 free generations a day, and "search + answer" is two model calls. So every call from one message carries the same &lt;code&gt;X-OC-Turn&lt;/code&gt; id, and the Worker counts it once (up to 4 calls per id, expiring in 10 minutes). One message = one try, however much digging the AI does.&lt;/p&gt;

&lt;h2&gt;
  
  
  A thinking indicator you can watch
&lt;/h2&gt;

&lt;p&gt;While the AI works, you now see a thin timeline instead of a big box:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;grey dots for steps in progress and green dots for finished ones;&lt;/li&gt;
&lt;li&gt;a small 8-bit spark made of blocks that grows and shrinks;&lt;/li&gt;
&lt;li&gt;a header word that retypes itself every couple of seconds: &lt;em&gt;thinking → vibing → coding → sketching → tinkering…&lt;/em&gt;
&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;When it goes online, the header types out &lt;strong&gt;exploring internet&lt;/strong&gt;, and the timeline shows the exact query it's searching for. Waiting feels much shorter when something honest is happening on screen.&lt;/p&gt;




&lt;p&gt;Try it without an account at &lt;strong&gt;&lt;a href="https://openconstructor.pw" rel="noopener noreferrer"&gt;openconstructor.pw&lt;/a&gt;&lt;/strong&gt;: ask something that needs the internet and watch it go exploring.&lt;/p&gt;

&lt;p&gt;The whole project is free and open source. If you like it, a ⭐ on &lt;a href="https://github.com/Kuloka/openconstructor" rel="noopener noreferrer"&gt;GitHub&lt;/a&gt; helps a lot: it's how other people find the project, and it keeps me shipping. Thanks!&lt;/p&gt;

</description>
      <category>showdev</category>
      <category>webdev</category>
      <category>ai</category>
      <category>javascript</category>
    </item>
    <item>
      <title>I built a free, open-source AI website builder that runs in your browser — no sign-up to try</title>
      <dc:creator>TimofeUS</dc:creator>
      <pubDate>Sun, 08 Nov 2026 16:52:33 +0000</pubDate>
      <link>https://dev.to/timofeus_248d45d3902a91a3/i-built-a-free-open-source-ai-website-builder-that-runs-in-your-browser-no-sign-up-to-try-21n0</link>
      <guid>https://dev.to/timofeus_248d45d3902a91a3/i-built-a-free-open-source-ai-website-builder-that-runs-in-your-browser-no-sign-up-to-try-21n0</guid>
      <description>&lt;p&gt;If you've tried AI site builders like v0, Bolt or Framer AI, you know the pattern: you type a prompt, get a nice page, and then hit a paywall, a credit counter or an export you can't really use.&lt;/p&gt;

&lt;p&gt;So I built &lt;strong&gt;&lt;a href="https://openconstructor.pw" rel="noopener noreferrer"&gt;openconstructor&lt;/a&gt;&lt;/strong&gt;: a free, open-source editor where you describe an interface, the AI builds it on a canvas, and then &lt;strong&gt;you own the result&lt;/strong&gt;. Edit it by hand, publish it, or download real code.&lt;/p&gt;

&lt;p&gt;👉 &lt;strong&gt;Try it:&lt;/strong&gt; &lt;a href="https://openconstructor.pw" rel="noopener noreferrer"&gt;https://openconstructor.pw&lt;/a&gt; (no account needed)&lt;br&gt;
⭐ &lt;strong&gt;Code:&lt;/strong&gt; &lt;a href="https://github.com/Kuloka/openconstructor" rel="noopener noreferrer"&gt;https://github.com/Kuloka/openconstructor&lt;/a&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  What you can do in 60 seconds
&lt;/h2&gt;

&lt;ol&gt;
&lt;li&gt;Open the editor and type &lt;em&gt;"a landing page for a coffee roastery with a menu and reviews"&lt;/em&gt;.&lt;/li&gt;
&lt;li&gt;Watch the AI write it live, then see it land on the canvas.&lt;/li&gt;
&lt;li&gt;Click any block and say &lt;em&gt;"make this darker"&lt;/em&gt; or &lt;em&gt;"add a pricing section"&lt;/em&gt;. Only that part changes.&lt;/li&gt;
&lt;li&gt;Hit &lt;strong&gt;publish&lt;/strong&gt; for a free link (with your own domain if you want), or &lt;strong&gt;export&lt;/strong&gt; the code.&lt;/li&gt;
&lt;/ol&gt;

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

&lt;p&gt;&lt;strong&gt;🤖 Free AI, no key.&lt;/strong&gt; The built-in AI runs on open models (GPT-OSS 120B, Llama 3.3 70B). You get 3 tries a day without an account and 20 a day with a free one. Want Claude, GPT or Gemini instead? Plug in your own key; it's stored encrypted on your device.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;🎬 Cinematic 3D sites.&lt;/strong&gt; Ask for a "cinematic 3D website" and you get an award-style page: glowing CSS 3D objects, text that lights up on scroll, AI-drawn 3D art. No JavaScript in the result.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;🧱 320+ hand-made components.&lt;/strong&gt; Heroes, pricing tables, dashboards, sign-in screens, AI chat widgets. Drop them on a free-form canvas and mix them with AI-generated blocks.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;📄 Free templates.&lt;/strong&gt; Coffee shop, SaaS, restaurant, gym, luxury real estate, AI startup and more at &lt;a href="https://openconstructor.pw/templates" rel="noopener noreferrer"&gt;openconstructor.pw/templates&lt;/a&gt;. Open one and tell the AI what your business is.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;🚀 Publish in one click.&lt;/strong&gt; A free &lt;code&gt;openconstructor.pw/p/your-page&lt;/code&gt; link, a custom domain, working contact forms (messages come to your e-mail), view counts, and a link preview that shows your actual page.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;📦 Real export, not a lock-in.&lt;/strong&gt; Download:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;a static HTML site,&lt;/li&gt;
&lt;li&gt;a ready &lt;strong&gt;Vite + React&lt;/strong&gt; project,&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Vue&lt;/strong&gt; or &lt;strong&gt;Svelte&lt;/strong&gt; components,&lt;/li&gt;
&lt;li&gt;and for game devs, &lt;strong&gt;Roblox UI (Luau / .rbxmx)&lt;/strong&gt; and &lt;strong&gt;LÖVE 2D&lt;/strong&gt;. As far as I know, nothing else does that.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;strong&gt;📱 Works on your phone.&lt;/strong&gt; Describe a page on the bus, see exactly how visitors will see it on mobile, publish it.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;🔓 Open source (MIT).&lt;/strong&gt; No vendor lock-in, no "credits". Self-host it if you like.&lt;/p&gt;

&lt;h2&gt;
  
  
  Why free?
&lt;/h2&gt;

&lt;p&gt;Because the hard part of a website isn't writing HTML any more. It's getting started, and paywalls make that harder. The free AI runs on Cloudflare's free tier and open models, so it costs me very little to keep it free for everyone.&lt;/p&gt;

&lt;h2&gt;
  
  
  How it's built (short version)
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;Vanilla JS editor + a Cloudflare Worker + Supabase. No heavy framework.&lt;/li&gt;
&lt;li&gt;Small free models can't design reliably, so some page types are assembled from hand-made sections and the AI only writes the content as JSON. Quality went from "sometimes nice" to consistently polished.&lt;/li&gt;
&lt;li&gt;Published pages run with &lt;code&gt;script-src 'none'&lt;/code&gt;, so nothing on a user page can execute JavaScript. Animations and 3D are pure CSS.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;I wrote more about this in a &lt;a href="https://dev.toLINK_TO_PREVIOUS_POST"&gt;previous post&lt;/a&gt;.&lt;/p&gt;

&lt;h2&gt;
  
  
  I'd love your feedback
&lt;/h2&gt;

&lt;p&gt;It's a solo project, a week old, and I'm shipping updates daily (&lt;a href="https://openconstructor.pw/changelog" rel="noopener noreferrer"&gt;changelog&lt;/a&gt;). Try it and tell me in the comments:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;what did you build?&lt;/li&gt;
&lt;li&gt;where did the AI get it wrong?&lt;/li&gt;
&lt;li&gt;what's missing for you to use it on a real project?&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;If you like it, a ⭐ on &lt;a href="https://github.com/Kuloka/openconstructor" rel="noopener noreferrer"&gt;GitHub&lt;/a&gt; helps a lot. Thanks for reading!&lt;/p&gt;

</description>
      <category>webdev</category>
      <category>ai</category>
      <category>opensource</category>
      <category>showdev</category>
    </item>
    <item>
      <title>Building a free AI UI builder on Cloudflare: what small models taught me</title>
      <dc:creator>TimofeUS</dc:creator>
      <pubDate>Sun, 08 Nov 2026 15:44:42 +0000</pubDate>
      <link>https://dev.to/timofeus_248d45d3902a91a3/building-a-free-ai-ui-builder-on-cloudflare-what-small-models-taught-me-1p8c</link>
      <guid>https://dev.to/timofeus_248d45d3902a91a3/building-a-free-ai-ui-builder-on-cloudflare-what-small-models-taught-me-1p8c</guid>
      <description>&lt;p&gt;A 2 days ago I launched &lt;a href="https://openconstructor.pw" rel="noopener noreferrer"&gt;openconstructor&lt;/a&gt;, a free, open-source browser editor: you describe an interface, an AI builds it on a canvas, and you keep editing by hand or ask the AI to change one part. It got 562 visitors in its first two days with no ads.&lt;/p&gt;

&lt;p&gt;The whole thing runs on a Cloudflare Worker, Supabase and free open models. Here are the parts that turned out more interesting than I expected.&lt;/p&gt;

&lt;h2&gt;
  
  
  1. Small free models can't design, so I stopped asking them to
&lt;/h2&gt;

&lt;p&gt;The built-in AI runs on open models (GPT-OSS 120B, Llama 3.3 70B) through Workers AI. They write valid HTML, but ask for an "award-winning cinematic website" and you get something different every time: sometimes great, often a plain hero and three cards.&lt;/p&gt;

&lt;p&gt;Prompt engineering got me maybe 20% further. What worked was splitting the job:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;the &lt;strong&gt;design&lt;/strong&gt; is a set of hand-made sections (hero with a CSS 3D object, scroll-lit statement, services, case studies, logo wall…);&lt;/li&gt;
&lt;li&gt;the &lt;strong&gt;model only writes the content&lt;/strong&gt;, as JSON.
&lt;/li&gt;
&lt;/ul&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight javascript"&gt;&lt;code&gt;&lt;span class="c1"&gt;// the model gets a schema with defaults and returns only this&lt;/span&gt;
&lt;span class="p"&gt;{&lt;/span&gt;
  &lt;span class="dl"&gt;"&lt;/span&gt;&lt;span class="s2"&gt;brand&lt;/span&gt;&lt;span class="dl"&gt;"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="dl"&gt;"&lt;/span&gt;&lt;span class="s2"&gt;Ember&lt;/span&gt;&lt;span class="dl"&gt;"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="dl"&gt;"&lt;/span&gt;&lt;span class="s2"&gt;hue&lt;/span&gt;&lt;span class="dl"&gt;"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="mi"&gt;28&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
  &lt;span class="dl"&gt;"&lt;/span&gt;&lt;span class="s2"&gt;titleA&lt;/span&gt;&lt;span class="dl"&gt;"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="dl"&gt;"&lt;/span&gt;&lt;span class="s2"&gt;Roasted by fire.&lt;/span&gt;&lt;span class="dl"&gt;"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="dl"&gt;"&lt;/span&gt;&lt;span class="s2"&gt;titleB&lt;/span&gt;&lt;span class="dl"&gt;"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="dl"&gt;"&lt;/span&gt;&lt;span class="s2"&gt;Poured with care.&lt;/span&gt;&lt;span class="dl"&gt;"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
  &lt;span class="dl"&gt;"&lt;/span&gt;&lt;span class="s2"&gt;services&lt;/span&gt;&lt;span class="dl"&gt;"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="p"&gt;[[&lt;/span&gt;&lt;span class="dl"&gt;"&lt;/span&gt;&lt;span class="s2"&gt;Roast&lt;/span&gt;&lt;span class="dl"&gt;"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="dl"&gt;"&lt;/span&gt;&lt;span class="s2"&gt;Small batches on a 1960s drum roaster.&lt;/span&gt;&lt;span class="dl"&gt;"&lt;/span&gt;&lt;span class="p"&gt;],&lt;/span&gt; &lt;span class="p"&gt;...],&lt;/span&gt;
  &lt;span class="dl"&gt;"&lt;/span&gt;&lt;span class="s2"&gt;heroArt&lt;/span&gt;&lt;span class="dl"&gt;"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="dl"&gt;"&lt;/span&gt;&lt;span class="s2"&gt;amber neon cube over dark sand dunes, cinematic 3d render&lt;/span&gt;&lt;span class="dl"&gt;"&lt;/span&gt;
&lt;span class="p"&gt;}&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;The page is then assembled from the sections. &lt;code&gt;hue&lt;/code&gt; rotates the template's accent colours, so a coffee roaster gets amber and an AI lab gets violet. Same model, but the result went from "sometimes nice" to consistently polished, in about 6 seconds.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Lesson:&lt;/strong&gt; with weak models, move the taste into code and let the model fill in the blanks.&lt;/p&gt;

&lt;h2&gt;
  
  
  2. Published pages run zero JavaScript
&lt;/h2&gt;

&lt;p&gt;Users publish pages to &lt;code&gt;openconstructor.pw/p/&amp;lt;name&amp;gt;&lt;/code&gt;. Since anyone can publish, every page is served with:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight http"&gt;&lt;code&gt;&lt;span class="err"&gt;Content-Security-Policy: sandbox allow-forms ...; script-src 'none'
&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;No scripts at all. So how do pages still feel alive? Modern CSS covers more than I thought:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight css"&gt;&lt;code&gt;&lt;span class="k"&gt;@supports&lt;/span&gt; &lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;animation-timeline&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="n"&gt;view&lt;/span&gt;&lt;span class="p"&gt;())&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt;
  &lt;span class="k"&gt;@media&lt;/span&gt; &lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;prefers-reduced-motion&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="n"&gt;no-preference&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt;
    &lt;span class="nc"&gt;.section&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt;
      &lt;span class="nl"&gt;animation&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="n"&gt;rise&lt;/span&gt; &lt;span class="nb"&gt;linear&lt;/span&gt; &lt;span class="nb"&gt;both&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
      &lt;span class="py"&gt;animation-timeline&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="n"&gt;view&lt;/span&gt;&lt;span class="p"&gt;();&lt;/span&gt;
      &lt;span class="py"&gt;animation-range&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="n"&gt;entry&lt;/span&gt; &lt;span class="m"&gt;0%&lt;/span&gt; &lt;span class="nb"&gt;cover&lt;/span&gt; &lt;span class="m"&gt;30%&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="k"&gt;@keyframes&lt;/span&gt; &lt;span class="n"&gt;rise&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt; &lt;span class="nt"&gt;from&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt; &lt;span class="nl"&gt;opacity&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="m"&gt;0&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt; &lt;span class="nl"&gt;transform&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="nf"&gt;translateY&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="m"&gt;64px&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;Scroll-driven animations, &lt;code&gt;perspective&lt;/code&gt; + &lt;code&gt;preserve-3d&lt;/code&gt; for floating 3D objects, marquees with mask fades: all without a single line of JS. Browsers without support just show the content.&lt;/p&gt;

&lt;h2&gt;
  
  
  3. Screenshots without a server
&lt;/h2&gt;

&lt;p&gt;The sandbox has a side effect: the page has an opaque origin, so the gallery can't measure or screenshot it in an iframe. Headless Chrome on the server would be costly.&lt;/p&gt;

&lt;p&gt;Instead, the editor takes the screenshot itself at publish time:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;lay the page out in a hidden iframe to measure its height;&lt;/li&gt;
&lt;li&gt;put the HTML into an SVG &lt;code&gt;&amp;lt;foreignObject&amp;gt;&lt;/code&gt;;&lt;/li&gt;
&lt;li&gt;draw that SVG onto a &lt;code&gt;&amp;lt;canvas&amp;gt;&lt;/code&gt; and export JPEG.
&lt;/li&gt;
&lt;/ol&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight javascript"&gt;&lt;code&gt;&lt;span class="kd"&gt;const&lt;/span&gt; &lt;span class="nx"&gt;svg&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="s2"&gt;`&amp;lt;svg xmlns="http://www.w3.org/2000/svg" width="&lt;/span&gt;&lt;span class="p"&gt;${&lt;/span&gt;&lt;span class="nx"&gt;w&lt;/span&gt;&lt;span class="p"&gt;}&lt;/span&gt;&lt;span class="s2"&gt;" height="&lt;/span&gt;&lt;span class="p"&gt;${&lt;/span&gt;&lt;span class="nx"&gt;h&lt;/span&gt;&lt;span class="p"&gt;}&lt;/span&gt;&lt;span class="s2"&gt;"&amp;gt;
  &amp;lt;foreignObject width="100%" height="100%"&amp;gt;&lt;/span&gt;&lt;span class="p"&gt;${&lt;/span&gt;&lt;span class="nx"&gt;xhtml&lt;/span&gt;&lt;span class="p"&gt;}&lt;/span&gt;&lt;span class="s2"&gt;&amp;lt;/foreignObject&amp;gt;&amp;lt;/svg&amp;gt;`&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
&lt;span class="nx"&gt;img&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nx"&gt;src&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="dl"&gt;'&lt;/span&gt;&lt;span class="s1"&gt;data:image/svg+xml,&lt;/span&gt;&lt;span class="dl"&gt;'&lt;/span&gt; &lt;span class="o"&gt;+&lt;/span&gt; &lt;span class="nf"&gt;encodeURIComponent&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="nx"&gt;svg&lt;/span&gt;&lt;span class="p"&gt;);&lt;/span&gt;
&lt;span class="nx"&gt;ctx&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;drawImage&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="nx"&gt;img&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="mi"&gt;0&lt;/span&gt;&lt;span class="p"&gt;);&lt;/span&gt;
&lt;span class="nx"&gt;canvas&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;toBlob&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="nx"&gt;upload&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="dl"&gt;'&lt;/span&gt;&lt;span class="s1"&gt;image/jpeg&lt;/span&gt;&lt;span class="dl"&gt;'&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="mf"&gt;0.82&lt;/span&gt;&lt;span class="p"&gt;);&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;The worker stores two images in KV: a 1200×630 one for link previews (&lt;code&gt;og:image&lt;/code&gt;) and a full-page one for the gallery, which scrolls through it on hover. About 40 KB each.&lt;/p&gt;

&lt;h2&gt;
  
  
  4. My biggest mistake: a sign-up wall I didn't notice
&lt;/h2&gt;

&lt;p&gt;After launch I looked at the numbers: hundreds of visitors, two accounts. It turned out the free AI required signing in. So most people opened the editor, typed a prompt and hit a login form.&lt;/p&gt;

&lt;p&gt;Now visitors get 3 free generations a day without an account (counted in KV per hashed IP, the IP itself isn't stored). An account gives 20 a day, cloud projects and publishing. A friendly offer appears after the first good result, not before.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Lesson:&lt;/strong&gt; test your product signed out, in a private window, before every launch post.&lt;/p&gt;

&lt;h2&gt;
  
  
  Try it / read the code
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;Live: &lt;a href="https://openconstructor.pw" rel="noopener noreferrer"&gt;https://openconstructor.pw&lt;/a&gt;
&lt;/li&gt;
&lt;li&gt;Code: &lt;a href="https://github.com/Kuloka/openconstructor" rel="noopener noreferrer"&gt;https://github.com/Kuloka/openconstructor&lt;/a&gt;
&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;It also exports to React, Vue, Svelte and even Roblox UI and LÖVE 2D. I'd love feedback, especially on where the AI output falls apart.&lt;/p&gt;

</description>
      <category>webdev</category>
      <category>ai</category>
      <category>opensource</category>
      <category>javascript</category>
    </item>
    <item>
      <title>My free open-source AI UI builder got 562 visitors in its first 2 days — here's what worked</title>
      <dc:creator>TimofeUS</dc:creator>
      <pubDate>Sun, 08 Nov 2026 13:55:54 +0000</pubDate>
      <link>https://dev.to/timofeus_248d45d3902a91a3/my-free-open-source-ai-ui-builder-got-562-visitors-in-its-first-2-days-heres-what-worked-4k76</link>
      <guid>https://dev.to/timofeus_248d45d3902a91a3/my-free-open-source-ai-ui-builder-got-562-visitors-in-its-first-2-days-heres-what-worked-4k76</guid>
      <description>&lt;p&gt;Two days ago I launched openconstructor (&lt;a href="https://openconstructor.pw" rel="noopener noreferrer"&gt;https://openconstructor.pw&lt;/a&gt;), a free, open-source browser editor: you describe an interface, the AI builds it on a canvas, and then you edit it by hand or ask the AI to change one part.&lt;/p&gt;

&lt;p&gt;The numbers from Cloudflare (screenshot):&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;562 unique visitors&lt;/li&gt;
&lt;li&gt;8.1k requests&lt;/li&gt;
&lt;li&gt;$0 spent on ads&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;What I think worked:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;No sign-up wall. You can open the editor and generate a page right away. The built-in AI runs on free open models (GPT-OSS 120B, Llama 3.3 70B) on Cloudflare, so nobody needs an API key.&lt;/li&gt;
&lt;li&gt;One post per community, each written for that community, not one copy-pasted announcement.&lt;/li&gt;
&lt;li&gt;Shipping in public. I kept adding features during launch week (320+ components, publishing with your own domain, export to React/Vue/Svelte, even Roblox and LÖVE 2D UI) and logged each one in a public changelog.&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;What didn't work (yet):&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Turning visitors into accounts: almost nobody signs up, because the editor works without an account. I'm still figuring out what's worth signing up for.&lt;/li&gt;
&lt;li&gt;Small free models are inconsistent at design. I ended up building some page types from hand-made sections and letting the AI write only the content, which made the output far more reliable.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;It's fully open source: &lt;a href="https://github.com/Kuloka/openconstructor" rel="noopener noreferrer"&gt;https://github.com/Kuloka/openconstructor&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;I'd love honest feedback: what would make you actually come back and use a tool like this?&lt;br&gt;
&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2F3s3i7b1nq89h00dbognt.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2F3s3i7b1nq89h00dbognt.png" alt=" " width="799" height="259"&gt;&lt;/a&gt;&lt;/p&gt;

</description>
      <category>ai</category>
      <category>buildinpublic</category>
      <category>opensource</category>
      <category>showdev</category>
    </item>
  </channel>
</rss>
