<?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: Noah</title>
    <description>The latest articles on DEV Community by Noah (@noah1919).</description>
    <link>https://dev.to/noah1919</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%2F4086999%2Fcc967d62-3f40-4bf6-9b22-36da30723e7c.png</url>
      <title>DEV Community: Noah</title>
      <link>https://dev.to/noah1919</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/noah1919"/>
    <language>en</language>
    <item>
      <title>I got tired of metered image CDN pricing, so I built my own</title>
      <dc:creator>Noah</dc:creator>
      <pubDate>Thu, 20 Aug 2026 16:37:17 +0000</pubDate>
      <link>https://dev.to/noah1919/i-got-tired-of-metered-image-cdn-pricing-so-i-built-my-own-532d</link>
      <guid>https://dev.to/noah1919/i-got-tired-of-metered-image-cdn-pricing-so-i-built-my-own-532d</guid>
      <description>&lt;p&gt;I've built and rebuilt image pipelines for side projects more times than I can count, and every time it's the same story: hosted CDN, love it for a month, then start dreading the bill because it moves with traffic you don't control. So this time I just self-hosted it. Fottly — image transforms and AI background removal through a plain URL, AGPL-3.0, reading from a bucket I actually own.&lt;/p&gt;

&lt;p&gt;GET /t/w_800,c_fit,bg_remove,f_webp/product.jpg&lt;/p&gt;

&lt;p&gt;Two things from building it that are worth sharing.&lt;/p&gt;

&lt;p&gt;Picking the background removal model took way longer than it should have. The default one cropped a leg off a photo of a character standing up. Switched models, that fixed it, but then a "better" model OOM-killed the container because its file was almost 1GB. Ended up resizing images to 1600px before background removal even runs — barely hurts quality, stops the crashes.&lt;/p&gt;

&lt;p&gt;The one that actually annoyed me: I had ufw locked down, default deny, only ssh/http/https open. Turns out Docker writes its own iptables rules when you publish a container port, and those rules run ahead of ufw's — so the "firewall" wasn't blocking anything for stuff running in containers. Fixed it by binding to 127.0.0.1 and putting Caddy in front. If you run ufw + Docker, worth checking you're not in the same boat.&lt;/p&gt;

&lt;p&gt;Repo's here if you want to poke at it: &lt;a href="https://github.com/Noah-1919/Fottly" rel="noopener noreferrer"&gt;https://github.com/Noah-1919/Fottly&lt;/a&gt;&lt;/p&gt;

</description>
      <category>opensource</category>
      <category>selfhosted</category>
      <category>docker</category>
      <category>saas</category>
    </item>
  </channel>
</rss>
