How to install a duplicate plugin, i.e the same plugin twice under a different name

I’m not sure what you are trying todo exactly…but I have some hacky steps to get you started.
Stuff could break, so don’t rely on anything I’m saying to work… I’m trying to understand how plugins work in Obsidian which is why I have a little bit of knowledge to share.

Under the .obsidian dir you have a plugins folder containing sub folders with each plugins code. In your case you will have a sub folder called “obsidian-full-calendar”

  • in the plugins directory, create a new folder called “obsidian-full-calendar-copy” and copy all the files from the “obsidian-full-calendar”
  • in the “obsidian-full-calendar-copy” folder open the manifest.json file and change “id” and “name” values to
    {
    “id”: “obsidian-full-calendar-copy”,
    “name”: “Full Calendar Copy”,
    …other stuff here…
    }

To activate the plugin open the community-plugins.json in the .obsidian folder and add “obsidian-full-calendar-copy” to the list

[
“obsidian-full-calendar”,
“obsidian-full-calendar-copy”
]

Close and Reopen the vault… (you might need to reactivate them in the settings window after opening)

Voila a copy of the plugin is technically installed.

NB: You still only have one icon in the sidebar. The next steps are possibly to edit the main.js file… I’m not a javascript person and cant help you here.

Once again… this is dodgy stuff to be doing, but a half baked answer is better than no answer :slight_smile:

2 Likes