How can I install plugins in bulk?

First, search the help docs and this forum. Maybe your question has been answered! The debugging steps can help, too. Still stuck? Delete this line and proceed.

What I’m trying to do

I am trying to install multiple plugins on the device, since I have multiple devices that are synced with selfhosted obsidian-livesync.

Things I have tried

Tried nothing yet

Copy the plugin folders (containing the main.js, manifest.js, data.json, style.css files, if applicable) into your .obsidian/plugins folder while Obsidian is not running.
If you want to activate (some of) them as well, write the names of the plugins (the corresponding plugin names in their respective manifest.json files) in the community-plugins.json file.
I often do this when I set up a plugin with API or all kinds of other settings on one machine and want the plugin to work on another.

1 Like

goto Obsidians Setting > Appearance > css snippets and click on the folder icon ( desktop ) to open your snippets folder in your file explorer. Go up a directory.

In there, make a zip of your plug-ins folder. Copy this zip in the same directory on your other devices and unzip it’s content.

This would copy all the plugins used in a vault which is not quite what the OP probably wants. Generally adding the code in a suitable sub directory of the plugins directory will add the plugins but they will probably not be active unless the plugins.json file is edited as above.

Well it’s very easy to refresh and then trash plug-ins from within Obsidian, which offers a superior gui to manage plug-ins than to inspect, edit move or what else in a file explorer.
I just simplified the process

I was able to find the .obsidian directory on windows machine.

But I was not able to find the same on Android and iOS, it isn’t there on ios I checked

How do I find those ?

The Files app will not show it. Install Taio app, add your vault and it will help you navigate into those hidden folders.

On Android, I’d use X-Plore or something, if I used Android – which I rarely/never do these days, so I may mistype the app name as well.

is this the app, you are referring to ?

ok I will check xplore on android as well

Yes. Or else you can buy Textastic, which can do the same.

apologies for late reply, But I tried using the Textasticapp and I couldn’t find the hidden folders in Obsidian Vaults

Have you tried adding the vault as an external folder first?

ok so I added the Obsidian Folder as external folder in the Textasticapp, and yes the hidden files and folders are now visible. Hurray, thanks

So if I am correct, the plugins folder contains the files of all the installed plugins.
main.js - has the plugin script
data.json - has the settings for the plugins
manifest.js & styles.css - are the metadata files

community-plugins.json - has the list of plugins that are enabled.

The .obsidian folder has a lot of data that I wished existed inside the vault as well.

Anyways I appreciate the guidance

I found this “Customization sync” beta feature in the obsidian-livesync plugin quite useful, I tried it on my android and I was able to sync the plugins and install them without having to manually copy the .obsidian folder.

I tried it on both android and ios, however it is a little complex to understand as it has no documentation on it. I played around a little bit and it was able to auto sync the obsidian settings across devices.

1 Like

Thank you! @xr4nchy of all the solutions I tried, using the “Self-hosted LiveSync” plugin worked for me! The steps are a bit complicated, but with some careful reading and paying close attention, it’s actually pretty simple to do.

If anyone encounters an error like this like the one below, you’ll have to sign up for a basic $5 plan with fly.io first, and then retry this step of the setup.