<?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>Forem: ẞLACK Zebra</title>
    <description>The latest articles on Forem by ẞLACK Zebra (@lack_zebra_e5de6e97909d6).</description>
    <link>https://forem.com/lack_zebra_e5de6e97909d6</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.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F3679488%2F24dddbcd-60dc-475d-9903-c38e513d2b09.jpg</url>
      <title>Forem: ẞLACK Zebra</title>
      <link>https://forem.com/lack_zebra_e5de6e97909d6</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://forem.com/feed/lack_zebra_e5de6e97909d6"/>
    <language>en</language>
    <item>
      <title>[Boost]</title>
      <dc:creator>ẞLACK Zebra</dc:creator>
      <pubDate>Fri, 26 Dec 2025 10:31:18 +0000</pubDate>
      <link>https://forem.com/lack_zebra_e5de6e97909d6/-18k7</link>
      <guid>https://forem.com/lack_zebra_e5de6e97909d6/-18k7</guid>
      <description>&lt;div class="ltag__link"&gt;
  &lt;a href="/lack_zebra_e5de6e97909d6" class="ltag__link__link"&gt;
    &lt;div class="ltag__link__pic"&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.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F3679488%2F24dddbcd-60dc-475d-9903-c38e513d2b09.jpg" alt="lack_zebra_e5de6e97909d6"&gt;
    &lt;/div&gt;
  &lt;/a&gt;
  &lt;a href="https://dev.to/lack_zebra_e5de6e97909d6/why-i-built-yet-another-pdf-api-and-whats-different-49cj" class="ltag__link__link"&gt;
    &lt;div class="ltag__link__content"&gt;
      &lt;h2&gt;Why I Built Yet Another PDF API (And What's Different)&lt;/h2&gt;
      &lt;h3&gt;ẞLACK Zebra ・ Dec 26&lt;/h3&gt;
      &lt;div class="ltag__link__taglist"&gt;
        &lt;span class="ltag__link__tag"&gt;#webdev&lt;/span&gt;
        &lt;span class="ltag__link__tag"&gt;#javascript&lt;/span&gt;
        &lt;span class="ltag__link__tag"&gt;#api&lt;/span&gt;
        &lt;span class="ltag__link__tag"&gt;#productivity&lt;/span&gt;
      &lt;/div&gt;
    &lt;/div&gt;
  &lt;/a&gt;
&lt;/div&gt;


</description>
      <category>webdev</category>
      <category>javascript</category>
      <category>api</category>
      <category>productivity</category>
    </item>
    <item>
      <title>Why I Built Yet Another PDF API (And What's Different)</title>
      <dc:creator>ẞLACK Zebra</dc:creator>
      <pubDate>Fri, 26 Dec 2025 10:30:30 +0000</pubDate>
      <link>https://forem.com/lack_zebra_e5de6e97909d6/why-i-built-yet-another-pdf-api-and-whats-different-49cj</link>
      <guid>https://forem.com/lack_zebra_e5de6e97909d6/why-i-built-yet-another-pdf-api-and-whats-different-49cj</guid>
      <description>&lt;h1&gt;
  
  
  Why I Built Yet Another PDF API (And What's Different)
&lt;/h1&gt;

&lt;p&gt;If you've ever generated PDFs programmatically, you know the pain.&lt;/p&gt;

&lt;p&gt;Puppeteer works until you deploy. Then fonts break. Or the container runs out of memory. Or you spend 3 hours figuring out why Arial renders as Times New Roman on your Linux server.&lt;/p&gt;

&lt;p&gt;I dealt with this enough times that I finally built Fileloom.&lt;/p&gt;

&lt;h2&gt;
  
  
  The problems I kept hitting
&lt;/h2&gt;

&lt;p&gt;&lt;strong&gt;1. Fonts don't work in production&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;Locally, everything looks perfect. In production (headless Linux, Docker, Lambda), your carefully chosen fonts become fallback serif garbage. The fix usually involves installing font packages, configuring fontconfig, or giving up.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;2. Pricing that doesn't scale&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;Most PDF APIs charge $15-30/month for 100-500 PDFs. If you're generating invoices at any volume, that math gets painful fast.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;3. Templating is either too simple or requires a PhD&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;You either get basic string replacement, or you're learning a whole DSL. I wanted Handlebars – something familiar with enough power for real documents.&lt;/p&gt;

&lt;h2&gt;
  
  
  What Fileloom does
&lt;/h2&gt;

&lt;p&gt;Single endpoint:&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="nx"&gt;response&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;fetch&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="dl"&gt;'&lt;/span&gt;&lt;span class="s1"&gt;https://api.fileloom.io/v1/pdf/generate&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="na"&gt;method&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="dl"&gt;'&lt;/span&gt;&lt;span class="s1"&gt;POST&lt;/span&gt;&lt;span class="dl"&gt;'&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
  &lt;span class="na"&gt;headers&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="s1"&gt;X-API-Key&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="s1"&gt;fl_your_api_key&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="s1"&gt;Content-Type&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="s1"&gt;application/json&lt;/span&gt;&lt;span class="dl"&gt;'&lt;/span&gt;
  &lt;span class="p"&gt;},&lt;/span&gt;
  &lt;span class="na"&gt;body&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="nx"&gt;JSON&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;stringify&lt;/span&gt;&lt;span class="p"&gt;({&lt;/span&gt;
    &lt;span class="na"&gt;templateId&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="dl"&gt;'&lt;/span&gt;&lt;span class="s1"&gt;invoice_pro&lt;/span&gt;&lt;span class="dl"&gt;'&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
    &lt;span class="na"&gt;templateData&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt;
      &lt;span class="na"&gt;invoiceNumber&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="dl"&gt;'&lt;/span&gt;&lt;span class="s1"&gt;INV-2025-001&lt;/span&gt;&lt;span class="dl"&gt;'&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
      &lt;span class="na"&gt;customer&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="dl"&gt;'&lt;/span&gt;&lt;span class="s1"&gt;Acme Corporation&lt;/span&gt;&lt;span class="dl"&gt;'&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
      &lt;span class="na"&gt;total&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="mf"&gt;2499.00&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="p"&gt;{&lt;/span&gt; &lt;span class="nx"&gt;data&lt;/span&gt; &lt;span class="p"&gt;}&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="k"&gt;await&lt;/span&gt; &lt;span class="nx"&gt;response&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;json&lt;/span&gt;&lt;span class="p"&gt;();&lt;/span&gt;
&lt;span class="nx"&gt;console&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;log&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="nx"&gt;data&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nx"&gt;url&lt;/span&gt;&lt;span class="p"&gt;);&lt;/span&gt; &lt;span class="c1"&gt;// PDF ready in ~1.2s&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Or send raw HTML if you don't need templates.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Built-in helpers (70+)&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;The stuff you always end up writing yourself:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight handlebars"&gt;&lt;code&gt;&lt;span class="k"&gt;{{&lt;/span&gt;&lt;span class="nv"&gt;currency&lt;/span&gt; &lt;span class="nv"&gt;total&lt;/span&gt; &lt;span class="s2"&gt;"USD"&lt;/span&gt;&lt;span class="k"&gt;}}&lt;/span&gt;        // $2,499.00
&lt;span class="k"&gt;{{&lt;/span&gt;&lt;span class="nv"&gt;formatDate&lt;/span&gt; &lt;span class="nv"&gt;date&lt;/span&gt; &lt;span class="s2"&gt;"MMMM D, YYYY"&lt;/span&gt;&lt;span class="k"&gt;}}&lt;/span&gt;  // January 15, 2025
&lt;span class="k"&gt;{{#&lt;/span&gt;&lt;span class="nn"&gt;each&lt;/span&gt; &lt;span class="nv"&gt;items&lt;/span&gt;&lt;span class="k"&gt;}}&lt;/span&gt;...&lt;span class="k"&gt;{{/&lt;/span&gt;&lt;span class="nn"&gt;each&lt;/span&gt;&lt;span class="k"&gt;}}&lt;/span&gt;
&lt;span class="k"&gt;{{#if&lt;/span&gt; &lt;span class="nv"&gt;isPaid&lt;/span&gt;&lt;span class="k"&gt;}}&lt;/span&gt;Paid&lt;span class="k"&gt;{{else}}&lt;/span&gt;Pending&lt;span class="k"&gt;{{/if}}&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Math, string manipulation, date formatting, conditionals – all included.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Fonts just work&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;Fileloom injects Google Fonts and handles Twemoji automatically. Your template looks the same locally and in production.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Storage options&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;PDFs go to our Firebase storage by default, or configure S3/Supabase if you want files in your own infrastructure.&lt;/p&gt;

&lt;h2&gt;
  
  
  Pricing
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Free:&lt;/strong&gt; 200 PDFs/month&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Starter:&lt;/strong&gt; $7.20/mo for 2,000 PDFs&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Growth:&lt;/strong&gt; $39.20/mo for 10,000 PDFs&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Scale:&lt;/strong&gt; $159.20/mo for 50,000 PDFs&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;No credit card for free tier.&lt;/p&gt;

&lt;h2&gt;
  
  
  Try it
&lt;/h2&gt;

&lt;p&gt;&lt;a href="https://fileloom.io" rel="noopener noreferrer"&gt;https://fileloom.io&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;I'm building this in public and would love feedback – especially on the API design, docs, or anything that feels confusing.&lt;/p&gt;

</description>
      <category>webdev</category>
      <category>javascript</category>
      <category>api</category>
      <category>productivity</category>
    </item>
  </channel>
</rss>
