Skip to content

k-donn/journal-times

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Journal Entry Times

A visual representation of entries in a Day One journal.

Usage

usage: python run.py [-run.py [-h] -f FILE [-d]

Display a graph of journal entries from Day One JSON

optional arguments:
  -h, --help            show this help message and exit
  -f FILE, --file FILE  Path to exported Day One JSON file
  -d, --debug           Show the plots instead of writing to file

Running

To run from the root dir,

python run.py --file ./data/<JOURNAL>.json

Generate Dummy Data

  • From the root of the foler,
python ./data/gen_dummy.py
  • Now, just pass in the new ./data/Dummy.json file into run.py

Exporting Journal JSON

See Exporting Entries for instructions.

Export as JSON and place file in ./data directory.

Meta

I got the inspiration from seeing jiuguangw's Agenoria