Giter VIP home page Giter VIP logo

nightscout-osx-menubar's Introduction

nightscout-osx-menubar

View CGM data from Nightscout in the OS X menu bar.

nightscout-osx-menubar screenshot

Requirements

  • OS X (tested with 10.8 and 10.10, may work with earlier versions)
  • A working installation of Nightscout (cgm-remote-monitor)

Installation

  1. Download this zip file containing the app and unzip it.
  2. Drag "Nightscout Menubar" into your "Applications" folder.
  3. Run it.
  4. (Optional) To run automatically on startup, go to System Preferences > Users & Groups > Login Items, and add Nightscout Menubar to the list.

Development

This uses rumps, which provides a nice interface to PyObjC to create simple menu bar apps, and py2app, a Python setuptools command which allows you to package Python scripts as standalone OS X applications.

To run the app in development:

git clone https://github.com/mddub/nightscout-osx-menubar
cd nightscout-osx-menubar
pip install -r requirements.txt --user  # This may take a while
python nightscout_osx_menubar.py

(We install requirements with --user because rumps is not compatible with virtualenv. You could alternatively sudo pip install.)

To package the app:

python setup.py py2app

Troubleshooting

  • If an error occurs while running the standalone app, some additional information was probably logged to the Console app (in Applications > Utilities).

  • If you're running the app in development, you can get extra debug information from rumps by passing the --debug flag: python nightscout_osx_menubar.py --debug

Notes

File an issue if you'd like to give feedback, request an enhancement, or report a bug. Pull requests are welcome.

Disclaimer

This project is intended for educational and informational purposes only. It is not FDA approved and should not be used to make medical decisions. It is neither affiliated with nor endorsed by Dexcom.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.