• This repository has been archived on 25/Nov/2023
  • Stars
    star
    127
  • Rank 282,790 (Top 6 %)
  • Language
    Python
  • License
    Other
  • Created over 12 years ago
  • Updated over 1 year ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

Export Day One entries using a Jinja template

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.