Timeline app for nostalgia
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
Pascal van Kooten 459402f4cc
Merge pull request #9 from nostalgia-dev/change-port
3 years ago
static initial commit 3 years ago
templates variable size dependent on screen 3 years ago
.gitignore initial commit 3 years ago
Dockerfile added nostalgia_chrome as dep 3 years ago
README.md changed port to 5551 3 years ago
__init__.py initial commit 3 years ago
docker-compose.yml changed port to 5551 3 years ago
less_traffic_jam.png added screenshot 3 years ago
plot_graph.py optional heartrate 3 years ago
requirements.txt dependencies (#5) 3 years ago
timeline.py sigh, made changes to master 3 years ago
timeline1.jpg added screenshot 3 years ago

README.md

nostalgia-timeline

This repo contains the timeline app for nostalgia.

Run the timeline

Using Python:

git clone https://github.com/nostalgia-dev/timeline
pip install -r requirements.txt
python timeline.py

Or using Docker:

docker build -t nostalgia_timeline .
docker-compose up

Then visit http://localhost:5551

Except: it will not really work yet since you should...

Add your own data

Get some sources connected.

Make sure you are loading those sources in ~/nostalgia_data/nostalgia_entry.py.

For example, to enable loading Fitbit and Chrome History after setting up those sources:

# File contents of ~/nostalgia_data/nostalgia_entry.py below
from nostalgia.sources.fitbit.heartrate import FitbitHeartrate
from nostalgia.sources.chrome_history import WebHistory

heartrate = FitbitHeartrate.register()
web_history = WebHistory.register()

Updating the code

git pull

Developing / Contributing

Suggested to install "Using Python", and then visit http://localhost:5551/sample to see it work without data.

Screenshots

Driving, music, heartrate (my heartrate got lower with less traffic):