Improve Obsidian Startup Time on Older Devices with the FastStart Script

Just published an article on improving startup time. Obsidian is fast, but with a lot of plugins, some experience a startup delay.

I present a simple hack to get around this.

5 Likes

Hey!

I made a little python script to accelerate the process.

First, edit the template for plugins list (FastStart-GenerateListOfInstalledPlugins) with :

<% "- [ ] " + Object.values(app.plugins.manifests).map(p=>p.id).sort((a,b)=>a.localeCompare(b)).join('\n- [ ] ') 
%>

The list generated from this template will be a task list

Now, you need to class your plugins :

  • - [x] (check) will mark as a short delay plugins.
  • Any checked mark not x and not empty (so any - [char]) will be marked as a long delay
  • To keep the state (disabled/start when Obsidian open), you can remove from list or leave - [ ].

Note

  • I use - [>] for short delay here, but you can use any character in your check mark*
  • I use a empty check mark to keep the state of my plugins (disabled forever or start at obsidian’s opening)

After, download this little python file.

You need to edit the path :

  • short : The (absolute) path to FastStart-Plugins-ShortDelay.md
  • long : The (absolute) path to FastStart-Plugins-LongDelay.md
  • plugin : The absolute path to generated list by FastStart-GenerateListOfInstalledPlugins

After, you just have to run using python -m class_list.py

:bulb: You can put the python script in your Obsidian vault without problem :D.

Moreover, if you don’t like to use checked mark for short delay you can edit the script here, editing the - [x] for any value you want (you can also use ctrl + f & edition…)

1 Like