<?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: Camilo Llamas</title>
    <description>The latest articles on DEV Community by Camilo Llamas (@llama126).</description>
    <link>https://dev.to/llama126</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%2F4090607%2Ffcaf151c-9d5b-4fa3-bc68-9f8eead7ecce.png</url>
      <title>DEV Community: Camilo Llamas</title>
      <link>https://dev.to/llama126</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/llama126"/>
    <language>en</language>
    <item>
      <title>How I built FastMedia Downloader: A microservices architecture with FastAPI, Next.js, and Docker</title>
      <dc:creator>Camilo Llamas</dc:creator>
      <pubDate>Sun, 23 Aug 2026 08:41:25 +0000</pubDate>
      <link>https://dev.to/llama126/how-i-built-fastmedia-downloader-a-microservices-architecture-with-fastapi-nextjs-and-docker-fg</link>
      <guid>https://dev.to/llama126/how-i-built-fastmedia-downloader-a-microservices-architecture-with-fastapi-nextjs-and-docker-fg</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%2Fk4v88khy7qc7bcv62pv7.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%2Fk4v88khy7qc7bcv62pv7.png" alt=" " width="800" height="463"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Hey devs! 👋&lt;/p&gt;

&lt;p&gt;I recently built and open-sourced &lt;strong&gt;FastMedia Downloader&lt;/strong&gt;, a full-stack platform designed to inspect and extract multimedia content from over 1,000 supported platforms (YouTube, TikTok, Instagram Reels, X/Twitter, SoundCloud, and more).&lt;/p&gt;

&lt;p&gt;I wanted to share how I structured the project, the tech stack I selected, and how the microservices communicate with each other.&lt;/p&gt;




&lt;h3&gt;
  
  
  🏗️ Architecture &amp;amp; Tech Stack
&lt;/h3&gt;

&lt;p&gt;The system is split into two independent, containerized microservices:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Backend (FastAPI + Python 3.11):&lt;/strong&gt; Core orchestrator that manages asynchronous requests, media inspection, and conversion via custom wrappers around &lt;code&gt;yt-dlp&lt;/code&gt; and &lt;code&gt;FFmpeg&lt;/code&gt;.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Frontend (Next.js + TypeScript + Tailwind CSS):&lt;/strong&gt; Responsive, modern interface with multi-language support (i18n) and instant link parsing.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Infrastructure (Docker Compose):&lt;/strong&gt; Ensures both services run in isolated environments for seamless local deployment (&lt;code&gt;docker-compose up&lt;/code&gt;).&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;DevOps &amp;amp; Security:&lt;/strong&gt; Automated CI/CD pipelines via GitHub Actions, Dependabot vulnerability scanning, and Open Source Standard rulesets.&lt;/li&gt;
&lt;/ul&gt;




&lt;h3&gt;
  
  
  🛠️ Key Engineering Takeaways
&lt;/h3&gt;

&lt;p&gt;Building this project helped me refine several practical patterns:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;
&lt;strong&gt;Async Handling in FastAPI:&lt;/strong&gt; Processing media metadata streams asynchronously to keep response times low.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Containerized System Dependencies:&lt;/strong&gt; Encapsulating low-level binaries like &lt;code&gt;FFmpeg&lt;/code&gt; directly inside isolated Docker containers without polluting the host environment.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Clean Open-Source Workflow:&lt;/strong&gt; Structuring a production-ready repository with proper rulesets, issue templates, and community standards.&lt;/li&gt;
&lt;/ol&gt;




&lt;h3&gt;
  
  
  🔗 Source Code &amp;amp; Repository
&lt;/h3&gt;

&lt;p&gt;The entire project is completely open-source. Feel free to inspect the code, run it locally, or contribute!&lt;/p&gt;

&lt;p&gt;📌 &lt;strong&gt;GitHub Repository:&lt;/strong&gt; &lt;a href="https://github.com/Llamas126/fastmedia-downloader" rel="noopener noreferrer"&gt;https://github.com/Llamas126/fastmedia-downloader&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;I’d love to hear your feedback on the microservice structure, performance tips, or features you’d like to see added next!&lt;/p&gt;

</description>
      <category>python</category>
      <category>fastapi</category>
      <category>nextjs</category>
      <category>opensource</category>
    </item>
  </channel>
</rss>
