DEV Community

Ahmed Gulfam
Ahmed Gulfam

Posted on Edited on

LifeLine: A Health-Monitoring Software for Astronauts

The Problem:

During long and deep-space missions, medical assistance isn't usually available on-board. Therefore, the crew members are left with no choice but to ask for help from Earth, which for example from Mars, would take up to 40 minutes.

The Idea:

To tackle this overlooked issue, my enthusiastic team, Cosmic BioHackers, developed LifeLine during the two-day NASA Space Apps Challenge 2026.

The Early-Stage Development:

Initially, we thought of creating our program on Python, then deploying it to a front-end framework like Flutter. However, we discovered an even better way: Integrating Streamlit in our Codespace. Perfect! Let the work begin.

The Engineering and Ultimatums:

Throughout the development, we had to choose between different options. For instance, we had to choose whether to make the AI assistant online or offline. After multiple failed attempts of making it offline, we let it online. Similarly, we debated whether the project be wrapped up using stlite or uploading it to the Streamlit Community. In the end, the latter was chosen.

Key Features:

  • User-friendly data entering
  • Keeps track of physical and psychological wellbeing
  • Interactive and easy to understand way of displaying results
  • Records are saved and compared against new entries.
  • Abnormalities and precautionary steps shown
  • Downloadable Health Report
  • Integration of an assistant chatbot

Overview:

  • The program asks for an astronaut code from the user: Login Page

Next, the user is redirected to the dashboard, where they can enter readings for various parameters. Upon entering the values, the latest summary is updated.
Dashboard

  • The program checks the inputted data against the normal ranges for all parameters. If there are any abnormalities, a pop-up appears on the screen.
    Pop-up
    From here, the user is re-directed to the dedicated section for the concerned metric.

  • Every physical health parameter comes with its own section, which can be accessed in the sidebar. A graph of all the readings is displayed, and in case of any abnormality, precautionary steps are also shown.
    Detailed review

  • The program isn't confined to physical well-being, rather a dedicated section for the psychological health is also available.
    Mental wellbeing

All the results, issues and possible solutions are displayed on the Trends Tab.


trends Tab snippets

  • A dedicated section named "Weekly Health Check" keeps track of all the stable and unstable metrics.

    Weekly Check

  • Another section "Astronaut Health Report" is an innovative method which keeps a record of all the data, date and time. To download the report, the astronaut can click on "Downloadable Health Report" which can be sent to the concerned medical team.
    Summary
    Summary and Download

  • A great addition to all these ideas is Polaris AI. It is built using a Groq API and is given the NASA resources as context. Moreover, it is instructed to decline unrelated questions.
    Polaris AI

Try it out:

Disclimer: LifeLine is a prototype for demonstration, not a medical device.

You can try the program by clicking on the link or scanning the QR code attached below. Use the astronaut code 3245.
Click Here! OR scan here:

Note: the program may take around 30 seconds to wake up.

Useful links:

GitHub Repository: GitHub Repository
LinkedIn: LinkedIn Account

Top comments (0)