<?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: Igor Kotua</title>
    <description>The latest articles on Forem by Igor Kotua (@garrrikkotua).</description>
    <link>https://forem.com/garrrikkotua</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%2F949996%2Fcf884576-8fd8-40a0-ac98-3bb129156bbd.jpeg</url>
      <title>Forem: Igor Kotua</title>
      <link>https://forem.com/garrrikkotua</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://forem.com/feed/garrrikkotua"/>
    <language>en</language>
    <item>
      <title>🚀 How I built AI pictures generator in a GitHub logo style 😻 and got featured in GitHub's Twitter and Instagram 🤯</title>
      <dc:creator>Igor Kotua</dc:creator>
      <pubDate>Wed, 01 Nov 2023 16:50:41 +0000</pubDate>
      <link>https://forem.com/garrrikkotua/how-i-built-ai-pictures-generator-in-a-github-logo-style-and-got-featured-in-githubs-twitter-and-instagram-5226</link>
      <guid>https://forem.com/garrrikkotua/how-i-built-ai-pictures-generator-in-a-github-logo-style-and-got-featured-in-githubs-twitter-and-instagram-5226</guid>
      <description>&lt;p&gt;Hi there 👋&lt;/p&gt;

&lt;p&gt;My name is Igor and I really like building cool apps 🤗&lt;/p&gt;

&lt;p&gt;A month ago I saw a very interesting project by Steven Tey - Spirals. It is an app that allows to generate AI pictures with spirals "hidden" in them. &lt;/p&gt;

&lt;p&gt;I really liked the idea and went on to build &lt;a href="https://octoart.vercel.app/" rel="noopener noreferrer"&gt;OctoArt&lt;/a&gt; - generator of AI pictures in a GitHub logo style. &lt;/p&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Flxqda1c2zzv2tis4a1lg.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Flxqda1c2zzv2tis4a1lg.png" alt="Example of a picture generate by OctoArt"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;The project turned out to be quite successful -  more than 4.5k pictures have been generated since then and more importantly GitHub posted about the project in their official Twitter and Instagram accounts (yes they have Insta account lol). &lt;/p&gt;

&lt;p&gt;&lt;iframe class="tweet-embed" id="tweet-1708136705843249510-338" src="https://platform.twitter.com/embed/Tweet.html?id=1708136705843249510"&gt;
&lt;/iframe&gt;

  // Detect dark theme
  var iframe = document.getElementById('tweet-1708136705843249510-338');
  if (document.body.className.includes('dark-theme')) {
    iframe.src = "https://platform.twitter.com/embed/Tweet.html?id=1708136705843249510&amp;amp;theme=dark"
  }



&lt;br&gt;
&lt;/p&gt;
&lt;div class="instagram-position"&gt;
  &lt;iframe id="instagram-liquid-tag" src="https://www.instagram.com/p/Cx5OOBPsYNO/embed/captioned/"&gt;
  &lt;/iframe&gt;
  
&lt;/div&gt;


&lt;h2&gt;
  
  
  How I build OctoArt
&lt;/h2&gt;

&lt;p&gt;As I said earlier, idea of this app came to me after I saw Spirals app. So I just went on and forked it 🙈&lt;/p&gt;

&lt;p&gt;It's beauty of open-source, you can just take someones code and they are gonna be fine with it!&lt;/p&gt;

&lt;p&gt;I just changed some colors and styles, added my Replicate API key, swapped spiral image with a GitHub logo, changed website logo (my wife created it in ProCreate) and went live with a tweet. Simple as that.  &lt;/p&gt;

&lt;p&gt;&lt;iframe class="tweet-embed" id="tweet-1707071883202404780-488" src="https://platform.twitter.com/embed/Tweet.html?id=1707071883202404780"&gt;
&lt;/iframe&gt;

  // Detect dark theme
  var iframe = document.getElementById('tweet-1707071883202404780-488');
  if (document.body.className.includes('dark-theme')) {
    iframe.src = "https://platform.twitter.com/embed/Tweet.html?id=1707071883202404780&amp;amp;theme=dark"
  }



&lt;/p&gt;

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

&lt;p&gt;From the tech side of things, the app is pretty simple. It is built with Next.js app router, Replicate, Vercel KV (Redis) and Blob (S3).&lt;/p&gt;

&lt;p&gt;The generation process works like this: &lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;User types a prompt&lt;/li&gt;
&lt;li&gt;We generate unique id using nanoid&lt;/li&gt;
&lt;li&gt;Prompt together with GitHub logo is sent to Replicate API&lt;/li&gt;
&lt;li&gt;Once generation is completed (~10 seconds), Replicate sends a webhook back to us together with id&lt;/li&gt;
&lt;li&gt;In a webhook route we save the image to Vercel Blob and then save the image url into Vercel KV&lt;/li&gt;
&lt;li&gt;Finally, we show a generated picture to users&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;You can see all the code on &lt;a href="https://github.com/garrrikkotua/octoart" rel="noopener noreferrer"&gt;GitHub&lt;/a&gt;.&lt;/p&gt;

&lt;h2&gt;
  
  
  LogoPicture AI
&lt;/h2&gt;

&lt;p&gt;Capitalizing on this success, recently I decided to build and app that allows to generate AI pictures with any logo. It's very early, but I already managed to generate $100 in revenue from a single Hacker News post 🤯&lt;/p&gt;

&lt;p&gt;&lt;a href="https://logopictureai.com" class="ltag_cta ltag_cta--branded" rel="noopener noreferrer"&gt;Check out LogoPicture AI&lt;/a&gt;
&lt;/p&gt;

&lt;p&gt;In the next article I am going to tell about how I built &lt;a href="https://logopictureai.com" rel="noopener noreferrer"&gt;LogoPicture AI&lt;/a&gt; with Next.js, Replicate, Supabase and LemonSqueezy. Don't miss it 😉&lt;/p&gt;

&lt;p&gt;All the best,&lt;br&gt;
Igor&lt;/p&gt;

</description>
      <category>webdev</category>
      <category>javascript</category>
      <category>tutorial</category>
      <category>opensource</category>
    </item>
    <item>
      <title>🚀 5 open-source copy and paste Tailwind CSS 💨component libraries YOU HAVE to try in 2023 🔥</title>
      <dc:creator>Igor Kotua</dc:creator>
      <pubDate>Mon, 04 Sep 2023 12:04:13 +0000</pubDate>
      <link>https://forem.com/garrrikkotua/5-open-source-copy-and-paste-tailwind-css-component-libraries-you-have-to-try-in-2023-47k3</link>
      <guid>https://forem.com/garrrikkotua/5-open-source-copy-and-paste-tailwind-css-component-libraries-you-have-to-try-in-2023-47k3</guid>
      <description>&lt;p&gt;I love Tailwind CSS. For me it's impossible to develop UIs using something different. It just doesn't work.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://i.giphy.com/media/cstHEo3umAADEfFAvZ/giphy.gif" class="article-body-image-wrapper"&gt;&lt;img src="https://i.giphy.com/media/cstHEo3umAADEfFAvZ/giphy.gif"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;The best part of Tailwind CSS is that it allows to collocate JS, HTML and CSS in one file. And this unique feature makes sharing Tailwind components a breeze. &lt;/p&gt;

&lt;p&gt;I have collected a list of 5 libraries with beautifully crafted Tailwind CSS components which you can copy-paste right into your code, for free ✨&lt;/p&gt;

&lt;p&gt;Check them out ⬇️&lt;/p&gt;

&lt;h2&gt;
  
  
  1. DaisyUI
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;53 components for actions, data display, data input, layout, navigation and even mockups 😮&lt;/li&gt;
&lt;li&gt;Easily customizable components and style system&lt;/li&gt;
&lt;li&gt;Custom themes and theme generator &lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fu8pwaj475egdrcx8ksfl.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fu8pwaj475egdrcx8ksfl.png" alt="DaisyUI Components"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Find components here:&lt;br&gt;
&lt;a href="https://daisyui.com/" rel="noopener noreferrer"&gt;https://daisyui.com/&lt;/a&gt;&lt;/p&gt;



&lt;h2&gt;
  
  
  2. Flowbite
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;330 free and premium components for tables, footers, CTAs, pricing, FAQ and more &lt;/li&gt;
&lt;li&gt;Standalone libs for React, Vue and other frameworks which help to implement interactivity 🎭&lt;/li&gt;
&lt;li&gt;460+ SVG and JSX icons&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F97xpan4iq4a6o1kquhvo.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F97xpan4iq4a6o1kquhvo.png" alt="Flowbite Components"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Find components here:&lt;br&gt;
&lt;a href="https://flowbite.com/" rel="noopener noreferrer"&gt;https://flowbite.com/&lt;/a&gt;&lt;/p&gt;



&lt;h2&gt;
  
  
  3. HyperUI
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;Components for Application UI, Marketing websites and eCommerce&lt;/li&gt;
&lt;li&gt;Out-of-the-box responsiveness, dark mode and support for Alpine.js 🏔️&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fcz2yboz9rhx6sigetk0t.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fcz2yboz9rhx6sigetk0t.png" alt="HyperUI Components"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Find components here:&lt;br&gt;
&lt;a href="https://www.hyperui.dev/" rel="noopener noreferrer"&gt;https://www.hyperui.dev/&lt;/a&gt;&lt;/p&gt;



&lt;h2&gt;
  
  
  4. shadcn/ui
&lt;/h2&gt;

&lt;p&gt;My favorite one 🤗&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;40+ accessible and pixel-perfect components for React, Next.js and Remix&lt;/li&gt;
&lt;li&gt;Easily customizable themes and styles&lt;/li&gt;
&lt;li&gt;Handy CLI 🤌, out-of-the-box dark mode and more&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F4da22a8f7n2k4n5fheze.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F4da22a8f7n2k4n5fheze.png" alt="shadcn/ui components"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Find components here:&lt;br&gt;
&lt;a href="https://ui.shadcn.com/" rel="noopener noreferrer"&gt;https://ui.shadcn.com/&lt;/a&gt;&lt;/p&gt;



&lt;h2&gt;
  
  
  5. Tailwind Elements
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;500+ Material UI style components build with Tailwind CSS 😮&lt;/li&gt;
&lt;li&gt;Compatible with any framework + standalone React lib&lt;/li&gt;
&lt;li&gt;Fully open-source, support for themes and dark mode&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F3b4qbcfghw3q21hwhrim.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F3b4qbcfghw3q21hwhrim.png" alt="Tailwind Elements Components"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Find components here:&lt;br&gt;
&lt;a href="https://tailwind-elements.com/" rel="noopener noreferrer"&gt;https://tailwind-elements.com/&lt;/a&gt;&lt;/p&gt;




&lt;p&gt;That's a wrap!&lt;/p&gt;

&lt;p&gt;If you like content like this, checkout my weekly &lt;a href="https://stargazerweekly.beehiiv.com/subscribe" rel="noopener noreferrer"&gt;newsletter&lt;/a&gt; where I share learnings building open-source products and trying to make money with them 🤑&lt;/p&gt;

&lt;p&gt;&lt;a href="https://stargazerweekly.beehiiv.com/" rel="noopener noreferrer"&gt;&lt;img src="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fk7mf8mv6t05gc47lyi5g.png" alt="Stargazer Weekly Newsletter"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;💌 &lt;a href="https://stargazerweekly.beehiiv.com/subscribe" rel="noopener noreferrer"&gt;Subscribe&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Cheers 🥂&lt;br&gt;
Igor&lt;/p&gt;

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