ryanpcmcquen / inkdrop_plain_text_backups

Home Page:https://my.inkdrop.app/plugins/plain_text_backups

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Inkdrop plain text backups

Plain text backups and import for Inkdrop.

For this plugin to function, you must have the Backup Path set in the Inkdrop desktop app.

Then, backups will be created under:

{{ BACKUP_PATH }}/PLAIN_TEXT/{{ NOTEBOOK_NAME }}/{{ NOTE_TITLE }}.md

A full backup is done on the initial app launch or activation, after that, changes are written using the database onChange event.

Now with renaming support!

Renaming demo

And import support!

Import demo

And note creation support!

Note creation demo

Known limitations:

  • Inkdrop must be running before modification of files in the PLAIN_TEXT directory, because all notes are backed up on app launch.
  • Renaming of files or folders inside of the PLAIN_TEXT directory is not supported at this time, please rename inside of Inkdrop.
  • Note creation inside of the PLAIN_TEXT directory is now supported! But, Notebooks are matched to files using findByName, which could result in the external note being imported into the wrong Notebook if you have multiple Notebooks of the same name. Also, creating folders inside of the PLAIN_TEXT directory will not create Notebooks.
  • Moving and deleting files will delete files inside of the PLAIN_TEXT directory as of 0.7.0. This has been tested but please report any issues related to data loss.

About

https://my.inkdrop.app/plugins/plain_text_backups

License:Mozilla Public License 2.0


Languages

Language:JavaScript 100.0%