<?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: tecnologos rd</title>
    <description>The latest articles on DEV Community by tecnologos rd (@tecnologosrd).</description>
    <link>https://dev.to/tecnologosrd</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%2F4058387%2Ffc63202a-f314-4c9a-8090-c9354cc4f473.webp</url>
      <title>DEV Community: tecnologos rd</title>
      <link>https://dev.to/tecnologosrd</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/tecnologosrd"/>
    <language>en</language>
    <item>
      <title>I Built an App That Works Without Internet — Here's Why Silicon Valley Won't</title>
      <dc:creator>tecnologos rd</dc:creator>
      <pubDate>Sat, 01 Aug 2026 19:42:30 +0000</pubDate>
      <link>https://dev.to/tecnologosrd/i-built-an-app-that-works-without-internet-heres-why-silicon-valley-wont-1h2i</link>
      <guid>https://dev.to/tecnologosrd/i-built-an-app-that-works-without-internet-heres-why-silicon-valley-wont-1h2i</guid>
      <description>&lt;p&gt;Most apps assume you're always online. But 3.4 billion people have unreliable or no internet access.&lt;/p&gt;

&lt;p&gt;I'm a full stack developer based in the Dominican Republic. One of my clients is a cacao aggregator — their vendors drive into the mountains every morning to buy raw cacao from small farmers. No cell signal. No Wi-Fi. No cloud. But they still need to record every purchase, print a receipt, and have everything synced by the time they're back in town.&lt;/p&gt;

&lt;p&gt;So I built an offline-first PWA that handles all of it.&lt;/p&gt;

&lt;p&gt;The stack&lt;br&gt;
Angular 19 as the frontend framework&lt;br&gt;
Dexie.js wrapping IndexedDB for local storage&lt;br&gt;
Supabase (PostgreSQL) for backend sync&lt;br&gt;
Service Workers for asset caching&lt;br&gt;
Web Bluetooth API for thermal receipt printing&lt;br&gt;
How it works&lt;/p&gt;

&lt;p&gt;The app is designed to work without internet from the ground up. The local device is the source of truth — not the server.&lt;/p&gt;

&lt;p&gt;Every purchase gets recorded locally with a timestamp and a UUID. A sync queue stores every transaction that hasn't been pushed to the server. When the device detects connectivity, a background process pushes the queue to Supabase in order. If a sync fails, it retries automatically. The user never waits.&lt;/p&gt;

&lt;p&gt;A vendor in the mountains can record 30+ purchases in a day without a single byte of internet. Drive back to town, connect to Wi-Fi, and 30 seconds later the office has every record.&lt;/p&gt;

&lt;p&gt;The wild part: Bluetooth printing from a browser&lt;/p&gt;

&lt;p&gt;The app prints physical receipts through a Bluetooth thermal printer — from a web browser. No native app. No Play Store.&lt;/p&gt;

&lt;p&gt;The PWA generates ESC/POS byte arrays (the command language thermal printers use), connects via the Web Bluetooth API, and writes the data in 20-byte chunks with delays between each write. It's slow — a long receipt takes 5-8 seconds — but it's reliable.&lt;/p&gt;

&lt;p&gt;Why this matters&lt;/p&gt;

&lt;p&gt;Almost every modern app is built with one assumption: you're always connected. That assumption breaks for half the planet.&lt;/p&gt;

&lt;p&gt;The gap between need and supply is a market. Agricultural aggregators, field inspections, rural clinics, small businesses in areas where internet drops during peak hours — every one of these is a software product waiting to be built.&lt;/p&gt;

&lt;p&gt;And the developers best positioned to build them are the ones who see these problems every day — developers in Latin America, Africa, and Southeast Asia.&lt;/p&gt;

&lt;p&gt;Video breakdown&lt;/p&gt;

&lt;p&gt;I made a full video breaking down the architecture, the sync queue, the Bluetooth printing layer, and why I think offline-first is a massive opportunity that Silicon Valley is ignoring:&lt;/p&gt;

&lt;p&gt;  &lt;iframe src="https://www.youtube.com/embed/DT76aohMDPY"&gt;
  &lt;/iframe&gt;
&lt;/p&gt;

&lt;p&gt;If you're building offline-first apps or thinking about it, I'd love to hear about your approach in the comments.&lt;/p&gt;

</description>
      <category>webdev</category>
      <category>offline</category>
      <category>pwa</category>
      <category>angular</category>
    </item>
  </channel>
</rss>
