Neither actually. If you have a version prior to 0.2.0, please refresh and youāll see a better experience. The API key is there as a way to check that the user is a person and not a bot. Itās solely there as a way to prevent abuse (e.g. some bot spamming the server and filling up all the storage).
Encryption is done locally inside your Obsidian, and is already encrypted before anything is sent to the server. Each note is encrypted with its own random salt - your own notes are completely unrelated to each other, and also from any other public note.
Thanks again for your plugin. Iām in the process of creating a site with my notes thanks to your plugin, whereas Iāve been struggling until now with various publish plugins.
But I would have liked to be able to extend the line length of my shared notes. I noticed that it was mentioned in the code as if it were an available parameter, but itās not available in the plugin parameters. Will this be implemented in future versions ?
Is it possible to put external links via html that open in the same tab? Iāve tried using the classic target=ā_selfā syntax, but the links keep opening in a new page:
Iāve updated the plugin version and reforced the note sharing, but the external links still open in a new tab. When I look with the browser inspector, there always seems to be the target=ā_blankā in the external links of the shared note .
On the other hand, thereās no such problem when you put external links in markdown, it only appears when you put external links in html.
Ok, I can see what you mean in the other post - youāre using your own HTML inside your note.
The Share Note plugin is faithfully replicating exactly what Obsidian is outputting (check your preview mode - youāll see there is a target=_blank for those links).
To get around this, add either the external-link or internal-linkclass to the <a> tag, and then your link will be in a format that Obsidian recognises, and the target will be stripped on upload.
If you share a note unencrypted, it will publish the meta description and Open Graph tags.
Iām not sure if that will help with Telegram, but I donāt plan to add anything extra to support Telegram InstantView. If the Open Graph tags arenāt enough and you have to coding ability, please feel free to submit a Pull Request.
Just be aware that this could only ever work for unencrypted notes, as otherwise that preview data will (and should) be encrypted.
Iām sorry to bother you again, but is there a note size limit for sharing? I can still share notes, but there was a note I had shared, I added content with a lot of codeblock, and now I canāt share it anymore. The pop-up at the start of the sharing process appears, but then nothing happens and the link isnāt updated.
I donāt know if it concerns the plugin, but the only error messages in the console are these:
[Violation] ārequestAnimationFrameā handler took 89ms
[Violation] Forced reflow while executing JavaScript took 81ms
plugin:share-note:539 [Violation] āsetTimeoutā handler took 64ms
[Violation] Forced reflow while executing JavaScript took 56ms
Ok, sorry. This wasnāt actually due to the size of the note, but to the fact that I was using a plugin to style my codeblocks, in particular to give them a title. Nevertheless, I opened an issue on github.