This repository contains a collection of my personal scriptable.app scripts and widgets. Scriptable is a free iOS automation tool that enables you to controll your device using javascript.
All scripts can be installed using ScriptDude, which provides one-click installation and automatic updates for scripts.
Get ScriptDude here.
Alternatively, yo may also download the .js
files directly and place them on your scriptable's scripts directory.
List of scripts:
Fetches and displays future data for bitcoin and etherium on Deribit. By default, the graph generated tracks the last 24 hours of price action, but this can be configured by editing the script. The index 24 hour change and volatility are also shown.
For each future, the table shows:
- the last 24 hour percentage move,
- dollar preium above the index,
- percentage premium above the index,
- annualized basis yield
- and tenor in days or hours.
The currency can be configured by passing either BTC
or ETH
to the widget arguments.
The script also supports automatic dark / light mode theme, which can both be customized by editing the script file.
When toggling the system theme between light and dark the widget needs to be rebuilt by running the script manually for the graph to be rendered properly.
Note: this script communicates with the Deribit API to fetch market data. Currency logos have been embedded into the script in base64.
Dark Mode | Light Mode | |
---|---|---|
BTC | ||
ETH |
All scripts in this repository are release under the MIT license. Check each file for any additional information.