Skip to main content

A command line tool to make a Markdown vault from an Evernote export

Project description

evernote2md

Introduction

This is a simple command line tool that can be used to extract journal entries from Evernote and turn them into a collection of Markdown files. In this tool's case the Markdown collection is built so it can easily be used as an Obsidian Vault.

Note that I wrote this tool with a very specific job in mind, for myself, so there are a couple of hard-coded things going on inside it (especially when it comes to some tidying up of tags). I may turn such things into configuration options in the future, but keep this in mind and be prepared to modify the code to taste if you have a use for this.

Installing

pipx

The package can be installed using pipx:

$ pipx install evernote2md

Homebrew

The package is available via Homebrew. Use the following commands to install:

$ brew tap davep/homebrew
$ brew install evernote2md

Usage

Getting ready to use

The first thing you will need to do is create an export of your Evernote notebook. I honestly can't remember the method, but it's whatever results in you having a zip file full of HTML files and directories containing attachments.

Assumptions for the "Vault"

As mentioned earlier, this tool assumes that you're going to be making an Obsidian Vault with the resulting Markdown. With this in mind the tool makes the following assumptions:

  • You wish to have a YYYY/MM/DD folder hierarchy for the entries.
  • You prefer to have all attachments held in a attachments folder below the location of the entry the attachments are for.

These are my preferences, if yours differ it should be simple enough to modify the code to taste (or, if what you prefer seems like it could be a reasonable configuration option, create an issue in the repo and tell me all about it).

Create the target "Vault"

Create a directory where the "Vault" will be created. Note that evernote2md creates all directories and files within this directory.

Perform the conversion

With all the above done and in mind, run the tool like this:

evernote2md evernote-data markdown-vault

where evernote-data is the path to the directory that holds all of the extracted Evernote files, and where markdown-vault is the directory you created that will be the Vault.

Getting help

If you need help please feel free to raise an issue.

Project details


Download files

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

Source Distribution

evernote2md-1.0.0.tar.gz (31.2 kB view details)

Uploaded Source

Built Distribution

evernote2md-1.0.0-py3-none-any.whl (30.5 kB view details)

Uploaded Python 3

File details

Details for the file evernote2md-1.0.0.tar.gz.

File metadata

  • Download URL: evernote2md-1.0.0.tar.gz
  • Upload date:
  • Size: 31.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.12.4

File hashes

Hashes for evernote2md-1.0.0.tar.gz
Algorithm Hash digest
SHA256 218d7745b46d010bffb29fb6de1b9ccf0c8b8931adb0a092fb20afaa05312e7d
MD5 4d86c06e8bb86c5a9870174709cf5213
BLAKE2b-256 df09e6dc733b792f4d8b062dff2e9900fd279b4f8815cbbd8f3108ca022e0261

See more details on using hashes here.

File details

Details for the file evernote2md-1.0.0-py3-none-any.whl.

File metadata

  • Download URL: evernote2md-1.0.0-py3-none-any.whl
  • Upload date:
  • Size: 30.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.12.4

File hashes

Hashes for evernote2md-1.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 f73e07dfa9c6d5c4b74ebb69718b8247100631bb1730461ee12373b8af7ded49
MD5 5812773f15c0da307bd9de0aac9ec9e3
BLAKE2b-256 589320f7ac053d9ad4c26e33b25295fc2611759036b8b40e4e57fd427e1340df

See more details on using hashes here.

Supported by

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