Alfred Workflow for various enhancements of Obsidian.

  • By pseudometa
  • Last update: Dec 31, 2022
  • Comments: 15

Shimmering Obsidian 🎩

An Alfred Workflow with dozens of features for Obsidian.

Promo Video



Feature Overview

For a full documentation & usage guide, follow the links to the respective subsection.

Powerful Alfred-based Quick Switcher

  • Search for Notes
    • Includes Aliases
    • Search Headings (included heading levels configurable)
    • Search Starred Notes
    • Search Recent Notes
  • Browse Folders (move to parent folders, create notes in folders)
  • Search Notes via Tags
  • Browse a note's links (outgoing, backlinks, external)
  • Open External Links of a Note (without switching to the document or opening Obsidian)
  • Graph Traversal via Alfred
  • Smart Search: A query like o foobar #moc starred displays only files named "foobar" with the tag "#moc" that are also starred.

➡️ Documentation of Quick Switcher Features


Note-related Features

  • Create new Notes (based on Template or via QuickAdd)
  • Move Note to a different folder
  • Daily Notes
  • 🆕 Quickly append to a scratchpad note

➡️ Documentation of Note-related Features


Screenshot Features

  • OCR Screenshots
  • 🆕 Image Screenshot
  • 🆕 Both work for screenshots taken in quick succession, e.g. during a live presentation or lecture.

➡️ Documentation of Screenshot Features


Utility Features

  • Backup your Vault
  • Access various folders like .obsidian or .trash
  • Update Plugins
  • Carl Auto-Responses 🐢

➡️ Documentation of all Utility Features


Plugin & Theme Search

  • Search Community Plugins and Themes
  • Open in Obsidian or GitHub
  • Access Plugin Settings
  • Search & Create GitHub Issues
  • No annoyed developers! When the installed version is out of date, issue creation is blocked and replaced by a shortcut to update the plugin instead.

➡️ Documentation of the Plugin & Theme Search


Workspace Switcher

  • Quickly switch workspaces
  • 🆕 Save Workspaces
  • Manage workspaces
  • Automatically toggle spellchecking when switching to certain workspaces

➡️ Documentation of the Workspace Switcher


Settings & Local Plugin Search

  • Search & quickly open specific Settings Tabs, the Theme Browser, or the Community Browser.
  • Quickly update all plugins.
  • Open Plugin Settings.
  • Open local plugin folders in .obsidian/plugins/

➡️ Documentation of the Settings Search


Documentation Search

  • Search the Official Obsidian Documentation
  • Simultaneously search the Obsidian Hub
  • Search the Forum
  • Browse Forum Categories

➡️ Documentation of the Documentation & Forum Search


🆕 Vault Switcher

  • Switch the Vault controlled by this Alfred workflow.
  • Open vaults in Obsidian, Finder, or the Terminal.

➡️ Documentation of the Vault Switcher


CSS-related Features

  • Access themes & CSS Snippets via Alfred
  • Create new Snippets from Clipboard content
  • Quick Access to cheat sheets for theme development, e.g. default variables
  • Download a theme's CSS file via Theme Search
  • Convert a font file base64-encoded CSS
  • 🆕 Convert a SVG to Data URI

➡️ Documentation of CSS-related Features


Features for Developers

  • Quickly open various development-related folders
  • Open a local plugin's folder in Finder or the Terminal
  • 🆕 Quick Copy of a plugin's ID
  • git clone a plugin repository via the Plugin Search
  • 🆕 git pull a local plugin repository via the Plugin Search
  • 🆕 Open the Vault's root in the default Terminal or in Finder
  • Add & Update Beta Plugins via BRAT
  • Quick Access to cheat sheets for Plugin Development, e.g. the Obsidian API

➡️ Documentation of Features for Developers


Workflow Installation

This workflow requires the Powerpack for Alfred (costs around 30€).

  1. Install the Obsidian plugins Advanced URI & Metadata Extractor. Enable both plugins.
  2. Download the latest release at GitHub. Double-click the .alfredworkflow file to install it.
  3. Run the Alfred Command osetup and select the vault you want to control with Shimmering Obsidian. Obsidian will then restart. (Even if you have only one vault, you need to confirm that one vault once before you can use the workflow.)
  4. Recommended: After installing the workflow, you should configure the settings of this workflow to make use of most of its features. Refer to the Workflow Configuration for further information.

Alfred Themes

I also designed some themes for Alfred you can check out.

Credits

Thanks

Donations

Donations are welcome via PayPal or Ko-Fi. 🙏

About Me

In my day job, I am a sociologist studying the social mechanisms underlying the digital economy. For my PhD project, I investigate the governance of the app economy and how software ecosystems manage the tension between innovation and compatibility. If you are interested in this subject, feel free to get in touch!


⬆️ Go Back to Top

Github

https://github.com/chrisgrieser/shimmering-obsidian

Comments(15)

  • 1

    [Bug]: The ⇧ ⏎ command closes the Alfred window without allowing for link browsing

    Bug Description

    If I search for a note using "o", then press ⇧ ⏎, the Alfred window closes without opening the note nor giving me the list of links in the note.

    If I search for the same note, open it, then use the "ol" keyword, I get the expected list of links.

    Relevant Screenshot

    Search for a note: CleanShot 2022-01-22 at 21 38 09@2x

    Use "ol" CleanShot 2022-01-22 at 21 41 05@2x

    List of links is ok: CleanShot 2022-01-22 at 21 41 40@2x

    If I use "o" to search and then press ⇧ ⏎, nothing happens (no screenshots, because the window just closes

    To Reproduce

    Happens every time.

    Debugging Log

    [21:44:02.547] Shimmering Obsidian[Script Filter] Queuing argument '(null)' [21:44:02.813] Shimmering Obsidian[Script Filter] Script with argv '(null)' finished [21:44:02.816] Shimmering Obsidian[Script Filter] [truncated] [21:44:10.757] Shimmering Obsidian[Script Filter] Processing complete [21:44:10.758] Shimmering Obsidian[Script Filter] Passing output 'notes 📒/9. Work 📈/91 Spaces/910 Projects/KEEN/KEEN.md' to Call External Trigger [21:44:10.758] Shimmering Obsidian[External] Processing complete [21:44:10.759] Shimmering Obsidian[External] Passing output 'notes 📒/9. Work 📈/91 Spaces/910 Projects/KEEN/KEEN.md' to Write Text File [21:44:10.760] Shimmering Obsidian[Write Text File] Processing complete [21:44:10.760] Shimmering Obsidian[Write Text File] Passing output '/Users/paul/Library/Application Support/Alfred/Workflow Data/de.chris-grieser.shimmering-obsidian/buffer_inputPath' to Arg and Vars [21:44:10.760] Shimmering Obsidian[Arg and Vars] Processing complete [21:44:10.761] Shimmering Obsidian[Arg and Vars] Passing output '' to Script Filter [21:44:10.775] Shimmering Obsidian[Script Filter] Queuing argument '(null)'

    Workflow Configuration

    CleanShot 2022-01-22 at 21 44 49@2x

    Version & System Information

    -------------------------------
    Metadata JSONs: 3/3
    -------------------------------
    INSTALLED VERSION
    macOS: 12.1
    Obsidian: 0.13.21
    Alfred: 4.6.1
    Workflow: 2.18.2
    Advanced URI Plugin: 1.17.0
    Metadata Extractor: 0.2.4
    -------------------------------
    LATEST VERSION
    Obsidian: 0.13.19
    Obsidian (Insider): 0.13.21
    Workflow: 2.18.2
    Advanced URI Plugin: 1.17.0
    Metadata Extractor: 0.2.4
    -------------------------------
    

    Make sure you have done the following

  • 2

    [BUG] Use ⇧ + ↵ on any search result of the main o search to browse the links of that note don‘t work

    Hello, this workflow is amazing, thank you a lot!, here are some of the bugs I encountered using this workflow. As mentioned in the topic,when I press ⇧ + ↵, nothing ever happend.

    https://user-images.githubusercontent.com/60280844/145703909-6c299a04-06f6-479d-93a9-5e2d183c7949.mp4

    But when I press ⇧ + ↵ in ol , it works.

    https://user-images.githubusercontent.com/60280844/145704099-c1508c6d-c0d0-4776-bbac-d4b8add72ba8.mp4

    In addition,When I press ↵ in ot to select notes, this workflow seems to have stopped.

    https://user-images.githubusercontent.com/60280844/145704181-542d2add-3ccb-49ae-abac-517d62463055.mp4

    The same thing happens in the search folder.

    https://user-images.githubusercontent.com/60280844/145704236-255906b7-e29c-4b6f-be2e-fb29a75bcb30.mp4

    Below is the running information in Alfred when I press ⇧ + ↵

    [15:31:36.582] Shimmering Obsidian[Script Filter] Processing complete
    [15:31:36.583] Shimmering Obsidian[Script Filter] Passing output '1-学习笔记/科研生活/卡片笔记法.md' to Call External Trigger
    [15:31:36.584] Shimmering Obsidian[External] Processing complete
    [15:31:36.584] Shimmering Obsidian[External] Passing output '1-学习笔记/科研生活/卡片笔记法.md' to Arg and Vars
    [15:31:36.585] Shimmering Obsidian[Arg and Vars] Processing complete
    [15:31:36.585] Shimmering Obsidian[Arg and Vars] Passing output ' ' to Script Filter
    [15:31:36.604] Shimmering Obsidian[Script Filter] Queuing argument '(null)'
    

    Below is the running information in Alfred when I press ↵ in ot to select notes

    [15:38:57.931] Shimmering Obsidian[Script Filter] Processing complete
    [15:38:57.932] Shimmering Obsidian[Script Filter] Passing output 'zotero' to Arg and Vars
    [15:38:57.932] Shimmering Obsidian[Arg and Vars] Processing complete
    [15:38:57.932] Shimmering Obsidian[Arg and Vars] Passing output ' ' to Script Filter
    [15:38:57.933] Shimmering Obsidian[Script Filter] Queuing argument '(null)'
    

    Below is the running information in Alfred when I press ↵ to search folders

    [15:40:25.807] Shimmering Obsidian[Script Filter] Processing complete
    [15:40:25.808] Shimmering Obsidian[Script Filter] Passing output '2-工作文档' to Call External Trigger
    [15:40:25.808] Shimmering Obsidian[External] Processing complete
    [15:40:25.809] Shimmering Obsidian[External] Passing output '2-工作文档' to Arg and Vars
    [15:40:25.809] Shimmering Obsidian[Arg and Vars] Processing complete
    [15:40:25.810] Shimmering Obsidian[Arg and Vars] Passing output '2-工作文档' to Arg and Vars
    [15:40:25.810] Shimmering Obsidian[Arg and Vars] Processing complete
    [15:40:25.810] Shimmering Obsidian[Arg and Vars] Passing output '2-工作文档' to Conditional
    [15:40:25.811] Shimmering Obsidian[Conditional] Processing complete
    [15:40:25.811] Shimmering Obsidian[Conditional] Passing output '2-工作文档' to Call External Trigger
    [15:40:25.811] Shimmering Obsidian[External] Processing complete
    [15:40:25.812] Shimmering Obsidian[External] Passing output '' to Script Filter
    [15:40:25.812] Shimmering Obsidian[Script Filter] Queuing argument '(null)'
    
  • 3

    Headings cannot be opened

    Hello,I'm very sorry to bother you again. When I search for Headings, there is something wrong:

    image

    But when I search for notes, it works. Do I need to set more something in the Advanced URL or workflow?

    Originally posted by @Miaoyifei-mz in https://github.com/chrisgrieser/shimmering-obsidian/issues/38#issuecomment-993111986

  • 4

    Feature Request: Speed up Alias Search / Implement Tag Search

    I would like to improve the speed of Alias Search and implement a Search for Tags, but I lack the coding knowledge to implement this in a sufficiently efficient way – Alias search is already pretty slow, as the YAML-Header of every note has to be scanned.

    I thought about building some sort of index/cache for that, but I am unsure how to properly keep such an index up to date – any Alias/Tag Search should reflect the current aliases and tags after all.

    I only code in my leisure time while having a non-technical job, so learning how to do that takes a bit of time for me – so I'd very much welcome help / pull requests in that regard!

  • 5

    Feature Request: Support opening plugin folder in Finder

    Is your feature request related to a problem? Please describe. Currently there are a few options with the op command, e.g. opening the plugin configuration pane. Is it possible to open the plugin folder in Finder?

    Describe the solution you'd like Support opening the plugin folder in Finder.

  • 6

    [BUG] Opening note function has stopped working

    Issue: I am unable to open notes all of a sudden. When I installed the latest version, it was working just fine. Then something snapped and other features like opening daily note and themes work but not the ability to see or open notes.

    Debugging log:

    [02:19:34.359] Shimmering Obsidian[Script Filter] Queuing argument '(null)' [02:19:34.522] Shimmering Obsidian[Script Filter] Script with argv '(null)' finished [02:19:34.524] ERROR: Shimmering Obsidian[Script Filter] Code 1: /Users/sharfaroz/Dropbox/Alfred/Alfred.alfredpreferences/workflows/user.workflow.C37FA2C6-89D2-402F-81A1-C16F4519689E/scripts/o_search.js: execution error: Error: SyntaxError: JSON Parse error: Unexpected EOF (-2700)

    I am on M1 Mac, 12.1 beta (21C5021h). Workflow version 2.0.2

  • 7

    No switch of view modes

    now properly switches view mode, regardless of current view https://github.com/chrisgrieser/shimmering-obsidian/releases/tag/1.5.3

    I do not think, it works. If I am in preview mode, it opens a 2nd panel in preview mode, too.

  • 8

    [Bug]: Cannot open Today's note

    Bug Description

    I typed in Alfred the keyword to open Today's note in Obsidian. But it cannot find the vault. Everything else works fine.

    Relevant Screenshot

    Screenshot - 2022-07-21 22 35 46 (CleanShot)

    To Reproduce

    Type the keyword in Alfred to open Today's note in Obsidian.

    Debugging Log

    [22:38:20.333] Shimmering Obsidian[Keyword] Processing complete
    [22:38:20.334] Shimmering Obsidian[Keyword] Passing output '' to Arg and Vars
    [22:38:20.335] Shimmering Obsidian[Arg and Vars] Processing complete
    [22:38:20.336] Shimmering Obsidian[Arg and Vars] Passing output '2022-07-21' to Open URL
    [22:38:20.362] Shimmering Obsidian[Open URL] Processing complete
    [22:38:20.363] Shimmering Obsidian[Open URL] Passing output '(
        "obsidian:///Users/missionary/Library/Mobile%2520Documents/iCloud~md~obsidian/Documents/Missionary/%F0%9F%97%93%2520Calendar/2022-07-21.md"
    )' to Call External Trigger
    [22:38:20.364] Shimmering Obsidian[External] Processing complete
    [22:38:20.365] Shimmering Obsidian[External] Passing output '(
        "obsidian:///Users/missionary/Library/Mobile%2520Documents/iCloud~md~obsidian/Documents/Missionary/%F0%9F%97%93%2520Calendar/2022-07-21.md"
    )' to Conditional
    

    Workflow Configuration

    Screenshot - 2022-07-21 22 39 29 (CleanShot)

    Version & System Information

    -------------------------------
    Metadata JSONs: 3/3
    -------------------------------
    INSTALLED VERSION
    macOS: 12.4
    Alfred: 5.0
    
    Obsidian: 0.15.7
    This Workflow: 2.26.4
    Advanced URI Plugin: 1.24.0
    Metadata Extractor: 1.0.2
    -------------------------------
    LATEST VERSION
    Obsidian: 0.15.6 (Insider: 0.15.7)
    This Workflow: 2.26.8
    Advanced URI Plugin: 1.24.0
    Metadata Extractor: 1.0.2
    -------------------------------
    

    Make sure you have done the following

  • 9

    [Bug]: Cannot search contents

    Bug Description

    I can't search the content of my notes

    Relevant Screenshot

    image

    To Reproduce

    1. Open Alfred
    2. Type "o", space, "largest"
    3. No result found

    Debugging Log

    [19:06:48.345] Shimmering Obsidian[Script Filter] Queuing argument '(null)'
    [19:06:48.522] Shimmering Obsidian[Script Filter] Script with argv '(null)' finished
    [19:06:48.524] Shimmering Obsidian[Script Filter] {"items":[{"title":"🕑 Linux","match":"Linux Linux filename name title","subtitle":"▸ Cheatsheets","arg":"Cheatsheets/Linux.md","quicklookurl":"/Users/amree/Library/Mobile Documents/iCloud~md~obsidian/Documents/Personal/Cheatsheets/Linux.md","type":"file:skipcheck","uid":"Cheatsheets/Linux.md","icon":{"path":"icons/note.png"},"mods":{"shift":{"valid":false,"subtitle":"⛔️ Note without Outgoing Links or Backlinks"}}},{"title":"Cheatsheets","match":"Cheatsheets Cheatsheets folder","subtitle":"▸ /   [↵: Browse]","arg":"Cheatsheets","type":"file:skipcheck","uid":"Cheatsheets","icon":{"path":"icons/folder.png"},"mods":{"alt":{"subtitle":"⌥: Open Folder in Finder"},"cmd":{"valid":false,"subtitle":"⛔️ Cannot open folders"},"shift":{"valid":false,"subtitle":"⛔️ Folders have no links."},"ctrl":{"valid":false,"subtitle":"⛔️ Linking not possible for folders"},"fn":{"valid":false,"subtitle":"⛔️ Cannot append to folders."}}}]}
    

    Workflow Configuration

    image

    Version & System Information

    I got errors running that command:

    [19:09:35.464] Shimmering Obsidian[Keyword] Processing complete
    [19:09:35.466] Shimmering Obsidian[Keyword] Passing output '' to Run Script
    [19:09:35.605] ERROR: Shimmering Obsidian[Run Script] /Users/amree/Dropbox/Applications/Alfred/Alfred.alfredpreferences/workflows/user.workflow.468D48BE-7536-447E-A31E-4E81F1D4FE95/scripts/version_info.js: execution error: Error: Error: ls: *.asar: No such file or directory (1)
    [19:09:35.609] Shimmering Obsidian[Run Script] Processing complete
    [19:09:35.610] Shimmering Obsidian[Run Script] Passing output '' to Copy to Clipboard
    [19:09:35.611] Shimmering Obsidian[Copy to Clipboard] Processing complete
    [19:09:35.612] Shimmering Obsidian[Copy to Clipboard] Passing output '' to Post Notification
    

    Make sure you have done the following

  • 10

    [Bug]: Initial setup does not work

    Bug Description

    Used plugin fine before update. Obsidian and Shimmering Obsidian are up to date. osetup comes up, returns the relevant vault and successfully restarts Obsidian but then the plugin doesn't function as intended and allows for setup to occur again. Debugging logs attached.

    Relevant Screenshot

    No response

    To Reproduce

    In my instance, run osetup and choose vault. Obsidian will restart and require the workflow requires setup again.

    Debugging Log

    [22:19:13.900] Shimmering Obsidian[Script Filter] Queuing argument '(null)'
    [22:19:14.068] Shimmering Obsidian[Script Filter] Script with argv '(null)' finished
    [22:19:14.073] ERROR: Shimmering Obsidian[Script Filter] Code 1: /Users/joepayne/Library/CloudStorage/[email protected]/My Drive/Software/Alfred Settings/Alfred.alfredpreferences/workflows/user.workflow.5CFCDB33-348D-4DED-AB99-B085129C7E7F/scripts/o_search.js: execution error: Error: SyntaxError: JSON Parse error: Unexpected EOF (-2700)
    [22:19:16.463] Shimmering Obsidian[Script Filter] Queuing argument '(null)'
    [22:19:16.571] Shimmering Obsidian[Script Filter] Script with argv '(null)' finished
    [22:19:16.573] Shimmering Obsidian[Script Filter] {"items":[{"title":"Joe's Vault","subtitle":"Confirm with 'return' that this is your vault.","arg":"/Users/joepayne/Documents/Joe's Vault"}]}
    [22:19:19.266] Shimmering Obsidian[Script Filter] Processing complete
    [22:19:19.268] Shimmering Obsidian[Script Filter] Passing output '/Users/joepayne/Documents/Joe's Vault' to Run Script
    [22:19:19.421] Shimmering Obsidian[Run Script] Processing complete
    [22:19:19.424] Shimmering Obsidian[Run Script] Passing output '
    ' to Conditional
    [22:19:19.426] Shimmering Obsidian[Conditional] Processing complete
    [22:19:19.426] Shimmering Obsidian[Conditional] Passing output '
    ' to Post Notification
    [22:19:19.427] Shimmering Obsidian[Post Notification] Processing complete
    [22:19:19.427] Shimmering Obsidian[Post Notification] Passing output '
    ' to Write Text File
    [22:19:19.427] Shimmering Obsidian[Write Text File] Processing complete
    [22:19:19.428] Shimmering Obsidian[Write Text File] Passing output '/Users/joepayne/Documents/Joe's Vault/.obsidian/plugins/metadata-extractor/data.json' to Run Script
    [22:19:26.902] Shimmering Obsidian[Run Script] Processing complete
    [22:19:26.903] Shimmering Obsidian[Run Script] Passing output '' to Run Script
    [22:19:27.077] ERROR: Shimmering Obsidian[Run Script] /Users/joepayne/Library/CloudStorage/[email protected]/My Drive/Software/Alfred Settings/Alfred.alfredpreferences/workflows/user.workflow.5CFCDB33-348D-4DED-AB99-B085129C7E7F/scripts/osetup-4.js: execution error: Error: Error: sh: -c: line 0: unexpected EOF while looking for matching `''
    sh: -c: line 1: syntax error: unexpected end of file (2)
    [22:19:27.085] Shimmering Obsidian[Run Script] Processing complete
    [22:19:27.086] Shimmering Obsidian[Run Script] Passing output '' to Split Arg
    [22:19:27.086] Shimmering Obsidian[Split Arg] Processing complete
    [22:19:27.086] Shimmering Obsidian[Split Arg] Passing output '' to Post Notification
    [22:19:27.087] Shimmering Obsidian[Post Notification] Processing complete
    [22:19:27.087] Shimmering Obsidian[Post Notification] Passing output '' to Play Sound
    
    
    
    ### Workflow Configuration
    
    not got one
    
    ### Version & System Information
    
    ```Text
    doesnt work
    

    Make sure you have done the following

    • [X] I have updated to the latest version of this workflow.
    • [X] I have read the Troubleshooting Documentation.
    • [X] If the o... main search does not work, I have tried rerunning osetup and it still does not work.
    • [X] If I updated to version 3+ for the first time, I have disabled migrating workflow cutomizations. (If you haven't, you can simply re-download and install the latest release from GitHub and uncheck Migrate my workflow customizations.)
  • 11

    [Bug]: mkdir: : No such file or directory

    Bug Description

    When I take a screenshot with OCR, the Workflow seems fine, but it neither creates OCR-Screenshot.md nor updates its content if already created.

    According to the log, it seems like a permission error at the external script at Screenshot +OCR. However, Alfred has all permissions it asks on the home screen.

    I installed tesseract, and all my vaults are on the iCloud. Although I tried to put another vault in my Documents folder, the behavior is the same.

    Relevant Screenshot

    No response

    To Reproduce

    1. Take Screenshot
    2. Either wait until Obsidian opens if the according flag is true. If the file doesn't exist you won't find it here either. A manually created file won't get updated.

    Debugging Log

    [23:10:18.176] Shimmering Obsidian[Hotkey] Processing complete [23:10:18.176] Shimmering Obsidian[Hotkey] Passing output '' to Arg and Vars [23:10:18.176] Shimmering Obsidian[Arg and Vars] Processing complete [23:10:18.177] Shimmering Obsidian[Arg and Vars] Passing output '2022-02-15, 23:10' to Run Script [23:10:22.868] STDERR: Shimmering Obsidian[Run Script] mkdir: : No such file or directory /Users/sandro/Library/Application Support/Alfred/Alfred.alfredpreferences/workflows/user.workflow.FEEA6BDC-8168-460F-BBA8-A4B27177F036/scripts/OCR.sh:24: read-only file system: /OCR-Screenshots.md [23:10:22.870] Shimmering Obsidian[Run Script] Processing complete [23:10:22.871] Shimmering Obsidian[Run Script] Passing output '/OCR-Screenshots.md' to Post Notification [23:10:22.872] Shimmering Obsidian[Post Notification] Processing complete [23:10:22.872] Shimmering Obsidian[Post Notification] Passing output '/OCR-Screenshots.md' to Run Script [23:10:23.005] Shimmering Obsidian[Run Script] Processing complete [23:10:23.010] Shimmering Obsidian[Run Script] Passing output '/OCR-Screenshots.md ' to Conditional

    Workflow Configuration

    Configuration

    Version & System Information

    Version: 2.21.1
    Hardware: M1 Pro Chip
    

    Make sure you have done the following

  • 12

    [Bug]: cannot search (o ... search)

    Bug Description

    cannot search using o ...

    image

    Relevant Screenshot

    image

    To Reproduce

    No response

    Debugging Log

    [09:30:39.782] Logging Started...
    [09:30:42.331] Shimmering Obsidian[Script Filter] Queuing argument '(null)'
    [09:30:42.616] Shimmering Obsidian[Script Filter] Script with argv '(null)' finished
    [09:30:42.621] ERROR: Shimmering Obsidian[Script Filter] Code 1: /Users/boxcounter/Alfred.alfredpreferences/workflows/user.workflow.B844E779-37E6-4BDB-8178-E9B075D501F3/scripts/o_search.js: execution error: Error: SyntaxError: JSON Parse error: Unexpected EOF (-2700)
    [09:37:27.490] Shimmering Obsidian[Script Filter] Queuing argument '(null)'
    [09:39:39.871] Shimmering Obsidian[Script Filter] Queuing argument '(null)'
    

    Workflow Configuration 1

    image

    Workflow Configuration 2

    image

    Version & System Information

    - macOS: 13.1 (22C65)
    - Obsidian: 1.1.9
    - Alfred: v5.0.6 [2110]
    - Shimmering-obsidian: v.3.3.0
    - Advanced URI: v1.31.2
    - Metadata Extractor: v1.1.0
    

    Make sure you have done the following

    • [X] I have updated to the latest version of this workflow.
    • [X] I have read the Troubleshooting Documentation.
    • [X] If the o… main search does not work, I have tried rerunning osetup and it still does not work.
    • [X] If I updated to version 3+ for the first time, I have disabled migrating workflow cutomizations. (If you haven't, you can simply re-download and install the latest release from GitHub and uncheck Migrate my workflow customizations.)
  • 13

    [Bug]: Unable to switch vault

    Bug Description

    Everything works fine. I can see both vaults (personal, Denodo) and can even switch into their finder location. But when I try to switch the workflow ("ov") from Personal to Denodo (Shift-enter), it just stays within Personal. The ticket symbol stays with personal and all the interactions stays with the Personal Vault.

    Just to add, if I switch the sequence of which vault to initialise first, then I get the reverse problem, ie I can interact with the Denodo vault but can't switch into the Personal vault so the vault setup themselves seems to be fine.

    Relevant Screenshot

    No response

    To Reproduce

    No response

    Debugging Log

    [10:14:00.302] Shimmering Obsidian[Script Filter] {"items":[{"title":"✅ Personal","subtitle":"/Documents/Obsidian Personal","arg":"obsidian://open?vault=Personal","mods":{"alt":{"arg":"/Users/felixliao/Documents/Obsidian Personal/Personal"},"cmd":{"arg":"/Users/felixliao/Documents/Obsidian Personal/Personal"},"ctrl":{"arg":"/Users/felixliao/Documents/Obsidian Personal/Personal"},"shift":{"arg":"/Users/felixliao/Documents/Obsidian Personal/Personal"},"fn":{"arg":"/Users/felixliao/Documents/Obsidian Personal/Personal"}}},{"title":"Denodo","subtitle":"/Documents/Obsidian Denodo","arg":"obsidian://open?vault=Denodo","mods":{"alt":{"arg":"/Users/felixliao/Documents/Obsidian Denodo/Denodo"},"cmd":{"arg":"/Users/felixliao/Documents/Obsidian Denodo/Denodo"},"ctrl":{"arg":"/Users/felixliao/Documents/Obsidian Denodo/Denodo"},"shift":{"arg":"/Users/felixliao/Documents/Obsidian Denodo/Denodo"},"fn":{"arg":"/Users/felixliao/Documents/Obsidian Denodo/Denodo"}}},{"title":"Vault Menu","subtitle":"Create or delete vaults","arg":"obsidian://advanced-uri?commandid=app%253Aopen-vault","icon":{"path":"icons/settings.png"},"mods":{"alt":{"valid":false,"subtitle":"⛔️"},"cmd":{"valid":false,"subtitle":"⛔️"},"ctrl":{"valid":false,"subtitle":"⛔️"},"shift":{"valid":false,"subtitle":"⛔️"}}}]}
    [10:14:08.992] Shimmering Obsidian[Script Filter] Processing complete
    [10:14:08.994] Shimmering Obsidian[Script Filter] Passing output '/Users/felixliao/Documents/Obsidian Denodo/Denodo' to Run Script
    [10:14:09.196] Shimmering Obsidian[Run Script] Processing complete
    [10:14:09.198] Shimmering Obsidian[Run Script] Passing output '
    ' to Arg and Vars
    [10:14:09.199] Shimmering Obsidian[Arg and Vars] Processing complete
    [10:14:09.199] Shimmering Obsidian[Arg and Vars] Passing output '/Documents/Obsidian Personal/Personal' to Post Notification
    [10:14:09.200] Shimmering Obsidian[Post Notification] Processing complete
    [10:14:09.201] Shimmering Obsidian[Post Notification] Passing output '/Documents/Obsidian Personal/Personal' to Play Sound
    [10:14:09.246] Shimmering Obsidian[Play Sound] Processing complete
    [10:14:09.248] Shimmering Obsidian[Play Sound] Passing output '/Documents/Obsidian Personal/Personal' to Call External Trigger
    [10:14:09.249] Shimmering Obsidian[External] Processing complete
    [10:14:09.250] Shimmering Obsidian[External] Passing output '/Documents/Obsidian Personal/Personal' to Conditional
    [10:14:09.250] Shimmering Obsidian[Conditional] Processing complete
    [10:14:09.251] Shimmering Obsidian[Conditional] Passing output '/Documents/Obsidian Personal/Personal' to Conditional
    [10:14:09.252] Shimmering Obsidian[Conditional] Processing complete
    [10:14:09.252] Shimmering Obsidian[Conditional] Passing output '/Documents/Obsidian Personal/Personal' to Run Script
    

    Workflow Configuration 1

    info.plist.zip

    Workflow Configuration 2

    CleanShot 2022-10-24 at 11 12 50

    Version & System Information

    -------------------------------
    Metadata JSONs: 3/3
    Metadata String Length: 1120333
    -------------------------------
    WORKSPACE DATA
    'workspace' exists
    'workspace.json' exists
    -------------------------------
    INSTALLED VERSION
    macOS: 12.6
    Alfred: 5.0.3
    ---
    Obsidian: 1.0.2
    This Workflow: 3.1.2
    Advanced URI Plugin: 1.28.2
    Metadata Extractor: 1.0.2
    -------------------------------
    LATEST VERSION
    Obsidian: 1.0.0 (Insider: 1.0.2)
    This Workflow: 3.1.3
    Advanced URI Plugin: 1.28.2
    Metadata Extractor: 1.0.2
    -------------------------------
    INTERNAL WORKFLOW CONFIGURATION
    Vault Path: /Users/felixliao/Documents/Obsidian Personal/Personal
    Vault Name (encoded): Personal
    -------------------------------
    

    Make sure you have done the following

    • [X] I have updated to the latest version of this workflow.
    • [X] I have read the Troubleshooting Documentation.
    • [X] If the o… main search does not work, I have tried rerunning osetup and it still does not work.
    • [X] If I updated to version 3+ for the first time, I have disabled migrating workflow cutomizations. (If you haven't, you can simply re-download and install the latest release from GitHub and uncheck Migrate my workflow customizations.)
  • 14

    [FR]: Allow a profile location other than `.obsidian`

    Change Requested

    When using custom profiles in obsidian, e.g. ('.obsidian-macos'), the workflow setup will not be able to find the plugins, even if you have them installed. The workaround is to open to revert back to the default profile ('.obsidian') and install them there, then switch back to your regular profile. This workaround will be problematic, as the plugins in the default profile will not be updated in line with your regular profile, so a variable would be best in the long term.

    Link to the relevant section of the documentation

    https://github.com/chrisgrieser/shimmering-obsidian/blob/main/docs/Workflow%20Configuration.md

  • 15

    Feature Request: Support appending suffix to content

    Feature Requested

    Besides prefix, as suggested in https://github.com/chrisgrieser/shimmering-obsidian/issues/30 and https://github.com/chrisgrieser/shimmering-obsidian/issues/24, it would also be very useful if one can append suffix to the text, i.e. {var:daily_content_prefix}{var:content}{var:daily_content_suffix} and {var:append_prefix}{query}{var:append_suffix}.

    Relevant Screenshot

    No response

    Checklist

    • [X] The feature would be useful to more users than just me.
    • [X] I have checked the feature overview and the feature doesn't already exist.
    • [X] If it is an entirely new feature: The requested feature makes more sense to be implemented in Alfred than in a plugin (please also explain why).