<?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: Shuvranshu Sekhar Sahoo</title>
    <description>The latest articles on Forem by Shuvranshu Sekhar Sahoo (@sahooshuvranshu).</description>
    <link>https://forem.com/sahooshuvranshu</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%2F3603259%2F872e7870-1c81-4e0a-beae-01abe43ff0e5.jpeg</url>
      <title>Forem: Shuvranshu Sekhar Sahoo</title>
      <link>https://forem.com/sahooshuvranshu</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://forem.com/feed/sahooshuvranshu"/>
    <language>en</language>
    <item>
      <title>How I Built a Dynamic Spotify 'Now Playing' Banner for My GitHub README using Python and Flask 🐍</title>
      <dc:creator>Shuvranshu Sekhar Sahoo</dc:creator>
      <pubDate>Sun, 09 Nov 2025 14:24:13 +0000</pubDate>
      <link>https://forem.com/sahooshuvranshu/how-i-built-a-dynamic-spotify-now-playing-banner-for-my-github-readme-using-python-and-flask-3cn1</link>
      <guid>https://forem.com/sahooshuvranshu/how-i-built-a-dynamic-spotify-now-playing-banner-for-my-github-readme-using-python-and-flask-3cn1</guid>
      <description>&lt;h2&gt;
  
  
  🎵 Project Showcase: Spotify-Live-Banner
&lt;/h2&gt;

&lt;p&gt;Tired of static stats on your GitHub profile? I recently launched &lt;strong&gt;Spotify-Live-Banner&lt;/strong&gt;, a small, open-source web service that fetches your currently playing Spotify track and renders it as a clean, real-time, animated SVG image banner. It's a fun way to bring life to your profile, and I wanted to share the process of building it with &lt;strong&gt;Python and Flask&lt;/strong&gt;.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://spotify-live-banner.vercel.app/" rel="noopener noreferrer"&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%2Farticles%2Fpnos965g18ahhbfcutsd.jpg" alt="Spotify Live Banner Preview" width="800" height="274"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;h3&gt;
  
  
  1. What It Does (Core Functionality)
&lt;/h3&gt;

&lt;p&gt;The project serves a single purpose: to provide a highly customized image URL that displays your live music activity.&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Data Source:&lt;/strong&gt; Fetches the user's currently playing track from the Spotify API.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Rendering:&lt;/strong&gt; Uses Flask to serve a route that dynamically generates an &lt;strong&gt;SVG image&lt;/strong&gt; based on the song data and user-defined themes (colors, animations, layout).&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Target Audience:&lt;/strong&gt; Developers looking for a dynamic profile widget who prefer using the Python ecosystem.&lt;/li&gt;
&lt;/ul&gt;

&lt;h3&gt;
  
  
  2. Why Python and Flask? (Comparison)
&lt;/h3&gt;

&lt;p&gt;While there are existing solutions, I chose a Python/Flask implementation because:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Familiarity:&lt;/strong&gt; It offers a robust, familiar, and minimalist backend for developers in the Python world.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Custom Logic:&lt;/strong&gt; Flask is lightweight, making it efficient for running the SVG rendering and API caching logic required for real-time performance.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Deployment:&lt;/strong&gt; The project is configured for easy, free, one-click deployment on serverless platforms like Vercel and Render, making setup simple for the end-user.&lt;/li&gt;
&lt;/ul&gt;

&lt;h3&gt;
  
  
  3. Key Features
&lt;/h3&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Real-time Updates:&lt;/strong&gt; Shows the song you're listening to &lt;em&gt;right now&lt;/em&gt;.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Customization:&lt;/strong&gt; Supports various color themes, animations (e.g., spinning CD), and layouts.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Open Source:&lt;/strong&gt; The entire code base is available under the &lt;strong&gt;GPL-3.0 License&lt;/strong&gt;.&lt;/li&gt;
&lt;/ul&gt;




&lt;h2&gt;
  
  
  🚀 Get Started
&lt;/h2&gt;

&lt;p&gt;If you're looking for a quick and fun Python project to deploy or want to instantly upgrade your GitHub profile with a dynamic element, feel free to clone and use it!&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Check out the live demo here:&lt;/strong&gt;&lt;br&gt;
➡️ &lt;strong&gt;Live Demo (Vercel):&lt;/strong&gt; &lt;a href="https://spotify-live-banner.vercel.app" rel="noopener noreferrer"&gt;https://spotify-live-banner.vercel.app&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Star the repo and check out the source code:&lt;/strong&gt;&lt;br&gt;
⭐ &lt;strong&gt;GitHub Repository:&lt;/strong&gt; &lt;a href="https://github.com/SahooShuvranshu/Spotify-Live-Banner" rel="noopener noreferrer"&gt;https://github.com/SahooShuvranshu/Spotify-Live-Banner&lt;/a&gt;&lt;/p&gt;




&lt;p&gt;&lt;em&gt;I'd love to hear your thoughts on the code implementation or any feature suggestions! Drop a comment below.&lt;/em&gt;&lt;/p&gt;

</description>
      <category>python</category>
      <category>webdev</category>
      <category>github</category>
      <category>showdev</category>
    </item>
  </channel>
</rss>
