mirror of https://github.com/Ryuno-Ki/timeline.git
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.
![]() |
3 years ago | |
---|---|---|
static | 3 years ago | |
templates | 3 years ago | |
.gitignore | 3 years ago | |
Dockerfile | 3 years ago | |
README.md | 3 years ago | |
__init__.py | 3 years ago | |
docker-compose.yml | 3 years ago | |
less_traffic_jam.png | 3 years ago | |
plot_graph.py | 3 years ago | |
requirements.txt | 3 years ago | |
timeline.py | 3 years ago | |
timeline1.jpg | 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):
