Skip to content

Latest commit

 

History

History
53 lines (31 loc) · 1.53 KB

README.md

File metadata and controls

53 lines (31 loc) · 1.53 KB

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 https://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 https://localhost:5551/sample to see it work without data.

Screenshots

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