This project provides a composer
package with a console command for converting DayOne journals to Obsidian notes.
Run
composer require ergebnis/day-one-to-obsidian-converter
Run
php bin/day-one-to-obsidian-converter <day-one-directory> <obsidian-vault-directory>
The command will
- look for JSON files in
<day-one-directory>
- convert JSON files that match the JSON Schema in
resource/day-one/schema.json
to Markdown files in<obsidian-vault-directory>
Ideally, the <obsidian-vault-directory>
should not exist yet.
Run
git clone [email protected]:ergebnis/day-one-to-obsidian-converter.git
to clone this repository.
Run
composer install
to install dependencies with composer
.
Run
php bin/day-one-to-obsidian-converter demo/day-one demo/obsidian
to see the converter in action.
The maintainers of this project record notable changes to this project in a changelog.
The maintainers of this project suggest following the contribution guide.
The maintainers of this project ask contributors to follow the code of conduct.
The maintainers of this project provide limited support.
You can support the maintenance of this project by sponsoring @localheinz or requesting an invoice for services related to this project.
This project supports PHP versions with active and security support.
The maintainers of this project add support for a PHP version following its initial release and drop support for a PHP version when it has reached the end of security support.
This project has a security policy.
This project uses the MIT license.
This converter is inspired by quantumgardener/dayone-to-obsidian
.
The list of non-printable characters for the RemoveNonPrintableCharacters
text processor is obtained from PhpCsFixer\Fixer\Basic\NonPrintableCharacterFixer
, originally created by Ivan Borzenkov.
The files in demo/day-one/
are taken from Importing data to Day One: Details about the import file types, and can be downloaded here
Follow @localheinz and @ergebnis on Twitter.