<?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: Henrique Peralta</title>
    <description>The latest articles on DEV Community by Henrique Peralta (@sugarhashira).</description>
    <link>https://dev.to/sugarhashira</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%2F2671360%2F8322452a-35af-46dc-a98a-43261af2add7.PNG</url>
      <title>DEV Community: Henrique Peralta</title>
      <link>https://dev.to/sugarhashira</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/sugarhashira"/>
    <language>en</language>
    <item>
      <title>daatlas — Open-Source Diabetes Data Bridge for iOS</title>
      <dc:creator>Henrique Peralta</dc:creator>
      <pubDate>Wed, 03 Jun 2026 09:11:11 +0000</pubDate>
      <link>https://dev.to/sugarhashira/daatlas-open-source-diabetes-data-bridge-for-ios-5adj</link>
      <guid>https://dev.to/sugarhashira/daatlas-open-source-diabetes-data-bridge-for-ios-5adj</guid>
      <description>&lt;p&gt;&lt;strong&gt;Your CGM, pump, and wearable data. In Apple Health. For free.&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;daatlas is a privacy-first iOS app that unifies fragmented diabetes data — glucose readings, insulin deliveries, carbs, and Oura Ring vitals — into Apple Health's unified timeline. No backend, no account, no subscription.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://github.com/SugarHashira/daatlas" rel="noopener noreferrer"&gt;View on GitHub&lt;/a&gt;&lt;/p&gt;




&lt;h2&gt;
  
  
  The problem
&lt;/h2&gt;

&lt;p&gt;If you manage diabetes with a CGM and an insulin pump, your data is already scattered. Add a wearable like an Oura Ring and it gets worse — glucose in Nightscout, sleep in Oura, activity somewhere else. Apple Health could be the single source of truth, but nothing bridges all of it automatically.&lt;/p&gt;




&lt;h2&gt;
  
  
  The first solution
&lt;/h2&gt;

&lt;p&gt;It started with &lt;a href="https://github.com/SugarHashira/daatlas-healthsync" rel="noopener noreferrer"&gt;daatlas-healthsync&lt;/a&gt; — a lightweight app that did one thing: sync Nightscout data (glucose, insulin, carbs) to Apple Health. No frills, no dashboard, just a bridge. That was enough for a while.&lt;/p&gt;




&lt;h2&gt;
  
  
  Then came the wearables
&lt;/h2&gt;

&lt;p&gt;Once the glucose data was in Apple Health, the next question was obvious — what about sleep? HRV? Recovery? The Oura Ring had all of it, but it was locked away in its own silo. So Oura integration came next: sleep stages, HRV, SpO2, heart rate, temperature — all synced to Apple Health without needing a subscription.&lt;/p&gt;




&lt;h2&gt;
  
  
  One app for all of it
&lt;/h2&gt;

&lt;p&gt;With glucose, insulin, and wearable data all in one place, the full picture finally made sense. daatlas grew into a proper app — dashboard, trends, budget tracking, Dexcom support — built on top of the same bridge that started it all.&lt;/p&gt;

&lt;p&gt;daatlas-healthsync still exists as a standalone app for anyone who just wants the simple Nightscout sync without the rest.&lt;/p&gt;




&lt;h2&gt;
  
  
  At a Glance
&lt;/h2&gt;

&lt;div class="table-wrapper-paragraph"&gt;&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;🩸 Multi-source&lt;/th&gt;
&lt;th&gt;🔒 100% On-device&lt;/th&gt;
&lt;th&gt;📊 One timeline&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;Nightscout, Dexcom, Oura Ring, Tandem&lt;/td&gt;
&lt;td&gt;No server. No account. Data stays on your phone.&lt;/td&gt;
&lt;td&gt;Glucose, insulin, sleep, HRV — all in Apple Health&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;




&lt;h2&gt;
  
  
  How it works
&lt;/h2&gt;



&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;Nightscout  ──┐
Dexcom      ──┼──►  daatlas  ──►  Apple Health  ──►  Any app in the ecosystem
Oura Ring   ──┘
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Once synced, your data lives in Apple Health — available to every app in the ecosystem. daatlas is just the bridge.&lt;/p&gt;




&lt;h2&gt;
  
  
  Key Features
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Glucose sync&lt;/strong&gt; — Nightscout SGVs or Dexcom Share readings in mg/dL or mmol/L&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Insulin tracking&lt;/strong&gt; — Bolus and basal deliveries mapped to HealthKit insulin types&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Oura sync&lt;/strong&gt; — Sleep, HRV, readiness, SpO2, heart rate, temperature (no Oura subscription needed)&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Deduplication&lt;/strong&gt; — Never writes the same record twice (Nightscout &lt;code&gt;_id&lt;/code&gt; + timestamp fallback)&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Background sync&lt;/strong&gt; — Configurable intervals from 5 minutes to 2 hours&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Sync logs&lt;/strong&gt; — Full audit trail of every sync operation&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Live Activities&lt;/strong&gt; — Glucose on Dynamic Island and Lock Screen&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Claude export&lt;/strong&gt; — Export a date-range data dump for AI analysis&lt;/li&gt;
&lt;/ul&gt;




&lt;h2&gt;
  
  
  Integrations
&lt;/h2&gt;

&lt;div class="table-wrapper-paragraph"&gt;&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;Source&lt;/th&gt;
&lt;th&gt;Method&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;&lt;strong&gt;Nightscout&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;REST API — glucose, insulin, carbs&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;strong&gt;Dexcom&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;Share API — CGM readings&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;strong&gt;Oura Ring&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;OAuth token or CSV export (no subscription required)&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;strong&gt;Tandem t:slim X2&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;Via Nightscout + tconnectsync&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;




&lt;h2&gt;
  
  
  Why open source
&lt;/h2&gt;

&lt;p&gt;Diabetes tooling should be free. The data belongs to you. daatlas builds on top of the incredible open-source diabetes community — Nightscout, Cracked-Oura, tconnectsync — and gives back under GPL v3.&lt;/p&gt;




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

&lt;p&gt;iOS 16+ · SwiftUI · HealthKit · Swift async/await · Actor concurrency · XcodeGen&lt;/p&gt;

&lt;p&gt;The entire service layer is built with Swift &lt;code&gt;actor&lt;/code&gt; types — compile-time thread safety, no manual locking, no data races. &lt;code&gt;HealthKitService&lt;/code&gt; is the single write path to Apple Health.&lt;/p&gt;




&lt;h2&gt;
  
  
  What's next
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Live Activity improvements&lt;/strong&gt; — real-time glucose on Dynamic Island with trend arrows and time-in-range&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Food logging&lt;/strong&gt; — AI-assisted carb estimation from photos, barcode scanning, meal history&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Apple Watch app&lt;/strong&gt; — quick sync status, glucose glance, complication support&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Shortcuts &amp;amp; automation&lt;/strong&gt; — Siri Shortcuts, glucose-triggered automations&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;VO2 Max sync&lt;/strong&gt; — Oura VO2 Max to HealthKit&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Widget&lt;/strong&gt; — home screen glucose + sleep score + HRV&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;CSV / PDF export&lt;/strong&gt; — data dump for clinic visits&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;iCloud sync&lt;/strong&gt; — settings and sync history across devices&lt;/li&gt;
&lt;/ul&gt;




&lt;h2&gt;
  
  
  Known Limitations
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Oura without membership requires manual export&lt;/strong&gt; — no real-time background sync; re-export needed for new data&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;No offline sync&lt;/strong&gt; — all syncs require network connectivity&lt;/li&gt;
&lt;li&gt;iOS 16+ only&lt;/li&gt;
&lt;/ul&gt;




&lt;h2&gt;
  
  
  Great apps in the diabetes space
&lt;/h2&gt;

&lt;p&gt;&lt;a href="https://gluroo.com" rel="noopener noreferrer"&gt;Gluroo&lt;/a&gt; — a beautifully designed diabetes management app. If you want a polished all-in-one experience, check it out.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://www.stashdiabetes.com" rel="noopener noreferrer"&gt;Stash Diabetes&lt;/a&gt; — great app for managing and tracking diabetes supplies. Highly recommended.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://xdrip4ios.readthedocs.io" rel="noopener noreferrer"&gt;xDrip4iOS&lt;/a&gt; — open-source CGM reader for iOS. Supports a wide range of sensors and is the go-to for DIY CGM setups.&lt;/p&gt;




&lt;h2&gt;
  
  
  Acknowledgements
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;&lt;a href="https://github.com/EIrno/Cracked-Oura" rel="noopener noreferrer"&gt;Cracked-Oura&lt;/a&gt;&lt;/strong&gt; — reverse-engineered Oura API access without a subscription&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;&lt;a href="https://github.com/jwoglom/tconnectsync-heroku" rel="noopener noreferrer"&gt;tconnectsync-heroku&lt;/a&gt;&lt;/strong&gt; — Tandem pump data bridge to Nightscout&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;&lt;a href="https://github.com/nightscout/cgm-remote-monitor" rel="noopener noreferrer"&gt;Nightscout&lt;/a&gt;&lt;/strong&gt; — the open-source diabetes platform that makes all of this possible&lt;/li&gt;
&lt;/ul&gt;




&lt;blockquote&gt;
&lt;p&gt;daatlas is not a medical device. It is a data utility for personal use. Always consult your healthcare provider for diabetes management decisions.&lt;/p&gt;
&lt;/blockquote&gt;

&lt;p&gt;&lt;a href="https://github.com/SugarHashira/daatlas" rel="noopener noreferrer"&gt;View source on GitHub →&lt;/a&gt;&lt;/p&gt;

</description>
      <category>ios</category>
      <category>opensource</category>
      <category>showdev</category>
      <category>diabetes</category>
    </item>
    <item>
      <title>Escudo - Privacy-First Personal Finance for iOS</title>
      <dc:creator>Henrique Peralta</dc:creator>
      <pubDate>Tue, 02 Jun 2026 21:39:53 +0000</pubDate>
      <link>https://dev.to/sugarhashira/escudo-232b</link>
      <guid>https://dev.to/sugarhashira/escudo-232b</guid>
      <description>&lt;p&gt;&lt;strong&gt;Your finances. On your phone. Nowhere else.&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;A privacy-first personal finance app that connects your banks, brokerage, and investment accounts into one unified dashboard — entirely on-device, no backend, no account required, no subscription.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://github.com/SugarHashira/Escudo" rel="noopener noreferrer"&gt;View on GitHub&lt;/a&gt;&lt;/p&gt;




&lt;h2&gt;
  
  
  At a Glance
&lt;/h2&gt;

&lt;div class="table-wrapper-paragraph"&gt;&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;🏦 Multi-source&lt;/th&gt;
&lt;th&gt;🔒 100% On-device&lt;/th&gt;
&lt;th&gt;📊 Full picture&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;Banks, Revolut, Trading 212 and more&lt;/td&gt;
&lt;td&gt;No server. No account. Your data stays in your Keychain.&lt;/td&gt;
&lt;td&gt;Net worth, spending, investments — all in one place&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;




&lt;h2&gt;
  
  
  Screenshots
&lt;/h2&gt;

&lt;div class="table-wrapper-paragraph"&gt;&lt;table&gt;
  &lt;tbody&gt;&lt;tr&gt;
    &lt;td&gt;
&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fraw.githubusercontent.com%2FSugarHashira%2FEscudo%2Fmaster%2Fdocs%2Fscreen-log.png" width="800" alt="Log" height="1731"&gt;&lt;br&gt;&lt;b&gt;Log&lt;/b&gt;
&lt;/td&gt;
    &lt;td&gt;
&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fraw.githubusercontent.com%2FSugarHashira%2FEscudo%2Fmaster%2Fdocs%2Fscreen-insights.jpeg" width="800" alt="Insights" height="400"&gt;&lt;br&gt;&lt;b&gt;Insights&lt;/b&gt;
&lt;/td&gt;
    &lt;td&gt;
&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fraw.githubusercontent.com%2FSugarHashira%2FEscudo%2Fmaster%2Fdocs%2Fscreen-budget.jpeg" width="800" alt="Budget" height="1734"&gt;&lt;br&gt;&lt;b&gt;Budget&lt;/b&gt;
&lt;/td&gt;
  &lt;/tr&gt;
  &lt;tr&gt;
    &lt;td&gt;
&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fraw.githubusercontent.com%2FSugarHashira%2FEscudo%2Fmaster%2Fdocs%2Fscreen-transaction.jpeg" width="800" alt="Transaction" height="1746"&gt;&lt;br&gt;&lt;b&gt;Transaction Entry&lt;/b&gt;
&lt;/td&gt;
    &lt;td&gt;
&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fraw.githubusercontent.com%2FSugarHashira%2FEscudo%2Fmaster%2Fdocs%2Fscreen-settings.png" width="800" alt="Settings" height="1733"&gt;&lt;br&gt;&lt;b&gt;Settings&lt;/b&gt;
&lt;/td&gt;
    &lt;td&gt;&lt;/td&gt;
  &lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;&lt;/div&gt;




&lt;h2&gt;
  
  
  About Escudo
&lt;/h2&gt;

&lt;p&gt;Built out of two frustrations: every decent finance app costs a monthly subscription, and none of them support Trading 212.&lt;/p&gt;

&lt;p&gt;Escudo connects your banks, brokerage, and investment accounts and gives you a single view of your net worth, spending, and investments — without your data ever leaving your phone.&lt;/p&gt;

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

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Net worth dashboard&lt;/strong&gt; — aggregated balance across all accounts and investment portfolio P&amp;amp;L&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Unified transaction log&lt;/strong&gt; — every account in one feed, auto-categorised&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Spending insights&lt;/strong&gt; — breakdown by category and trends over time&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Budget tracking&lt;/strong&gt; — per-category budgets with visual progress dials&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Multi-currency&lt;/strong&gt; — EUR, GBP, USD with stored exchange rates&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Recurring transactions&lt;/strong&gt; — template-based recurring transaction engine&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Shortcuts support&lt;/strong&gt; — deep linking via &lt;code&gt;escudo://&lt;/code&gt; URL scheme&lt;/li&gt;
&lt;/ul&gt;




&lt;h2&gt;
  
  
  Integrations
&lt;/h2&gt;

&lt;div class="table-wrapper-paragraph"&gt;&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;Source&lt;/th&gt;
&lt;th&gt;Method&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;&lt;strong&gt;Trading 212&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;REST API — portfolio, orders, dividends&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;strong&gt;Revolut&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;Enable Banking OAuth 2.0&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;strong&gt;Bankinter PT&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;Enable Banking OAuth 2.0&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;strong&gt;SIBS&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;SIBS Open Banking (PT market)&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;strong&gt;CSV import&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;Revolut &amp;amp; Bankinter statements&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;

&lt;p&gt;All credentials live in the iOS Keychain — never in UserDefaults, never in iCloud, never on a server.&lt;/p&gt;




&lt;h2&gt;
  
  
  Known Limitations
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Enable Banking does not expose credit card accounts&lt;/strong&gt; — only bank accounts and transactions are available through the PSD2 API; credit card balances and transactions are not accessible&lt;/li&gt;
&lt;li&gt;No token auto-refresh for Enable Banking — manual re-auth when tokens expire&lt;/li&gt;
&lt;li&gt;Categorisation rules are hardcoded (no custom rule UI yet)&lt;/li&gt;
&lt;/ul&gt;




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

&lt;p&gt;iOS 17+ · SwiftUI · Core Data · Swift async/await · XcodeGen&lt;/p&gt;




&lt;h2&gt;
  
  
  Acknowledgements
&lt;/h2&gt;

&lt;p&gt;&lt;a href="https://github.com/rafsoh/dimeApp" rel="noopener noreferrer"&gt;Dime&lt;/a&gt; — a beautifully designed open-source iOS finance tracker that was a direct inspiration for Escudo.&lt;/p&gt;




&lt;p&gt;&lt;a href="https://github.com/SugarHashira/Escudo" rel="noopener noreferrer"&gt;View source on GitHub →&lt;/a&gt;&lt;/p&gt;

</description>
      <category>ios</category>
      <category>showdev</category>
      <category>opensource</category>
      <category>productivity</category>
    </item>
  </channel>
</rss>
