/ios-gmail-notes

node.js library that fetches iOS Notes synced through gmail

Primary LanguageJavaScriptMIT LicenseMIT

iOS Notes over GMail

This library offers read access to iOS Notes (the official Apple Notes application) if the notes were configured to be synced with Google through IMAP (see here how to do this).

It is recommended to use an application-specific password when connecting to the GMail IMAP server.

Installation

npm install ios-gmail-notes

Usage

var notes = require("ios-gmail-notes").bind({
   user: 'your-account@gmail.com',
   password: 'your-app-specific-password'
});

notes.list({
   success: function(list) {
   	console.log(list);
   },

   error: function(error) {
   	console.log("ERROR: " + error);
   }
});

Why is this useful?

If you're on a Windows / Linux machine, with no way to easily access your iOS Notes, it's very simple to use this library to fetch all the notes and dump them into separate txt files.

When this library will also support write access, it can be used as a Dropbox-like sync tool for your notes.

Dependencies

Author

Andrei Gheorghe

License

  • This code is licensed under the MIT License.