Skip to content

Instantly share code, notes, and snippets.

View rizwaneramadan's full-sized avatar

Muhammad Rizwan rizwaneramadan

View GitHub Profile
@marco79cgn
marco79cgn / spotify-now-playing.js
Last active September 30, 2024 10:15
A Scriptable iOS widget that shows what‘s playing on Spotify
let spotifyCredentials
let widget = await createWidget()
Script.setWidget(widget)
Script.complete()
async function createWidget() {
let widget = new ListWidget()
let spotifyIcon = await getImage("spotify-icon.png")
widget.backgroundColor = new Color("1e2040")