Converting DayOne journals into markdown files
Work in progress.
- Export you DayOne journal as JSON and unzip the folder.
- Put the script in the unzipped folder.
- Run the script
./do2md.py Journal.json
- Each entry is now converted to an MD file. Name of the file is the date-time of the entry.
- A title is added as the date-time
- Pictures are inserted with a relative path ( photos/)
- Tags are inserted in the text as " #tag" (if they were not previously)
- Location of an entry is written at the end of the file with both address and coordinates.
- If there are two entries at the same second, one will be lost.
- Metadata other than tags, time and location are lost.