Simple app to read the spotify status and show some lyrics on the tesla screen
This app is now obsolete. Tesla's built in browser now supports using Spotify Web Lyrics directly.
npm install
for dependencies.env
file. Refer to .env.example
for what's needednpm start
, then access localhost:8000
Suggest to mount the .env
as a bind mount
If deploying to AE, need some special arrangement for the env file env file in GAE
Service account permissions
How? I forgot
How to get a node/express app production ready
Inspired from 小明 Player
API has the following params. Refer to API documentation
guaqb.cn
zh_cn_zh_tw package provides straightforward, mapping based translation.
Ugh ok... let's learn node.js real quick... ... Done ish! Here
Finding the right lyrics JS filtering response
let res = users.filter((it) => it.name.includes("oli"));
Notes: Simple filter works just fine it appears
Looks like need to learn node.js somehow and have this hosted in home server... Why? coz how else can i secure my keys and secrets... Keeping secrets in node.js
Tutorial(or see passportJS doc??) PassportJS SQLite nodejs return redirect
302 redirect resp.write