This is a submission for the Presage SmartSpectra SDK Challenge
What I Built
**Vitalis **turns a one-minute camera scan into small daily habits you actually remember to do.
You scan with your webcam. Presage SmartSpectra measures your pulse and breathing rate, and Presage's LLM insight explains the readings in plain language and suggests a few simple everyday habits, such as drinking water, taking movement breaks, or keeping a regular bedtime. Each suggested habit has a Remind me button. You choose either a time each day, or a repeating interval between two times (for example, every two hours between 8:00 AM and 8:00 PM). Reminders appear in the app, can show as browser notifications, and can be exported as a calendar file so your phone or computer rings even when Vitalis is closed.
Most wellness apps stop at a number or a tip. Vitalis closes the gap between "here is something worth trying" and "I actually did it" for people who are busy and tend to forget.
Vitalis gives general wellness information only. It does not diagnose, treat, or recommend medicines.
Demo
Code
Toluwaloju0
/
pressage_sdk_project
Using the Pressage SDK to create an application which records users vital sensors such as users pulse, heart rate and vital sensors.
Vitalis
Scan with your camera. Understand your vitals in plain language, then turn the advice into reminders.
Vitalis is a web app that reads a person's pulse and breathing from a camera using the Presage SmartSpectra SDK. Presage's language model explains the readings in everyday words, and each simple habit it suggests can be linked to a reminder. It gives general wellness information. It is not a medical device and it does not diagnose or recommend treatment.
"Vitalis" is a working name. Built for the Presage SmartSpectra SDK Challenge on DEV.
See docs/IMPLEMENTATION_PLAN.md for the plan and decisions, and docs/CONSENT_AND_DATA_HANDLING.md for exactly what data is handled.
How it works
There is no Vitalis backend, no database and no sign-in. Each person uses their own free Presage account, and everything Vitalis remembers is stored in their own browser, on their own device.
Browser (React) Scan service (Node) Presage…How It Responds to Human Signals
Vitalis uses two live Presage signals, pulse and breathing rate, and it responds to them in real time and again at the end of the scan.
During the scan
Each reading shows Still settling until Presage reports it as stable, then Steady.
Presage's validation hints (for example, "move into the light") appear as guidance while you scan.
When pulse and breathing are both steady, the scan stops by itself and the camera turns off. Otherwise it stops at a 60-second limit or when you press Stop.
After the scan
The scan service asks Presage's LLM insight (requestInsight) to explain the readings. Presage's reply arrives as raw protobuf bytes, which the Node SDK does not decode, so I decode it with protobufjs using Presage's published Insight schema.
The explanation is shown with the confidence caveats the model gives, so low-quality readings are labelled as such instead of presented as fact.
The habit list in the explanation is turned into one card per habit. Habits that are usually done through the day (water, movement) default to a repeating reminder. Habits done once a day (sleep) default to a daily time. You can change either.
How the SDK is integrated
- The browser asks for the camera only after you agree, then shrinks each frame to 400 x 300 RGB (about 30 frames per second) and sends it over a WebSocket.
- A small Node service runs @smartspectra/node-sdk in custom-input mode (useCustomInput and sendFrame), because the SDK is a Node package and not a browser library.
- Metrics, validation hints and insights come back as SDK events and are forwarded to the page.
- Each person uses their own Presage API key. The browser sends it once, when a scan starts. It is used for that scan only, kept out of logs and error messages, and never saved by the service.
Prize Categories
Best Thoughtful Real-World Use
**The need: **People who work from home or sit for long stretches rarely get a prompt to drink water, stand up, or wind down on time. Advice is easy to find. Following through is the hard part.
Who it is for: Home-based workers and their families who want gentle, regular nudges toward healthy routines without a wearable or an account.
How it is designed for them:
- No sign-up and no server-side account. Each person has their own browser data and their own free Presage key.
- Reminders that fit real days: one time a day, or a repeating interval inside the hours you choose.
- Alarms that work when the app is closed, through a calendar file you can open in any calendar.
- Honest about quality: low-confidence readings are labelled, and the app never presents estimates as clinical measurements.
- Accessible controls: labelled form fields, keyboard operation, visible focus, status messages for screen readers, and a layout that works at phone width.
Consent and Data Handling
Consent. The camera stays off until you tick an agreement box that lists what will happen and press start. Only then does your browser show its own camera prompt. Consent is per scan, a "Camera is on" badge shows throughout, and the camera turns off when you stop, switch tabs or leave the page.
Sharing. Camera pictures go to the scan service, which passes them to the Presage SDK and Presage's service to measure your vitals. Run as the README describes, the scan service is on your own machine. I never record or save video.
Your own Presage API key is sent once, when a scan starts, and used for that scan only.
AI service: after the scan, Presage sends a summary of your readings and my prompt to its language model to write the explanation. No video, name or profile answers are included. Presage controls that provider and its retention.
SDK telemetry is off (enableTelemetry: false). The SDK still contacts Presage to verify your key and fetch models.
Storage and deletion. Your key, optional profile, reminders and latest explanation are stored only in your own browser. There is no Vitalis database or account. Delete everything on the Account page removes them all, or you can clear your browser data.
Limits. Anyone using your browser profile can use your saved key, so remove it on shared computers. In-app alerts work only while a Vitalis tab is open; the calendar download rings when it is closed. During development the scan service also prints readings to its own terminal.
Not medical advice. Vitalis offers general wellness information from camera estimates. It does not diagnose or recommend treatment, and the AI explanation can be inaccurate.
I built Vitalis with Claude Code as a coding assistant. The idea, the product decisions and the privacy choices are mine, and I reviewed and tested the code.
Top comments (0)