-
Notifications
You must be signed in to change notification settings - Fork 2
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
local Zotero access (no API) #37
Comments
Let's discuss (c) in more details:
This is why this extension uses web API first and foremost; if someone wants to develop a new citation provider by querying the local instance of Zotero (despite the limitation described in the 3rd point i.e. it will be useless for users who connect to remote jupyter servers) they are welcome to open a draft pull request; it would need to be composed of a server extension that would interact with the local Zotero client and from a frontend jupyterlab-citation-manager/src/types.ts Lines 224 to 246 in bc366a8
As does the Zotero Web API Client: jupyterlab-citation-manager/src/zotero.ts Lines 119 to 498 in bc366a8
But please note that it should not use the native Zotero picker, but instead only sync collection data in JSON CSL format. |
It is great that the cite2c is now ported to jupyterlab. I note that the users reference database is accessed online using the API key, as already was done in the cite2c. However, this online access is not always possible, e.g. when traveling by train of plane ...
Many of the citation manager users are already using Zotero on their PC, and when Zotero with BetterBibTex is running, citations can also be entered from the local Zotero database, as is done in:
https://github.com/retorquere/zotero-citations
https://github.com/mblode/vscode-zotero
Moreover, when Zotero is running and the user is browsing in Zotero on a specific folder or paper (typically when this is being explored), this topic can already be selected also in the extension.
In this view I believe it can be useful to enable also the access to the local database without API key.
PS: it is also great that you suggest in the read-me how to set the path to the csl-styles folder. Zotero users have usually already quite a collection of csl files in their $Zotero-home-dir/styles folder. They can just add this folder to their "jupyter --paths".
The text was updated successfully, but these errors were encountered: