<?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: ABHISHEK KUNDALIA</title>
    <description>The latest articles on DEV Community by ABHISHEK KUNDALIA (@abhishek_kundalia).</description>
    <link>https://dev.to/abhishek_kundalia</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%2F3753042%2F89e1f218-d161-4c80-bc4d-3067ffadd299.png</url>
      <title>DEV Community: ABHISHEK KUNDALIA</title>
      <link>https://dev.to/abhishek_kundalia</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/abhishek_kundalia"/>
    <language>en</language>
    <item>
      <title>I Built a Free OG Image API - Here's How It Works</title>
      <dc:creator>ABHISHEK KUNDALIA</dc:creator>
      <pubDate>Fri, 06 Feb 2026 16:20:11 +0000</pubDate>
      <link>https://dev.to/abhishek_kundalia/i-built-a-free-og-image-api-heres-how-it-works-49cl</link>
      <guid>https://dev.to/abhishek_kundalia/i-built-a-free-og-image-api-heres-how-it-works-49cl</guid>
      <description>&lt;h2&gt;
  
  
  The Problem: Manual OG Images Are a Pain
&lt;/h2&gt;

&lt;p&gt;You've probably been there. You just finished writing an amazing blog post, you're ready to share it on Twitter, and then... the preview looks like garbage.&lt;/p&gt;

&lt;p&gt;No image. Or worse—a stretched, pixelated mess.&lt;/p&gt;

&lt;p&gt;So what do you do? Fire up Figma. Spend 15 minutes tweaking. Export. Upload. Repeat for every. single. post.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;I got tired of this workflow.&lt;/strong&gt;&lt;/p&gt;




&lt;h2&gt;
  
  
  The Solution: API-Based OG Image Generation
&lt;/h2&gt;

&lt;p&gt;I built &lt;a href="https://ogimage.art" rel="noopener noreferrer"&gt;ogimage.art&lt;/a&gt;—a free API that generates beautiful OG images on-the-fly.&lt;/p&gt;

&lt;p&gt;Here's the magic: &lt;strong&gt;the image IS the URL.&lt;/strong&gt;&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;https://ogimage.art/api/og?title=Your%20Title&amp;amp;template=gradient
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Paste this URL into your &lt;code&gt;og:image&lt;/code&gt; meta tag, and social platforms fetch a freshly generated image every time.&lt;/p&gt;




&lt;h2&gt;
  
  
  Quick Start (2 minutes)
&lt;/h2&gt;

&lt;h3&gt;
  
  
  Step 1: Pick a Template
&lt;/h3&gt;

&lt;p&gt;Available templates: &lt;code&gt;gradient&lt;/code&gt;, &lt;code&gt;dark&lt;/code&gt;, &lt;code&gt;sunset&lt;/code&gt;, &lt;code&gt;ocean&lt;/code&gt;, &lt;code&gt;forest&lt;/code&gt;, &lt;code&gt;midnight&lt;/code&gt;, &lt;code&gt;minimal&lt;/code&gt;, &lt;code&gt;fire&lt;/code&gt;&lt;/p&gt;

&lt;h3&gt;
  
  
  Step 2: Add the Meta Tags
&lt;/h3&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;meta&lt;/span&gt; &lt;span class="na"&gt;property=&lt;/span&gt;&lt;span class="s"&gt;"og:image"&lt;/span&gt; &lt;span class="na"&gt;content=&lt;/span&gt;&lt;span class="s"&gt;"https://ogimage.art/api/og?title=Your%20Title&amp;amp;template=gradient"&lt;/span&gt; &lt;span class="nt"&gt;/&amp;gt;&lt;/span&gt;
&lt;span class="nt"&gt;&amp;lt;meta&lt;/span&gt; &lt;span class="na"&gt;name=&lt;/span&gt;&lt;span class="s"&gt;"twitter:card"&lt;/span&gt; &lt;span class="na"&gt;content=&lt;/span&gt;&lt;span class="s"&gt;"summary_large_image"&lt;/span&gt; &lt;span class="nt"&gt;/&amp;gt;&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;h3&gt;
  
  
  Step 3: Make It Dynamic
&lt;/h3&gt;

&lt;p&gt;&lt;strong&gt;Next.js:&lt;/strong&gt;&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="k"&gt;export&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;generateMetadata&lt;/span&gt;&lt;span class="p"&gt;({&lt;/span&gt; &lt;span class="nx"&gt;params&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="nx"&gt;post&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;getPost&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="nx"&gt;params&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nx"&gt;slug&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="na"&gt;openGraph&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt;
      &lt;span class="na"&gt;images&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="p"&gt;[&lt;/span&gt;&lt;span class="s2"&gt;`https://ogimage.art/api/og?title=&lt;/span&gt;&lt;span class="p"&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;post&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nx"&gt;title&lt;/span&gt;&lt;span class="p"&gt;)}&lt;/span&gt;&lt;span class="s2"&gt;`&lt;/span&gt;&lt;span class="p"&gt;],&lt;/span&gt;
    &lt;span class="p"&gt;},&lt;/span&gt;
  &lt;span class="p"&gt;};&lt;/span&gt;
&lt;span class="p"&gt;}&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;&lt;strong&gt;Jekyll:&lt;/strong&gt;&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight liquid"&gt;&lt;code&gt;&amp;lt;meta property="og:image" content="https://ogimage.art/api/og?title=&lt;span class="cp"&gt;{{&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="nv"&gt;page&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nv"&gt;title&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="p"&gt;|&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="nf"&gt;url_encode&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="cp"&gt;}}&lt;/span&gt;" /&amp;gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;






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

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Free:&lt;/strong&gt; Unlimited images with small watermark&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Pro ($9/mo):&lt;/strong&gt; No watermark + API access&lt;/li&gt;
&lt;/ul&gt;




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

&lt;p&gt;🌐 &lt;a href="https://ogimage.art" rel="noopener noreferrer"&gt;ogimage.art&lt;/a&gt; - Live demo + docs&lt;/p&gt;

&lt;p&gt;Got questions? Drop a comment below!&lt;/p&gt;

&lt;p&gt;Happy shipping! 🚀&lt;/p&gt;

</description>
      <category>javascript</category>
      <category>webdev</category>
      <category>api</category>
    </item>
    <item>
      <title>Stop using Figma for OG images (I built an API to automate it)</title>
      <dc:creator>ABHISHEK KUNDALIA</dc:creator>
      <pubDate>Wed, 04 Feb 2026 13:26:56 +0000</pubDate>
      <link>https://dev.to/abhishek_kundalia/stop-using-figma-for-og-images-i-built-an-api-to-automate-it-36pm</link>
      <guid>https://dev.to/abhishek_kundalia/stop-using-figma-for-og-images-i-built-an-api-to-automate-it-36pm</guid>
      <description>&lt;p&gt;I love coding, but I hate design.&lt;/p&gt;

&lt;p&gt;Every time I shipped a blog post, I had to open Figma, find a template, edit text, export PNG, upload to S3... it took 20 minutes.&lt;/p&gt;

&lt;p&gt;So I spent this weekend building an automated solution using &lt;strong&gt;Next.js + Satori&lt;/strong&gt;.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;The Stack:&lt;/strong&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;  Next.js App Router (Edge Runtime)&lt;/li&gt;
&lt;li&gt;  @vercel/og (Satori) - Converts HTML/CSS to SVG to PNG&lt;/li&gt;
&lt;li&gt;  Tailwind CSS for styling&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;strong&gt;How it works:&lt;/strong&gt;&lt;br&gt;
I created an API route &lt;code&gt;/api/og&lt;/code&gt; that takes query parameters (&lt;code&gt;title&lt;/code&gt;, &lt;code&gt;theme&lt;/code&gt;). Satori renders a React component into an image on the fly.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;The Result:&lt;/strong&gt;&lt;br&gt;
Now I just paste this URL into my meta tags:&lt;br&gt;
&lt;code&gt;https://ogimage.art/api/og?title=My%20Post&lt;/code&gt;&lt;/p&gt;

&lt;p&gt;It generates a 1200x630 image instantly.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Try it yourself:&lt;/strong&gt;&lt;br&gt;
I made it a free tool for everyone.&lt;br&gt;
👉 &lt;strong&gt;&lt;a href="https://ogimage.art" rel="noopener noreferrer"&gt;ogimage.art&lt;/a&gt;&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;(The code is private for now, but I might open source the core generator engine later. Let me know if you're interested!)&lt;/p&gt;

</description>
      <category>webdev</category>
      <category>react</category>
      <category>nextjs</category>
      <category>showdev</category>
    </item>
  </channel>
</rss>
