Skip to content

Latest commit

 

History

History
 
 

ios_widget

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 

Scriptable -- Notion Block View

This is a Scriptable widget that provides basic functionality for viewing/creating/deleting Notion blocks using iOS Shortcuts.

Demo

I announced and released this on my blog in this article. A full demo of the widget is presented in the following YouTube video.

Installation

To use this widget you have to do the following:

  1. Acquire your token_v2 from Notion's web application.

  2. (Optional) have your own notion-toolbox server running (if the security concern of sending your token to my server scares you)

  3. Install Scriptable on your iOS device

  4. Install Data Jar on iOS your iOS device (this is optional if you want to hardcode the notion token in the iOS Shortcuts) and put the token_v2 value under a new notion_token text key.

  5. Create a new script (Notion Block View) in Scriptable with the contents in this file and replace the NOTION_TOKEN with your token_v2 value (and maybe the server url if you decided to use your own)

  6. Add a Scriptable widget on your homescreen in iOS

    6a. Configure the widget's Script to be Notion Block View

    6b. Configure the widget's When Interacting to be Run Script

    6c. Configure the widget's Parameter to be a Notion link for a page/collection

  7. Create the following iOS Shortcuts on your device (names are important and case-sensitive), you might have to change some things based on the server URL and usage of Data Jar:

    7a. Append to Notion Block (image)

    7b. Delete Notion Block (image)

    7c. Refresh Notion Block (image)

  8. Enjoy