This project was created to export and import multiple DayOne2 journals to other note-taking applications that support the TextBundle format such as Ulysses and Bear.
As of 2019 a lot of note-taking applications support the TextBundle format for data exchange. TextBundle is just a thin wrapper around Markdown with support for attachments (e.g. embedded images).
Sadly DayOne2 does not support TextBundle out of the box, this project solves this.
- Reads DayOne2 journal in JSON format
- Converts into TextBundle
.textbundle
files (.textpack
ZIP files also supported, but needs changing parameters in code) - Supports photo and PDF attachments
-
Export JSON zip from Day One: See here
-
Extract zip contents
-
Create output directory
-
Run CLI tool
dayone2-textbundle
conversion for each Journal.jsondayone2-textbundle <dayone2-export-json-file> <target-dir>
-
Import
.textbundle
files to your favorite app -
Profit!
Node.js 20+ and macOS (ok, because DayOne2 is macOS only ;-)).
Note: Linux or Windows might work, but things like creation dates might be broken.
This project uses and was tested with Node.js v20.
npm install dayone2-textbundle
If you've cloned repo locally, you can run converter using
npm i
npx dayone2-textbundle <dayone2-export-json-file> <target-dir>
Make it pass npm test
and npm lint
, then send your pull-request ;-)
See LICENSE.