How obsidian download and install plugins

Hello all,
currently i can’t download and update any plugins in china, may because of github issue in china. I know there is kind of workaround to put some proxy before the github url to get github works. My question is how obsidian download and install the plugins? using wget, git clone or something else? and how is the endpoint for the plugins, github.com/user-name/pluginname or raw.githubusercontent.com?
with this information i may write js code to make the install or update automatically using the workaround.

Thank you !

In my understanding, Obsidian looks at the release page of the GitHub repository of each plugin and just downloads main.js, styles.css (optional) and manifest.json from there to the .obsidian/plugins/<plugin-id> folder.

You might also want to read this page of BRAT’s docs.

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.