Skip to content

Converting DayOne journals into markdown files

License

Notifications You must be signed in to change notification settings

cands/dayone2markdown

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 

Repository files navigation

dayone2markdown

Converting DayOne journals into markdown files

Work in progress.

usage

  1. Export you DayOne journal as JSON and unzip the folder.
  2. Put the script in the unzipped folder.
  3. Run the script ./do2md.py Journal.json

Results :

  1. Each entry is now converted to an MD file. Name of the file is the date-time of the entry.
  2. A title is added as the date-time
  3. Pictures are inserted with a relative path ( photos/)
  4. Tags are inserted in the text as " #tag" (if they were not previously)
  5. Location of an entry is written at the end of the file with both address and coordinates.

Limitations

  1. If there are two entries at the same second, one will be lost.
  2. Metadata other than tags, time and location are lost.

About

Converting DayOne journals into markdown files

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 100.0%