Search...Search plugins and themes...
⌘K
Sign in
  • Get started
  • Download
  • Pricing
  • Enterprise
  • Account
  • Obsidian
  • Overview
  • Sync
  • Publish
  • Canvas
  • Mobile
  • Web Clipper
  • CLI
  • Learn
  • Help
  • Developers
  • Changelog
  • About
  • Roadmap
  • Blog
  • Resources
  • System status
  • License overview
  • Terms of service
  • Privacy policy
  • Security
  • Community
  • Plugins
  • Themes
  • Discord
  • Forum / 中文论坛
  • Merch store
  • Brand guidelines
Follow us
DiscordTwitterBlueskyThreadsMastodonYouTubeGitHub
© 2026 Obsidian

JavaScript Init

ryanpcmcquenryanpcmcquen6k downloads

Run JavaScript when Obsidian loads, or at any other time.

Add to Obsidian
  • Overview
  • Scorecard
  • Updates3

Run JavaScript when Obsidian loads, or any other time.

Settings tab

Manually installing the plugin

  • Copy over main.js, manifest.json, and styles.css to your vault VaultFolder/.obsidian/plugins/obsidian-javascript-init/.
HealthFair
ReviewSatisfactory
About
Run custom JavaScript automatically on Obsidian startup or execute scripts on demand. Use scripts to automate workflows, modify the UI, or add bespoke behavior.
AutomationDevelopersInterface
Details
Current version
1.0.2
Last updated
5 years ago
Created
5 years ago
Updates
3 releases
Downloads
6k
Compatible with
Obsidian 0.9.12+
Platforms
Desktop, Mobile
License
MPL-2.0
Report bugRequest featureReport plugin
Author
ryanpcmcquenryanpcmcquen
github.com/ryanpcmcquen
GitHubryanpcmcquen
  1. Community
  2. Plugins
  3. Automation
  4. JavaScript Init

Related plugins

BRAT

Easily install a beta version of a plugin for testing.

Lean Terminal

Embedded terminal panel powered by xterm.js and node-pty - no external windows.

Hide Sidebars on Window Resize

Automatically hides the sidebars when your window is narrow on window resize.

Refresh Any View

Allows to refresh any view without reopening it.

CodeScript Toolkit

Allows to do a lot of things with JavaScript/TypeScript scripts from inside the Obsidian itself

Templater

Create and use dynamic templates.

Homepage

Open a note, base, or workspace on startup, or set it for quick access later.

Hider

Hide interface elements such as tooltips, status bar, titlebar, and more.

Meta Bind

Make your notes interactive with inline input fields, metadata displays, and buttons.

Local REST API with MCP

Unlock your automation needs by interacting with your notes over a secure REST API.