<?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: Hasith Lakshan</title>
    <description>The latest articles on DEV Community by Hasith Lakshan (@hasi98).</description>
    <link>https://dev.to/hasi98</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%2F1092693%2F2342f5e6-85cc-420c-8de8-2de5c5dd91d8.jpeg</url>
      <title>DEV Community: Hasith Lakshan</title>
      <link>https://dev.to/hasi98</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/hasi98"/>
    <language>en</language>
    <item>
      <title>I built a cloud download manager in 30 days as a student - here's what I learned</title>
      <dc:creator>Hasith Lakshan</dc:creator>
      <pubDate>Sun, 15 Mar 2026 02:51:16 +0000</pubDate>
      <link>https://dev.to/hasi98/i-built-a-cloud-download-manager-in-30-days-as-a-student-heres-what-i-learned-10ec</link>
      <guid>https://dev.to/hasi98/i-built-a-cloud-download-manager-in-30-days-as-a-student-heres-what-i-learned-10ec</guid>
      <description>&lt;p&gt;A few weeks ago I was using Offcloud to download torrents to my Google drive. Then they cancelled all lifetime memberships overnight. No warning, &lt;br&gt;
no refund option.&lt;/p&gt;

&lt;p&gt;So I built my own.&lt;/p&gt;

&lt;h2&gt;
  
  
  What is CloudPipe?
&lt;/h2&gt;

&lt;p&gt;CloudPipe is a cloud download manager that fetches files on remote servers and sends them directly to your Google Drive. Paste any magnet link, torrent, or direct URL - it handles the rest.&lt;/p&gt;

&lt;p&gt;No files touch your device. Your IP stays hidden. Files land straight in YOUR Google Drive.&lt;/p&gt;

&lt;h2&gt;
  
  
  The Tech Stack
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Frontend:&lt;/strong&gt; Next.js 14 (App Router) + Tailwind&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Auth + DB:&lt;/strong&gt; Supabase&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Worker:&lt;/strong&gt; Node.js + aria2c&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;CDN/DDoS:&lt;/strong&gt; Cloudflare&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Storage:&lt;/strong&gt; Google Drive API&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Payments:&lt;/strong&gt; Creem&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Hosting:&lt;/strong&gt; OVH VPS + Oracle Cloud Free Tier&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Deploy:&lt;/strong&gt; Netlify + GitHub Actions&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  The Architecture
&lt;/h2&gt;

&lt;p&gt;The interesting part is the worker system.&lt;/p&gt;

&lt;p&gt;Each worker is a Node.js server running aria2c under the hood. When a job comes in:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;Worker picks up job from Supabase queue&lt;/li&gt;
&lt;li&gt;aria2c downloads the file to local storage&lt;/li&gt;
&lt;li&gt;Worker uploads to Google Drive via API&lt;/li&gt;
&lt;li&gt;Job marked complete, user notified&lt;/li&gt;
&lt;li&gt;Local file deleted after retention period&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;Multiple workers run in parallel - currently OVH (8GB RAM, 400Mbps) and Oracle Cloud free tier.&lt;/p&gt;

&lt;h2&gt;
  
  
  Smart Job Routing
&lt;/h2&gt;

&lt;p&gt;One thing I'm proud of - smart worker routing:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Direct download jobs → OVH (400Mbps, fast!)&lt;/li&gt;
&lt;li&gt;Google Drive upload jobs → Oracle (speed doesn't 
matter, file goes to Drive not user)&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;This maximizes both servers efficiently.&lt;/p&gt;

&lt;h2&gt;
  
  
  What I Learned
&lt;/h2&gt;

&lt;p&gt;&lt;strong&gt;1. Payments are hard outside US/EU&lt;/strong&gt;&lt;br&gt;
Finding a payment processor that works in Sri Lanka took weeks. Stripe doesn't support Sri Lanka. Eventually found Creem - works perfectly.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;2. aria2c is incredibly powerful&lt;/strong&gt;&lt;br&gt;
Downloads magnet links, torrents, HTTP, FTP - anything with a URL. Free and blazing fast.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;3. Oracle Cloud free tier is genuinely useful&lt;/strong&gt;&lt;br&gt;
2 AMD micro instances free forever. Perfect for worker nodes that don't need raw speed.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;4. Ship fast, fix later&lt;/strong&gt;&lt;br&gt;
I launched with basic features and got paying customers on day 1. Perfect is the enemy of done.&lt;/p&gt;

&lt;h2&gt;
  
  
  Results So Far
&lt;/h2&gt;

&lt;p&gt;Launched 2 days ago with zero marketing budget:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;142 unique visitors&lt;/li&gt;
&lt;li&gt;First paying customer within 24 hours&lt;/li&gt;
&lt;li&gt;Users from USA, Netherlands, Singapore, Mexico&lt;/li&gt;
&lt;/ul&gt;

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

&lt;p&gt;cloudpipe.app — free plan available, no credit card needed.&lt;/p&gt;

&lt;p&gt;Would love feedback from the dev community - especially on the architecture and security!&lt;/p&gt;

&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.amazonaws.com%2Fuploads%2Farticles%2Fmr2637upv6px7vtz98t0.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.amazonaws.com%2Fuploads%2Farticles%2Fmr2637upv6px7vtz98t0.png" alt=" " width="800" height="387"&gt;&lt;/a&gt;&lt;/p&gt;

</description>
      <category>webdev</category>
      <category>javascript</category>
      <category>node</category>
      <category>showdev</category>
    </item>
  </channel>
</rss>
