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

Scropt

mtszmtsz5 downloads

Create buttons that run shell commands from your code blocks.

Add to Obsidian
Scropt screenshot
  • Overview
  • Scorecard
  • Updates5

Polski

Run scripts in Obsidian. Desktop only.

What it looks like

Installation

Install Scropt from Community plugins, or copy main.js and manifest.json into <vault>/.obsidian/plugins/scropt/ and enable it in Settings → Community plugins.

Usage

A run button appears in the top-right corner of every bash block. Click it to run the command; click again to stop it. Stop terminates the command and its child processes. Output appears below the block.

```bash
words=("to" "kto" "tutaj" "jest" "synem" "kogo?")
i=0
for word in "${words[@]}"; do
    printf "%*s%s\n" "$((i * 2))" "" "$word"
    ((i++))
    sleep 0.3
done
```

Build

make build # builds the plugin
make deploy VAULT=/path/to/vault # copies the built plugin to `VAULT/.obsidian/plugins/scropt/`

Security

Scropt executes arbitrary shell commands taken from your notes. There is no confirmation dialog and no sandbox. Only run commands you understand and trust. Commands run with Obsidian's permissions.

Mirrors

This repository is the source of truth and is mirrored to GitHub using Codeberg's push mirror. GitHub releases are used for Obsidian distribution.

License

MIT. See LICENSE.

Bundles ansi-regex, MIT © Sindre Sorhus, and tree-kill, MIT © Peter Krumins.

HealthExcellent
ReviewSatisfactory
About
Run shell scripts from bash code blocks directly inside Obsidian on desktop. Add a run/stop button to each bash block and display command output beneath the block. Execute commands with Obsidian's permissions — run only trusted commands.
CodeAutomation
Details
Current version
1.0.4
Last updated
12 hours ago
Created
15 hours ago
Updates
5 releases
Downloads
5
Compatible with
Obsidian 1.8.7+
Platforms
Desktop only
License
MIT
Report bugRequest featureReport plugin
Author
mtszmtsz
GitHubmtsz-pl
  1. Community
  2. Plugins
  3. Code
  4. Scropt

Related plugins

Templater

Create and use dynamic templates.

Homepage

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

BRAT

Easily install a beta version of a plugin for testing.

Linter

Format and style your notes. Linter can be used to format YAML tags, aliases, arrays, and metadata; footnotes; headings; spacing; math blocks; regular Markdown contents like list, italics, and bold styles; and more with the use of custom rule options.

Advanced URI

Control everything with URI.

Mermaid Tools

Improved Mermaid.js experience: visual toolbar with common elements and more.

QuickAdd

Quickly add new notes or content to your vault.

Hot Reload

Automatically reload in-development plugins when their files are changed

Lazy Loader

Load plugins with a delay on startup, so that you can get your app startup down into the sub-second loading time.

Update modified date

Automatically update a frontmatter modified date field when the file is modified.