Skip to main content

Convert a JSON export from Day One into individual notes for Obsidian.

Project description

Day One to Obsidian Converter

Build Status codecov PyPI - Version PyPI - Python Version

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.

Quick Start

Install uv package manager and run in the unpacked Day One export directory:

uvx dayone-to-obsidian run

Usage

Follow these steps for conversion:

  1. Prepare Your Day One Export: Export your Day One journal entries to a JSON file or directory containing multiple JSON files following the manual.

  2. Run the Conversion: Open a terminal or command prompt and execute the CLI with the appropriate options. The command structure is as follows:

    uvx 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:

    uvx 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.

  3. 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.

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

dayone_to_obsidian-0.6.1.tar.gz (2.9 MB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

dayone_to_obsidian-0.6.1-py3-none-any.whl (15.9 kB view details)

Uploaded Python 3

File details

Details for the file dayone_to_obsidian-0.6.1.tar.gz.

File metadata

  • Download URL: dayone_to_obsidian-0.6.1.tar.gz
  • Upload date:
  • Size: 2.9 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.13

File hashes

Hashes for dayone_to_obsidian-0.6.1.tar.gz
Algorithm Hash digest
SHA256 f55715f01402e5b1e194e811b12e4433e0bcd0ded47acbcc18d317a7c11acf85
MD5 19b29830b9d46853cf021875456b7305
BLAKE2b-256 6d602ab0a062959e61476308b82fcc13cce8e83fa374dd093b828dfcdf1ba891

See more details on using hashes here.

Provenance

The following attestation bundles were made for dayone_to_obsidian-0.6.1.tar.gz:

Publisher: publish.yml on kulapard/dayone-to-obsidian

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file dayone_to_obsidian-0.6.1-py3-none-any.whl.

File metadata

File hashes

Hashes for dayone_to_obsidian-0.6.1-py3-none-any.whl
Algorithm Hash digest
SHA256 b632a157e2873b89e091b545f8d0685b195c6f2fc66920ef0f64a188a4b5ea3e
MD5 b9d363c26417130053fd20a72853410a
BLAKE2b-256 1b7ce52296bb5a9bec2a195b237554242be39534ef12ac08c16f2fdb23560b77

See more details on using hashes here.

Provenance

The following attestation bundles were made for dayone_to_obsidian-0.6.1-py3-none-any.whl:

Publisher: publish.yml on kulapard/dayone-to-obsidian

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page