Creating your own Obsidian iOS Widget

Do you see the special widget?

Feature Overview

  • List of all starred files (my personal favorite)
  • List of recently edited files
  • List of files from a specific folder
  • Display the text of a file from your vault.
All widget types and sizes

Installation

Scriptable application from the Apple App Store
Click the + button to create a new script
Tap the title to rename the script
  1. We installed the free app Scriptable from the Apple App Store
  2. We created a new script in Scriptable
  3. We renamed the script to Obsidian Widget
  4. We pasted into this script the code we copied from the Github page

Bookmark your Obsidian vault folder in Scriptable

Creating Your First Widget

  • Start by adding a widget to your screen as you normally would and select the Scriptable widget from the list of widgets.
  • Choose the size of widget you want, in this example we will choose the middle sized widget.
Settings for the Scriptable Widget
Scriptable widget displaying information from the Obsidian vault

More Ways to Configure Widgets

Starred

Folder

  1. Name of the vault
  2. the term FOLDER — which tells the widget this will list contents of a folder
  3. the folder path

File

  1. Name of the vault
  2. the term FILE — which tells the widget this will display the contents of a file
  3. the file path

One important caveat

Conclusion

  • Recent files used in your vault
  • Starred files in your vault
  • Files from a specific folder in your vault
  • The text contents of a file

--

--

--

Hacking Tools for Thought

Love podcasts or audiobooks? Learn on the go with our new app.

Recommended from Medium

Graphs/Chart with Swift 5 using Macaw

Goodbye Cron, Hello…

Image Assets and Colour Pallets

Cinemachine — Keeping in Frame

The $8M Future Notion Challenger

Metis Walkthrough Video!

Before using iOS NotificationCenter _ Swift

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store
TfTHacker

TfTHacker

Hacking Tools for Thought

More from Medium

How to Install Plugins in Obsidian

Craft — The Markdown Heavy-Weight Champion?

Zettelkasten & Obsidian

How a note taking app changed my productivity game