Skip to content

dc138/scriptable

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

36 Commits
 
 
 
 
 
 

Repository files navigation

logo

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:

  1. Deribit Markers Widget

Deribit Futures Widget

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.

Download with ScriptDude

Dark Mode Light Mode
BTC btc-dark btc-light
ETH eth-dark eth-light

More scripts to come™

License

All scripts in this repository are release under the MIT license. Check each file for any additional information.

About

Personal scriptable.app widgets

Resources

Stars

Watchers

Forks