This is a basic Deno
app that it will tweet your current playing song on Spotify to your Twitter account.
deno run index.ts
deno bundle index.ts build/index
In src/log.ts
you can find a simple logger that is extendable.
https://developer.spotify.com/console/get-user-player/?market=&additional_types=