rxliuli / joplin-utils

Joplin-based community tool
https://joplin-utils.rxliuli.com/
MIT License
235 stars 36 forks source link

[Feat]: `joplin.token` from environment variable #107

Closed skwde closed 2 weeks ago

skwde commented 2 weeks ago

app

joplin-vscode-plugin

Is your feature request related to a problem? Please describe.

There are actually several problems related with joplin.token via settings.json with sync on.

The latter is only a minor problem because the token is only usable on the local machine (to my understanding).

Describe the solution you'd like

Above problems would be solved by optionally retrieving joplin.token from an environment variable, e.g. JOPLIN_VSCODE_TOKEN.

Describe alternatives you've considered

Resetting the token everytime I switch machines is time consuming and annoying. Use of the Joplin app is unfortunately more convenient in that case.

Additional context

No response

rxliuli commented 2 weeks ago

Known issues, reference: https://joplin-utils.rxliuli.com/en-US/joplin-vscode-plugin/faq.html#how-to-use-the-plugin-with-two-synchronized-vscode-configurations