Skip to content

Instantly share code, notes, and snippets.

View wickenico's full-sized avatar

Nico Wickersheim wickenico

View GitHub Profile
// Variables used by Scriptable.
// These must be at the very top of the file. Do not edit.
// icon-color: deep-gray; icon-glyph: magic;
// Licence: Robert Koch-Institut (RKI), dl-de/by-2-0
//
// -------------
// Configuration
// -------------
@wickenico
wickenico / crypto-ticker-widget.js
Last active May 17, 2021 22:02
A Scriptable widget that shows a crypto currency course in fiat currency based on coinbase
/* --------------------------------------------------------------
Script: crypto-ticker-widget
Author: Nico Wickersheim
Version: 2.0.0
Description:
Displays the current course of a cryptoin any fiat currency based on
the data of coinbase API.
Changelog:
@wickenico
wickenico / StockWidget.js
Created January 14, 2021 16:50 — forked from saiteja09/StockWidget.js
Stock Widget for iOS using Scriptable
// Variables used by Scriptable.
// These must be at the very top of the file. Do not edit.
// icon-color: deep-blue; icon-glyph: book; share-sheet-inputs: plain-text;
// Stock Ticker Widget
let stocksInfo = await getStockData()
let widget = await createWidget()
if (config.runsInWidget) {
// The script runs inside a widget, so we pass our instance of ListWidget to be shown inside the widget on the Home Screen.
Script.setWidget(widget)
} else {
@wickenico
wickenico / random-meme.js
Created January 12, 2021 21:54
A Scriptable widget that shows random memes
/* --------------------------------------------------------------
Script: random-meme.js
Author: Nico Wickersheim
Version: 1.0.0
Description:
Displays a random meme every time the script is executed.
Widget is large for optimal visualization.
Changelog:
@wickenico
wickenico / btc-usd-course.js
Last active April 4, 2021 12:45
A Scriptable widget that shows the current bitcoin course in US-Dollar based on coinbase
/* --------------------------------------------------------------
Script: btc-usd-course.js
Author: Nico Wickersheim
Version: 1.0.0
Description:
Displays the current bitcoin course in US-Dollar $ based on
the data of coinbase API.
Changelog: