Eight Glasses

View on GitHub View on Heroku

Log in

Eight Glasses is an app to help you take control of your habits...

example phone example phone

Setting goals and forming habits shouldn't be a chore, so I'm making this app to help me track my life metrics, one click at a time, and review my progress as I go.

Set daily or weekly goals for anything you want. Track incrementals, reps, or floats. Encourage yourself with positive goals, or keep your vices in check with "no more than" types.

Eight Glasses is free and open source. You can't actually create your own account (yet), but you can get the code from the GitHub repository and set it up on your own computer, if you're into that sort of thing.

... and a hobby project to help me learn python for the web.

I started with the tutorial for Flask, an open source micro-framework for Python. The html, css, and modals rely on Foundation, (which uses normalize.css and modernizr.js), and colors from clrs.cc . There's still a lot left to do:

  • Summary tables showing how you've been doing during past days/weeks (or else you can only see your progress for today or this week).
  • Visualize multiple progress metrics, like the area graph in this d3 example.
  • Figure out how to put it on the public web (probably through Heroku). (here)
  • Switch off SQLite to PostgreSQL and SQLAlchemy to abstract database operations.
  • Add support and authentication for multiple user accounts.
  • Add fun / configurable messages of encouragement for when you do good things.
  • Perhaps enable sharing on social media when you surpass a positive goal.
  • I might make each section into a subtle progress bar. That could be neat.

But I've never done any of those things before, so who knows if I'll be successful or how long that will take. In the meantime, I'd love your feedback and ideas, either on the project's Issues page, or via email to michael dot snook at gmail dot com.