NodeJS library to sync Zotero data with bookends using JXA
Posted: Mon Apr 26, 2021 9:02 am
Hi, in case anyone's interested: I started working a plugin for https://github.com/retorquere/zotero-sync to allow live synchronization (as opposed to export/import) from Zotero to Bookends:
https://github.com/cboulanger/zotero-sync-bookends
I've tried this before a few years back but the recent addition of real dictionary based AppleScripting (Thanks Jon!) and the introduction of Javascript scripting support in MacOS (JXA) has vastly improved development experience and performance. JXA is horribly under-documented and requires a lot of try-and-error, but once I found out how things translated from AppleScript to JXA it was nice to be able to stay in one language only. So if anyone is interested in how to do Bookends Scripting using Javascript, here are some examples:
https://github.com/cboulanger/zotero-sy ... c/index.ts
The library isn't finished yet, but works as a proof-of-concept. Contributors are welcome.
https://github.com/cboulanger/zotero-sync-bookends
I've tried this before a few years back but the recent addition of real dictionary based AppleScripting (Thanks Jon!) and the introduction of Javascript scripting support in MacOS (JXA) has vastly improved development experience and performance. JXA is horribly under-documented and requires a lot of try-and-error, but once I found out how things translated from AppleScript to JXA it was nice to be able to stay in one language only. So if anyone is interested in how to do Bookends Scripting using Javascript, here are some examples:
https://github.com/cboulanger/zotero-sy ... c/index.ts
The library isn't finished yet, but works as a proof-of-concept. Contributors are welcome.