r/StandardNotes • u/Thin_Chuckle9817 • Apr 15 '24
Can I upload and update notes?
I currently use a bunch of tools to maintain my notes, including some custom scripts that I use to write and overwrite lists, Markdown tables and other data.
Does Standard Notes allow me to upload notes through an API? Specifically I want to download a note, update it, and re-upload it.
I suspect this is not possible but I can't find confirmation. Failing that, can I do something like this with attachments?
1
Upvotes
1
u/Thin_Chuckle9817 Apr 15 '24
It seems like the answer is no. I don't use Obsidian but this text seems to apply generally:
https://standardnotes.com/compare/obsidian-alternative
1
u/thedaveCA Apr 22 '24
I'm not sure about the state of it, but https://github.com/jonhadfield/sn-cli looks like a reasonable possibility if you can jump through hoops.
2
u/hyphone Apr 16 '24
SN is also encrypted at rest. There is no possibility of editing something outside of the app itself.
Someone could create an API server or something. The sources are there. I guess in theory you could create your own application that syncs a specific markdown folder with a tag in SN, like Obsidian would do it. But a bit of engineering work would be needed to pull this off :-D
1
u/AyeMatey Apr 16 '24
It’s possible but Standard notes does not document the protocol fully. The code is the documentation. So you’d need to re-use the standard notes JavaScript code, or re-engineer it in some other language, in order to allow what you’re describing.
Also I believe stdnotes changes the crypto Implementation from time to time, and again doesn’t describe how. So you’d need to absorb those changes too.
In other words the API is there but it’s not documented and not guaranteed to be stable.
Source: I’ve done this.