Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/nathangrigg/dayone_export

Export Day One entries using a Jinja template
https://github.com/nathangrigg/dayone_export

Last synced: 3 months ago
JSON representation

Export Day One entries using a Jinja template

Awesome Lists containing this project

README

        

# 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][0] journal entries into html, text, or another format
using a Jinja template.

by Nathan Grigg

[![Build status][statusimage]][statuslink]

[statusimage]: https://api.travis-ci.org/nathangrigg/dayone_export.png?branch=master
[statuslink]: https://travis-ci.org/nathangrigg/dayone_export

# Installation

Use [pip][4]:

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][1], [pytz][2], [python-dateutil][6], and [Markdown][3].

# 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`.

[0]: http://dayoneapp.com
[1]: http://jinja.pocoo.org
[2]: http://pytz.sourceforge.net
[3]: http://freewisdom.org/projects/python-markdown/
[4]: http://www.pip-installer.org/en/latest/index.html
[6]: http://labix.org/python-dateutil