<?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: pg dior</title>
    <description>The latest articles on DEV Community by pg dior (@pg_dior_5d0644325e92c3a0d).</description>
    <link>https://dev.to/pg_dior_5d0644325e92c3a0d</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%2F4174618%2F3c823dba-2fb9-4e3e-a701-0c8b80d00775.jpg</url>
      <title>DEV Community: pg dior</title>
      <link>https://dev.to/pg_dior_5d0644325e92c3a0d</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/pg_dior_5d0644325e92c3a0d"/>
    <language>en</language>
    <item>
      <title>Flow State &amp; Burnout Guard: Real-Time Biofeedback &amp; Guided Recovery with Presage SmartSpectra</title>
      <dc:creator>pg dior</dc:creator>
      <pubDate>Sun, 22 Nov 2026 18:57:43 +0000</pubDate>
      <link>https://dev.to/pg_dior_5d0644325e92c3a0d/flow-state-burnout-guard-real-time-biofeedback-guided-recovery-with-presage-smartspectra-h01</link>
      <guid>https://dev.to/pg_dior_5d0644325e92c3a0d/flow-state-burnout-guard-real-time-biofeedback-guided-recovery-with-presage-smartspectra-h01</guid>
      <description>&lt;p&gt;&lt;em&gt;This is a submission for the &lt;a href="https://dev.to/challenges/presage-2026-11-04"&gt;Presage SmartSpectra SDK Challenge&lt;/a&gt;.&lt;/em&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  Overview
&lt;/h2&gt;

&lt;p&gt;Flow State &amp;amp; Burnout Guard is a desktop biofeedback application built with Electron and Node.js on Ubuntu that uses the &lt;strong&gt;Presage SmartSpectra SDK&lt;/strong&gt; to track contactless physiological signals from a standard camera—monitoring pulse (&lt;code&gt;/min&lt;/code&gt;), heart rate variability (&lt;code&gt;ms&lt;/code&gt;), stress index (&lt;code&gt;%&lt;/code&gt;), and a dynamic burnout risk score (&lt;code&gt;/100&lt;/code&gt;)—and guides users through a &lt;strong&gt;4·7·8 breathing pacer&lt;/strong&gt; when stress rises.&lt;/p&gt;

&lt;h2&gt;
  
  
  Demo Video
&lt;/h2&gt;

&lt;p&gt;&lt;a href="https://drive.google.com/file/d/1qo0PwV6gfwO04KHsCtrN0TZyj4kLeVdn/view?usp=sharing" rel="noopener noreferrer"&gt;https://drive.google.com/file/d/1qo0PwV6gfwO04KHsCtrN0TZyj4kLeVdn/view?usp=sharing&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Walkthrough highlights:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Full workspace &amp;amp; live camera telemetry dashboard (&lt;code&gt;BPM&lt;/code&gt;, &lt;code&gt;HRV&lt;/code&gt;, &lt;code&gt;Stress Index&lt;/code&gt;, and &lt;code&gt;Burnout Risk /100&lt;/code&gt;)&lt;/li&gt;
&lt;li&gt;Local/no-export privacy indicator and state controls (&lt;code&gt;Ctrl&lt;/code&gt; + &lt;code&gt;Shift&lt;/code&gt; + &lt;code&gt;D&lt;/code&gt;)&lt;/li&gt;
&lt;li&gt;Simulating flow state, HRV drops, and high-stress triggers&lt;/li&gt;
&lt;li&gt;Launching the 4·7·8 breathing pacer, completing a session, and viewing post-session recovery verification&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  Repository &amp;amp; Setup Instructions
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;GitHub Repository:&lt;/strong&gt; &lt;a href="https://github.com/paragondior/smartspectra-app" rel="noopener noreferrer"&gt;https://github.com/paragondior/smartspectra-app&lt;/a&gt;
&lt;/li&gt;
&lt;/ul&gt;

&lt;h3&gt;
  
  
  Prerequisites
&lt;/h3&gt;

&lt;ul&gt;
&lt;li&gt;Ubuntu / Linux desktop environment with a connected camera&lt;/li&gt;
&lt;li&gt;Node.js (v20+ / Electron environment as configured in the repo)&lt;/li&gt;
&lt;li&gt;A Presage SmartSpectra API key&lt;/li&gt;
&lt;/ul&gt;

&lt;h3&gt;
  
  
  How to Run
&lt;/h3&gt;

&lt;ol&gt;
&lt;li&gt;Clone the repository:
&lt;/li&gt;
&lt;/ol&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;   git clone https://github.com/paragondior/smartspectra-app
   &lt;span class="nb"&gt;cd&lt;/span&gt; smartspectra-app
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;

&lt;p&gt;&lt;br&gt;
shell&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;Install dependencies
&lt;/li&gt;
&lt;/ol&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;npm install
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;ol&gt;
&lt;li&gt;Configure your environment variables (do not commit real API keys):
&lt;/li&gt;
&lt;/ol&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;cp .env.example .env
&lt;span class="c"&gt;# Add your Presage SmartSpectra API key to .env&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;ol&gt;
&lt;li&gt;Start the application:
&lt;/li&gt;
&lt;/ol&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;npm start
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;h2&gt;
  
  
  Camera Consent &amp;amp; Data Handling
&lt;/h2&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;- **Consent &amp;amp; Visibility:** Camera access is initiated intentionally by the user with clear workspace and privacy indicators shown during active capture.

- **Data Processing, Storage &amp;amp; Retention:** Biometric telemetry (BPM, HRV, stress index, and burnout risk score) supports real-time feedback and post-session recovery verification, and raw camera frames are not exported or saved as video files.

- **SDK &amp;amp; Third-Party Services:** Uses the Presage SmartSpectra SDK for physiological sensing; no external LLM/AI services are used. (Adjust if any optional APIs or SDK telemetry options are enabled.)
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Disclaimer:&lt;/strong&gt; Built for personal wellness and focus/burnout awareness—not a medical device or diagnostic/treatment tool.&lt;/li&gt;
&lt;/ul&gt;

</description>
      <category>presagechallenge</category>
    </item>
  </channel>
</rss>
