#notes #read #data #interface #folder #encryption #joplin

joplin-reader

Library which reads a Joplin data folder and provides an interface to the items

7 releases

0.2.1 May 9, 2021
0.2.0 May 8, 2021
0.1.0 May 8, 2021
0.0.4 Apr 25, 2021

#1695 in Cryptography

MIT/Apache

46KB
1K SLoC

joplin-reader

Library which provides an interface to read Joplin notes.

Features

  • Read notes from folder
  • Decrypt encrypted notes
  • Allow for search of notes

Usage

use joplin_reader::notebook::JoplinNotebook;

let joplin_folder = "./Joplin";
let passwords = "3336eb7a2472d9ae4a690a978fa8a46f,plaintext_password";
let notebooks = JoplinNotebook::new(joplin_folder, passwords)?;

println!("{:?}", notebooks.read_note("9a20a9e4d336de70cb6d22a58a3e673c"));

lib.rs:

joplin-reader

Read-only library for joplin data folders.

Usage

Decrypt a file loaded into a string:

use joplin_reader::notebook::JoplinNotebook;

let joplin_folder = "./Joplin";
// I usually take a ';'-separated list of id,password pairs.
let passwords = "3336eb7a2472d9ae4a690a978fa8a46f,plaintext_password".split(";");
let notebooks = JoplinNotebook::new(joplin_folder, passwords)?;
println!("{:?}", notebooks.read_note("9a20a9e4d336de70cb6d22a58a3e673c"));

Dependencies

~5–7.5MB
~132K SLoC