GithubHelp home page GithubHelp logo

kslstn / dayone-to-obsidian Goto Github PK

View Code? Open in Web Editor NEW

This project forked from quantumgardener/dayone-to-obsidian

0.0 0.0 0.0 40 KB

Convert a DayOne JSON export into individual entries for Obsidian

License: GNU General Public License v3.0

Python 100.00%

dayone-to-obsidian's Introduction

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

dayone-to-obsidian's People

Contributors

quantumgardener avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.