Skip to content
master
Switch branches/tags
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 

dayone-to-obsidian

Convert a Day One JSON export into individual entries for Obsidian. Each entry is created as a separate page. It was created for my own use and is unlikely to be modified now that it has served it's purpose.

Requirements

  • Python 3
  • pytk (pip install pytk

Optional requirements

  • Obsidian Icons Plugin to display calendar marker at start of page heading

Day One version

This script works with version 5.9.1 (1250) of Day One. It has not been tested with any other versions.

Setup

DO NOT do this in your current vault. Create a new vault for the purpose of testing. You are responsible for ensuring against data loss This script deletes folders if run a second time This script renames files

  1. Export your journal from Day One in JSON format
  2. Expand that zip file
  3. Adjust the root variable to point to the location where your zip file was expanded and Journal.json exists. You should also have a photos folder here if there were photos in your journal
  4. If you not are using the Icons Plugin to display calendar marker at start of page heading set icons = False
  5. Run the script
  6. Check results in Obsidian
  7. If happy, move all the journal and photos folders to whatever vault you want them in.

Features

  • Processes all entries, including any blank ones you may have.
  • Entries organised by year/month/day
  • If multiple entries on a day, each additional entry is treated seperately
  • Adds metadata for whatever exists at bottom of file
    • minimum date and timezone
    • Location as text, linked to a page
    • Tags and starred flag as tag
  • Every entry has the date inserted in the text for easier reading (with a calendar icon to help you quickly distinguish from other entries in your vault)
  • If location is specified, it is given under the date, linked to Google Search
  • Tags can be prefixed (default = journal/) to show as subtags in Obsidian separate from other note tags

About

Convert a DayOne JSON export into individual entries for Obsidian

Topics

Resources

License

Stars

Watchers

Forks

Languages