{"repo":"jimmy-zhening-luo/scriptable","free":true,"listed":false,"github":"https://github.com/jimmy-zhening-luo/scriptable","clone":"git clone https://github.com/jimmy-zhening-luo/scriptable.git","description":"Write type-safe, concise, continuously-deployed Scriptable apps. Scriptable for iOS and iPadOS lets users author JavaScript procedures invokable by Apple Shortcuts, Share Sheet or Widgets, useful for home and device automation.","language":"TypeScript","stars":16,"topics":["ios","scriptable","shortcuts","typescript","apple","automation","ipad","ipados","iphone","widget"],"license":"MIT","category":"mobile-apps","readme_excerpt":"type-scriptable - What is Scriptable ? - What is type-scriptable ? - How to use - Vocabulary - App - Library - EASY: Write Library scripts - NOT SO EASY: Write App scripts - The Header ™ - Line 1 - Line 2 - Line 3 - Line 4 (Optional) What is Scriptable ? Scriptable for iOS and iPadOS lets users author JavaScript procedures invokable by Apple Shortcuts , Share Sheet or Widgets , useful for home and device automation. Besides the aforementioned entry-points, Scriptable provides integration points into iOS / iPadOS filesystem and notifications. What is type-scriptable ? Write type-safe, concise, continuously-deployed Scriptable apps. How to use Vocabulary There are two types of scripts. App Top-level JavaScript file in your device's Scriptable folder. It is visible in the Scriptable app UI, force push menu, Share Sheet, Shortcuts, etc. Library JavaScript file in a subdirectory of your device's Scriptable folder. It can not be directly invoked, and can only be used within another script (App or Library) via importModule . EASY: Write Library scripts There are two (2) special requirements for writing a Library : 1. Library scripts must not be in the top-level directory of your device's Scriptable folder. Instead, they must be in any of the following: - A subdirectory of your device's Scriptable folder - Anywhere (top-level or otherwise) in a place where Scriptable's importModule function will look 1. (Identical to App requirement) Your script must only use the following globals: -","default_branch":null,"files":null,"tree":[],"storefront":"/r/jimmy-zhening-luo","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/jimmy-zhening-luo/scriptable/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}