dayone2-textbundle
v1.0.4
Published
DayOne2 TestBundle Utilities
Downloads
10
Readme
DayOne2 TextBundle Conversion Utilities
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.
Features
- Reads DayOne2 journal in JSON format
- Converts into TextBundle
.textpack
ZIP files
Supported Environments
Node.js 10+ and macOS (ok, because DayOne2 is macOS only ;-)).
Note: Linux or Windows might work, but things like creation dates might be broken.
Installation
This project uses and was tested with Node.js v10.
npm install dayone2-textbundle
How To
1. Export a DayOne2 journal in JSON format
2. Convert JSON to TextBundle
Run the CLI to transform the DayOne2 JSON into a bunch of TextBundle ZIP files (actually called .textpack
) like so:
dayone2-textbundle <dayone2-export-json-file> <target-dir>
3. Import
Open the TextBundle files (single or all-at-once) directly in any app listed here
Contribute
Make it pass npm test
and npm lint
, then send your pull-request ;-)
LICENSE
See LICENSE.