A web app for counting things over time. It makes no calls to outside websites
and all data lives in localStorage
.
Designed for use from the home screen on an iPhone but also works in desktop browsers.
I wanted a general purpose tracker for quantitative data over time to create small-friction feedback loops. Everything else was either overpriced, too complex, or had no visualization mechanism.
The source is HTML, CoffeeScript, and SASS.
There are no images used (besides the app icon).
All fonts are from Google Web Fonts.
- d3.js
- Zepto.js
- Backbone.js
- Underscore.js
- Backbone.localStorage(slightly modified)
- Moment.js
- Mustache.js
- Grunt.js
All development takes place on the master
branch. I use
LiveReload and highly recommend it. It should pick up
the script tag in index.haml
and live compile the source as you change it.
To fire up a server, on OS X you can execute the common python -m SimpleHTTPServer
in the terminal located at this directory. Find your IP
address with ifconfig
and then just go to localhost:8000
or whatever the
IP:port is on your iOS device (or browser).
-
What about sync?
Nope -
How about export/import?
I want to do something like anonymous posting to private gists -
How do I custom set the loops data?
Type outJSON.parse(localStorage.getItem('loops'))
in the console to see how the data should be structured. Set it withlocalStorage.setItem
-
Why is the box glowing?
Because I thought it was cool and took no code