- Python 3
- Pip 3
$ brew install python3
#!/usr/bin/env node | |
'use strict'; | |
/* | |
This is a simple Spotify cli-based client with optional Icecast2/shout support! | |
It should work for non-premium users, but you must connect your Spotify account to Facebook. | |
Usage: | |
$ node spotify <spotify uris> <playlist uri> <album uri> <track uri> <etc...> |
// file: index.js | |
var _ = require("lodash"); | |
var express = require("express"); | |
var bodyParser = require("body-parser"); | |
var jwt = require('jsonwebtoken'); | |
var passport = require("passport"); | |
var passportJWT = require("passport-jwt"); |
// routes.js | |
const routes = [ | |
{ | |
path: '/', | |
component: Home, | |
exact: true | |
}, | |
{ | |
path: '/gists', | |
component: Gists |