<?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: Mohsin Abid</title>
    <description>The latest articles on DEV Community by Mohsin Abid (@mohsinabid).</description>
    <link>https://dev.to/mohsinabid</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%2F4279840%2Fc0e44fa0-ba2d-4242-9717-ae795f00e635.png</url>
      <title>DEV Community: Mohsin Abid</title>
      <link>https://dev.to/mohsinabid</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/mohsinabid"/>
    <language>en</language>
    <item>
      <title>How I Built a "For You" Feed Ranking Algorithm in Flutter + Supabase</title>
      <dc:creator>Mohsin Abid</dc:creator>
      <pubDate>Thu, 03 Dec 2026 09:58:57 +0000</pubDate>
      <link>https://dev.to/mohsinabid/how-i-built-a-for-you-feed-ranking-algorithm-in-flutter-supabase-2el3</link>
      <guid>https://dev.to/mohsinabid/how-i-built-a-for-you-feed-ranking-algorithm-in-flutter-supabase-2el3</guid>
      <description>&lt;p&gt;When I built SARAIKI STAR, my TikTok-style short-video app, the feed could not just be "newest first". With 140+ videos from a handful of creators, a naive feed repeats the same creator endlessly and buries new uploads. Here is the ranking I shipped.&lt;/p&gt;

&lt;h2&gt;
  
  
  The scoring formula
&lt;/h2&gt;

&lt;p&gt;Every video gets a score in a Postgres function:&lt;/p&gt;

&lt;p&gt;score = (likes*3 + comments*5 + shares*4 + saves*2 + views*0.05 + 15) / (age_hours + 2)^1.3&lt;/p&gt;

&lt;p&gt;Comments weigh more than likes (they cost the viewer more effort), shares weigh almost as much, and the +15 constant gives brand-new videos a fair chance against old hits. The exponent on age was later raised to 1.3 so fresh content cycles in faster, and I added an engagement-rate term (engagement relative to views) with log-scaled view counts so a viral outlier does not dominate forever.&lt;/p&gt;

&lt;p&gt;Two multipliers sit on top:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;×1.5 boost for videos younger than 48 hours&lt;/li&gt;
&lt;li&gt;×1.8 if the viewer follows the creator, ×0.3 for the viewer's own videos&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  The diversity pass
&lt;/h2&gt;

&lt;p&gt;Ranking alone still produced runs of the same creator. So the client applies a light interleave after fetching: if the next item's creator is the same as the previous item's, it swaps in the next different creator. One rule, huge perceived difference.&lt;/p&gt;

&lt;h2&gt;
  
  
  Playback discipline
&lt;/h2&gt;

&lt;p&gt;Ranking is wasted if the feed stutters. The feed only mounts video players for the current and next page, starts playback on the HD rendition directly (no mid-play quality switch — that caused a visible "scene jump" bug), and saves downloads straight to the phone gallery.&lt;/p&gt;

&lt;h2&gt;
  
  
  The template
&lt;/h2&gt;

&lt;p&gt;The full app became ClipFlow, a complete Flutter + Supabase short-video template (feed, publishing with on-device 720p/480p compression, live streaming with gifts, comments, follows, inbox): &lt;a href="https://mohsinabid.gumroad.com/l/clipflow-flutter-template" rel="noopener noreferrer"&gt;https://mohsinabid.gumroad.com/l/clipflow-flutter-template&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Its sibling RideBook is a full ride-hailing template: &lt;a href="https://mohsinabid.gumroad.com/l/ridebook-flutter-template" rel="noopener noreferrer"&gt;https://mohsinabid.gumroad.com/l/ridebook-flutter-template&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Portfolio: &lt;a href="https://mohsin-abid-portfolio.netlify.app" rel="noopener noreferrer"&gt;https://mohsin-abid-portfolio.netlify.app&lt;/a&gt; · GitHub: &lt;a href="https://github.com/zemotify415-cyber" rel="noopener noreferrer"&gt;https://github.com/zemotify415-cyber&lt;/a&gt;&lt;/p&gt;

</description>
      <category>flutter</category>
      <category>supabase</category>
      <category>programming</category>
      <category>mobile</category>
    </item>
    <item>
      <title>I built a TikTok-style video app, a ride-hailing app, and 50+ web tools — my 2026 portfolio is live 🚀</title>
      <dc:creator>Mohsin Abid</dc:creator>
      <pubDate>Thu, 03 Dec 2026 06:50:08 +0000</pubDate>
      <link>https://dev.to/mohsinabid/i-built-a-tiktok-style-video-app-a-ride-hailing-app-and-50-web-tools-my-2026-portfolio-is-live-fmn</link>
      <guid>https://dev.to/mohsinabid/i-built-a-tiktok-style-video-app-a-ride-hailing-app-and-50-web-tools-my-2026-portfolio-is-live-fmn</guid>
      <description>&lt;p&gt;Hi DEV community 👋 I'm Mohsin Abid, a Full Stack &amp;amp; Flutter Developer from Lahore, Pakistan. I just rebuilt my portfolio and wanted to share what I've been building:&lt;/p&gt;

&lt;h2&gt;
  
  
  🚀 What I've shipped
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Saraiki Star&lt;/strong&gt; — a TikTok-style short-video platform (Flutter + Supabase) with 141 published videos, live streaming, gifts and a smart For You feed&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;MyRide&lt;/strong&gt; — an inDrive-style ride-hailing app listed on Google Play (Flutter + Firebase + Supabase, free map tiles, no Google Maps API key)&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;AI Challenge&lt;/strong&gt; — an AI photo-transformation app with 1,320 templates&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;ToolSuiteX&lt;/strong&gt; — a Next.js platform with 50+ online tools&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Mofin&lt;/strong&gt; — an online video downloader (FastAPI + yt-dlp)&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  🛒 New: premium Flutter templates
&lt;/h2&gt;

&lt;p&gt;I also launched my Gumroad store with production-ready source code:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;ClipFlow ($49)&lt;/strong&gt; — TikTok-style short-video app template: &lt;a href="https://mohsinabid.gumroad.com/l/clipflow-flutter-template" rel="noopener noreferrer"&gt;https://mohsinabid.gumroad.com/l/clipflow-flutter-template&lt;/a&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;RideBook ($79)&lt;/strong&gt; — ride-hailing app template with fare bidding and live maps: &lt;a href="https://mohsinabid.gumroad.com/l/ridebook-flutter-template" rel="noopener noreferrer"&gt;https://mohsinabid.gumroad.com/l/ridebook-flutter-template&lt;/a&gt;
&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  🔗 Portfolio
&lt;/h2&gt;

&lt;p&gt;Full case studies, skills and contact: &lt;strong&gt;&lt;a href="https://mohsin-abid-portfolio.netlify.app" rel="noopener noreferrer"&gt;https://mohsin-abid-portfolio.netlify.app&lt;/a&gt;&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;I'm available for freelance projects and full-time roles (remote worldwide). Happy to answer questions about Flutter, Supabase, or shipping solo products!&lt;/p&gt;

</description>
      <category>flutter</category>
      <category>webdev</category>
      <category>showdev</category>
      <category>portfolio</category>
    </item>
  </channel>
</rss>
