Giter VIP home page Giter VIP logo

dayone2markdown's Introduction

dayone2markdown

Converting DayOne journals into markdown files

Work in progress.

usage

  1. Export you DayOne journal as JSON and unzip the folder.
  2. Put the script in the unzipped folder.
  3. Run the script ./do2md.py Journal.json

Results :

  1. Each entry is now converted to an MD file. Name of the file is the date-time of the entry.
  2. A title is added as the date-time
  3. Pictures are inserted with a relative path ( photos/)
  4. Tags are inserted in the text as " #tag" (if they were not previously)
  5. Location of an entry is written at the end of the file with both address and coordinates.

Limitations

  1. If there are two entries at the same second, one will be lost.
  2. Metadata other than tags, time and location are lost.

dayone2markdown's People

Contributors

ploum avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

dayone2markdown's Issues

syntax error

Hello, I tried running the script but it always says "syntax error"
Unfortunately I don't know how to write python otherwise I would have tried to solve it.

This script would be great for those trying to import the dayone entries to obsidian :)

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.