MCPcopy
hub / github.com/akosbalasko/yarle

github.com/akosbalasko/yarle @v6.17.0 sqlite

repository ↗ · DeepWiki ↗ · release v6.17.0 ↗
551 symbols 1,423 edges 201 files 0 documented · 0%
README

logo

Last Commit Version Documentation Maintenance License: MIT GitHub All Releases

Download YARLE, the ULTIMATE CONVERTER OF EVERNOTE notes here:

 
Get YARLE for Mac Get YARLE for Windows Get YARLE for Linux (.rpm) Get YARLE for Debian (.deb)

Features:

Yarle can convert:

  • :memo: Any text
  • :memo: All metadata: original creation time, last modification time, tags, GPS location, notebook name, source URL
  • :link: External links
  • :link: Internal links among Evernote notes
  • :computer: Codeblocks
  • :framed_picture: Inline Images
  • :paperclip: Attachments
  • :page_facing_up: Webclips

Works with:

  • :notebook: single enex file (one notebook exported from Evernote)
  • :books: or a folder of enex files supported (several notebooks exported and placed into the same folder locally)

Highly customizable:

  • :rocket: Creates Markdown files matching to user-defined templates, see Templates introduced. See How to use templates with YARLE for details.
  • :bulb: Metadata support: Puts title, creation time, update time, tags, and latlong source, notebook, link to original html meta-information into md as metadata. (To set them, please set up a custom template)
  • :hammer: Updates md files' creation, access, and modification timestamps according to the notes' original create/update/modification time.
  • :hammer: Organizes all attachments into a _resources subfolder (to keep the notes' folder as simple as possible).

To where can I import the converted notes?

Any other note taking application which recognizes notes in standard markdown, like NotePlan or Craft, but Yarle supports some others that has specific format requirements too. These are:

Obsidian

LogSeq

Tana (check details and limitations here)

Heptabase

Feedback, Appreciation, Donation:

If you have an idea on how to improve the tool or face any problems, feel free to raise an issue, or even contribute! If you like the product, you can give a star here on github, or you can Buy Me A Coffee

Yarle's supporters said:

from Someone

Thanks, this really helped me out of evernote!

from john@thebeard.org

YARLE has just allowed me to transfer several years-worth of Evernote notes to Obsidian painlessly and astonishingly quickly. Your work has made my day. Thank you.

from @opscat

Thanks so much!

Proud to be suggested by:

drawing drawing drawing drawing drawing drawing drawing

Instructions

Download the application matching with your Operating system and double-click on it. (On mac, you need to right-click + Run to Open it, because Apple prevents to directly run an application downloaded from Internet)

https://user-images.githubusercontent.com/11886731/213943491-97211b41-c130-4b6b-a1e9-1fc360741ff7.mov

In order to perform conversion into Logseq format, please choose Logseq as Target format in the configuration panel, then choose the type of your notes (Journal Notes or Pages). For Logseq all the other options have already been pre-configured.

Using Yarle via command line

Just open a terminal, specify config options in a config file (options detailed in Configuration) and type the following:

npx -p yarle-evernote-to-md@latest yarle --configFile <path_to_your_file e.g. ./config.json>

Yarle intro and usage videos on Youtube:

How to migrate notes from Evernote to Obsidian (using Yarle)

YARLE: A lifeline to escape from Evernote

Configuration:

To configure Yarle, you must create a config file. By default it looks like this:

{
    "enexSources": [
       "/absolute-path-of-your-enex-dir/test-template.enex"
       ],
    "templateFile": "/absolute-path-of-your-template-dir/sampleTemplate.tmpl",
    "outputDir": "/path-of-your-desired-output-folder",
    "isZettelkastenNeeded": false,
    "useZettelIdAsFilename": false,
    "plainTextNotesOnly": false,
    "skipWebClips": true,
    "useHashTags": true,
    "outputFormat": "StandardMD",
    "taskOutputFormat": "StandardMD",
    "urlEncodeFileNamesAndLinks": false,
    "skipEnexFileNameFromOutputPath": false,
    "monospaceIsCodeBlock": false,
    "keepMDCharactersOfENNotes": false,
    "keepOriginalAmountOfNewlines": false,
    "addExtensionToInternalLinks": true,
    "trimStartingTabs": false,
    "convertPlainHtmlNewlines": false,
    "encryptionPasswords": [],
    "nestedTags": {
      "separatorInEN": "_",
      "replaceSeparatorWith": "/",
      "replaceSpaceWith": "-"
   },
   "replacementCharacterMap": {
      "<": "_",
      ">": "_",
      ":": "_",
      "\"": "_",
      "/": "_",
      "\\": "_", 
      "|": "_",
      "?": "_",
      "*": "_"
    },
   "globalReplacementSettings": [
        {
         "type": "title" ,
         "regex": "X",
         "replace": "<replaced_X>"
         },
        {
         "type": "content",
         "regex": "a",
         "replace": "<replaced_a>"
        }
      ]
   "resourcesDir": "resources",
   "turndownOptions": {
      "headingStyle": "atx"
   },
   "dateFormat": "YYYY-MM-DD",
   "haveEnexLevelResources": true,
   "haveGlobalResources": false,
   "useUniqueUnknownFileNames": false,
   "useLevenshteinForLinks": false,
   "convertColorsToMDHighlight": false,
    "logseqSettings":{
        "journalNotes": false
    },
   "obsidianSettings": {
      "omitLinkDisplayName": false
    }

}

The following configurational properties are available: | |Property Name| Property value | Meaning | |-------------|----------------|---------| |enexSources| multiple enex files, or a folder of the enex files(if you specify it via command line) | specifies the exported Evernote notebook(s) as an absolute path| |templateFile | path of your custom template file | if its not specified, a default template will be used |outputDir | path to your output dir (absolute or relative) | this is the main output dir where the extracted markdown files and the external resources, images, pdf-s are going to be created| |resourcesDir | _resources | subdir where attachments/external resources will be placed |isZettelkastenNeeded | true or false | puts Zettelkasten Id (based on time of creation) at the beginning of the file name| |useZettelIdAsFilename | true or false | Note files are named by their creation date (those are interpreted as zettelIds)| |plaintextNotesOnly | true or false | skips any notes with attachments (e.g. notes containing pictures)| |useHashTags| true or false | whether to add the pound sign in front of tags| |outputFormat| ObsidianMD or StandardMD | generates internal file links and highlights in Obsidian-style: highlights are going to be bounded by == instead of ` characters, file links are going to be as follows: ![[file-name]] instead of ![file-name](file-name). Possible values: ObsidianMD to get Obsidian-style notes, StandardMD or skip it completely, if you prefer Standard Markdown format.| |haveEnexLevelResources| true or false | stores note resources on global resources folder per enex export if enabled | |monospaceIsCodeBlock| true or false | if it's true then all deepest elements with monospace font style is recognized as Codeblocks| | dateFormat | string | ISO 8601 specification of the expected date format (e.g. YYYY-MM-DD) |keepMDCharactersOfENNotes| true or false | set it true, if you used Markdown format in your EN notes| | nestedTags | it's a complex property contains the following subitems: "separatorInEN", "replaceSeparatorWith" and "replaceSpaceWith" | separatorInEN stores the tag separator used in Evernote, replaceSeparatorWith is the string to what separatorInEN should be replaced to, and replaceSpaceWith is the string to what the space character should be replaced to in the tags. For example using the default settings a tag tag1_sub tag of tag1 is going to be converted to tag1/sub-tag-of-tag1 |keepImageSize | boolean | preserve the images' size or not | imageSizeFormat | ObsidianMD or StandardMD | specifies the format if keepImageSize is set to True | urlEncodeFileNamesAndLinks | true or false | URL-encodes linked file names and internal EN links . e.g "linked file.jpg" will be converted to "linked%20file.jpg" | sanitizeResourceNameSpaces | true or false | Replace spaces in resource names with the replacementChar. e.g "linked file.jpg" will be converted to "linked_file.jpg" | replacementChar | string | the replacement character. e.g "linked*file.jpg" will be converted to "linked_file.jpg". It defaults to "" | replacementCharacterMap | JSON Object | it contains character key-value pairs, the keys will be replaced by the proper values in the filename | globalReplacementSettings | JSON Array | it contains search and replace pairs, the keys will be replaced by the proper values according to the given type (title or content). Please note: this property has to be in valid JSON Array format, and each item has to have type ('title', 'content' or 'tag'), regex (what you want to replace as a valid regular expression) and replace (what you want to push instead of the matched text) properties) | keepOriginalAmountOfNewlines | true or false | keep the original amount of newlines, default is false, when the multiple newlines are collapsed to one. | generateNakedUrls | true or false | if it's true, Yarle generates 'naked' external Urls without any extra characters. If its false, external Urls are wrapped by '<' and '>' characters | addExtensionToInternalLinks | true or false | adds '.md' extensions at the end of internal file links, to make them recognizable by DevonThink and other tools | turndownOptions | {...} | additional configuration options for [turndown](https://github.com/mixmark-io/turndown#o

Extension points exported contracts — how you extend this code

Language (Interface)
(no doc) [4 implementers]
src/outputLanguages/language.ts
YarleTest (Interface)
(no doc)
test/yarle-test.ts
TaskGroups (Interface)
(no doc)
src/yarle.ts
NoteIdNameEntry (Interface)
(no doc)
src/runtime-properties.ts
Path (Interface)
(no doc)
src/paths.ts
CharacterMap (Interface)
(no doc)
src/CharacterMap.ts
YarleOptions (Interface)
(no doc)
src/YarleOptions.ts
EncryptedData (Interface)
(no doc)
src/utils/decrypt.ts

Core symbols most depended-on inside this repo

m
called by 54
src/ui/js/jquery.min copy.js
hasItemInTemplate
called by 21
src/utils/templates/checker-functions.ts
loggerInfo
called by 20
src/utils/loggerInfo.ts
removePlaceholder
called by 20
src/utils/templates/remove-functions/remove-placeholder.ts
applyConditionalTemplate
called by 19
src/utils/templates/apply-functions/apply-conditional-template.ts
getAttributeProxy
called by 16
src/utils/turndown-rules/get-attribute-proxy.ts
ua
called by 16
src/ui/js/jquery.min copy.js
b
called by 13
src/ui/js/jquery.min copy.js

Shape

Function 492
Interface 22
Method 18
Class 12
Enum 7

Languages

TypeScript100%

Modules by API surface

src/ui/js/jquery.min.js75 symbols
src/ui/js/jquery.min copy.js75 symbols
src/ui/assets/js/jquery-2.2.4.min.js73 symbols
src/utils/content-utils.ts22 symbols
src/utils/templates/checker-functions.ts21 symbols
src/runtime-properties.ts18 symbols
src/utils/folder-utils.ts17 symbols
src/utils/filename-utils.ts15 symbols
src/utils/tana/create-tana-output.ts9 symbols
src/utils/tana/convert-to-tana-node.ts8 symbols
src/ui/assets/js/bootstrap.min.js8 symbols
src/ui/renderer.js7 symbols

Dependencies from manifests, versioned

@electron/remote2.0.8 · 1×
@semantic-release/changelog6.0.1 · 1×
@semantic-release/git10.0.1 · 1×
@semantic-release/npm9.0.1 · 1×
@types/fs-extra8.1.0 · 1×
@types/he1.1.1 · 1×
@types/jsdom20.0.1 · 1×
@types/lodash4.14.151 · 1×
@types/marked1.1.0 · 1×
@types/minimist1.2.0 · 1×
@types/mocha7.0.2 · 1×

For agents

$ claude mcp add yarle \
  -- python -m otcore.mcp_server <graph>

⬇ download graph artifact