Coder Social home page Coder Social logo

standardnotes_day_one_importer's Introduction

Day One => Standard Notes Importer

Day One JSON Export Importer for Standard Notes

This is a very simple PHP script that just transforms the JSON Export from Day One (https://help.dayoneapp.com/en/articles/440668-exporting-entries) to the plaintext import format from Standard Notes (https://dashboard.standardnotes.org/tools)

Tags are not yet supported. However, if you want to set tags you can do so manually.

Workflow

  • Place .php file in the same directory as the .json files from the Day One Archive
  • create empty dir "imports" in same directory
  • Run php file like so: $ php import.php => The ./imports directory will get populated with new .json files. These files contain the Journal name as the filename and a number at the end which shows how many posts are in the file.

This effectively helps you to validate if all entries are correctly imported. Make sure to compare before and after amounts of your notes and then calculate if the difference is the expected amount. Sometimes UUIDs collide and imports are skipped. Since the are randomly generated you can just delete all recently imported notes from the last batch and restart the run. Collisions are rare however.

Tag Workaround

If you want to set the Tags, which mostly will be the journal name from Day One, you can do so in a reasonable way:

  • Clear all notes from "Untagged" by giving them at least one tag
  • Import the produced files from "Workflow" one by one
  • Then install Quick Tags from https://standardnotes.org/extensions and set tags ca. 1 sec per Note.

If you want to import less than 500 entries this about a 10 minute job. Acceptable for the moment I hope. Tag support however maybe in the future

standardnotes_day_one_importer's People

Contributors

arnetr avatar

Stargazers

 avatar  avatar  avatar

Watchers

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