Convert a JSON export from Day One into individual notes for Obsidian.
Project description
Day One to Obsidian Converter
Convert your Day One journal entries into Markdown files compatible with Obsidian.
Features
- Complete Data Migration: Transfers all text, images, and metadata (including creation dates) from Day One entries.
- Markdown Formatting: Converts Day One entries into Markdown format, making them compatible with Obsidian and other Markdown editors.
- Tag Support: Migrates all tags from Day One, allowing for easy categorization and search within Obsidian.
- Image Embedding: Automatically transfers and embeds any images from Day One entries into the Markdown files.
Prerequisites
Before using dayone-to-obsidian
, ensure you have the following:
- Python 3.10 or higher installed on your machine.
- Your Day One journal exported in JSON format.
- Obsidian installed if you wish to immediately start using your migrated files in Obsidian.
Installation
pip install dayone-to-obsidian
Usage
Follow these steps for conversion:
-
Prepare Your Day One Export: Export your Day One journal entries to a JSON file or directory containing multiple JSON files following the manual.
-
Run the Conversion: Open a terminal or command prompt and execute the CLI with the appropriate options. The command structure is as follows:
dayone-to-obsidian run --json /path/to/your/dayone_export.json --target /path/to/target_directory [--force] [--tag-prefix=prefix] [--tag=tag1] [--tag=tag2]
--json
: Path to your Day One export JSON file or directory. If not specified, it defaults to the current directory.--target
: Path to the directory where converted Markdown files will be saved. By default, a new folder is created in the current directory.--force
: Force the overwriting of existing journal folder.--tag-prefix
: Prefix for tags, allowing customization of how tags are formatted in the converted files.--tag
: Additional tag(s) to add to all entries. This option can be repeated to include multiple tags.--help
: Display the help message.
Example command:
dayone-to-obsidian run --json ./DayOneExport/Journal.json --target ./ObsidianNotes --tag-prefix=DayOne/ --tag=Imported --tag=Journal
This command specifies a Day One JSON export file, sets the target directory for the converted Markdown files, adds a prefix to all tags, and includes additional tags for each entry.
-
Import to Obsidian: Once the conversion process is complete, manually move the generated Markdown files to your Obsidian vault directory.
Support
If you encounter any issues or have suggestions for improvements, please open an issue in this GitHub repository.
License
This project is licensed under the MIT License. See the LICENSE file for details.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file dayone_to_obsidian-0.4.9.tar.gz
.
File metadata
- Download URL: dayone_to_obsidian-0.4.9.tar.gz
- Upload date:
- Size: 17.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.0.0 CPython/3.12.3
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 71a3e9d0557747229e95d6ca40d0762f5d04e69e467082dc3fb251d67fc8479b |
|
MD5 | a86d7e06d74505cad7913c2535303759 |
|
BLAKE2b-256 | 82307d0e601acfbd37f9f3b850465cc8f03d66c5966b86a2fc118cc9f92a9fec |
File details
Details for the file dayone_to_obsidian-0.4.9-py3-none-any.whl
.
File metadata
- Download URL: dayone_to_obsidian-0.4.9-py3-none-any.whl
- Upload date:
- Size: 15.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.0.0 CPython/3.12.3
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | bb99bbae915753281023b8147f2c2e281b344eb29eae2c1a02408a7438753ee9 |
|
MD5 | e75f0688a7447d47cae31ae321bcf239 |
|
BLAKE2b-256 | d94b9b0e602638ad049398acf4c7cb347133ec3fe77147a48d8ef1f4354fcfb0 |