Startup Commands

approvedunreviewed

by Dan

Run Obsidian command palette commands automatically on startup with custom order, delays, and platform filters.

↓ 33 downloadsUpdated 17d agoMIT

Startup Commands for Obsidian

An Obsidian plugin that executes a sequence of command palette commands automatically when your vault opens.

Features

  • 100% Cross-Platform: Works seamlessly on Desktop (Linux, macOS, Windows) and Mobile (iOS & Android).
  • Fuzzy Command Search: Browse and add any installed command (core or community plugin) with native fuzzy search.
  • Platform Targeting: Run specific commands on All Devices, Desktop Only, or Mobile Only.
  • Delays & Timing: Set an initial layout ready delay (default: 500ms) and individual delays between commands to ensure plugins are fully initialized.
  • Reordering & Testing: Reorder commands with Up/Down buttons, test individual commands with a single click, or test the full startup sequence anytime without restarting.
  • Resilient: Error-isolated execution ensures a failed command won't break the remaining startup sequence.

Settings

  • Enable startup commands: Master toggle to enable or disable automatic execution.
  • Initial startup delay (ms): Milliseconds to wait after the workspace is ready before running commands (default: 500ms).
  • Show startup notification: Display a notification with execution count when startup finishes.
  • Debug logging: Output execution details to the developer console (Ctrl+Shift+I).

Command Palette Actions

  • Startup Commands: Run all now: Manually trigger the enabled startup sequence at any time.

Development

npm install
npm run build    # Production build
npm run dev      # Watch mode

License

MIT © Dan

For plugin developers

Search results and similarity scores are powered by semantic analysis of your plugin's README. If your plugin isn't appearing for searches you'd expect, try updating your README to clearly describe your plugin's purpose, features, and use cases.