Skip to content
This repository has been archived by the owner on Nov 24, 2023. It is now read-only.

nathangrigg/dayone_export

Repository files navigation

Notice

This tool is not compatible with the current Day One journal formats.

It is not really useful at this point, but I'm leaving it here in case someone wants to use it as a jump-off point for updating the tool.

Introduction

Export Day One journal entries into html, text, or another format using a Jinja template.

by Nathan Grigg

Build status

Installation

Use pip:

pip install dayone_export

You can also use easy install (easy_install dayone_export) or download the source and install (python setup.py install).

Depending on how your Python installation is configured, you may need extra permissions to install packages. If so, prefix the installation command by sudo and a space.

Any of these methods will also install the dependencies Jinja2, pytz, python-dateutil, and Markdown.

Quick start

Export your entire journal with

dayone_export --output journal.html /path/to/Journal.dayone

To see available options, run

dayone_export --help

Custom templates and advanced options

You can specify a custom template using the command line option --template.

You can permanently override the default template by creating a new template named default.html and saving it in the folder ~/.dayone_export.