This software is designed to convert a journal file into something that can be imported into Day One. The original file format is just markdown, but Day One needs to have it with the date at the top of the file name with a tab character before that date. The original files are named with the date themselves.
For example, the journal entry for July 1st of 2017 would have a file name of 2017.07.01.md.txt
. Within the file there would be a header that looks like # 2017 July 01
Using these bits of information we can construct a file which can be imported by Day One.
- Install the dependencies:
- Elixir
- mix
- Run
mix deps.get
from the command-line
- Copy the
.env.sample
to.env
and update the JOURNAL_DIRECTORY variable to the directory with your markdown files in it - From a command line type:
make