Skip to content
/ Livey Public
forked from yasakei/Livey

Livey is a stylish digital clock web app with real-time Spotify Now Playing support.

License

Notifications You must be signed in to change notification settings

donelucy/Livey

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Livey

Livey Banner

Livey is a stylish digital clock web app with real-time Spotify Now Playing support. Perfect for your desktop or setup dashboard.

⚙️ Features

  • Real-time Spotify track display
  • Background customization (supports animated GIFs)
  • OAuth login with auto token refresh

🔧 Requirements

  • Node.js ≥ 14
  • npm ≥ 6
  • PM2 (for production)
  • Spotify Developer account

🚀 Setup

1. Clone & Install

git clone https://github.com/yasakei/livey.git
cd livey
npm install

2. Spotify API Setup

  1. Go to Spotify Developer Dashboard
  2. Create a new app
  3. Add http://localhost:3000/callback as the redirect URI
  4. Copy your Client ID and Client Secret

3. Create .env

SPOTIFY_CLIENT_ID=your_spotify_client_id
SPOTIFY_CLIENT_SECRET=your_spotify_client_secret
SPOTIFY_REDIRECT_URI=http://localhost:3000/callback
PORT=3000

4. Background (Optional)

Drop a .gif in the assets/ folder and update config.js:

const gifSource = '/assets/your-background.gif';

🧪 Run

Dev Mode

npm start

Production (PM2)

npm install -g pm2
pm2 start server.js --name "livey"
pm2 save
pm2 startup

📦 Project Structure

livey/
├── assets/              # Images / GIFs
├── config.js            # Background config
├── server.js            # Main server
├── .env                 # Env vars (not committed)
├── index.html           # UI
└── package.json

📄 License

MIT License

About

Livey is a stylish digital clock web app with real-time Spotify Now Playing support.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • HTML 63.3%
  • JavaScript 36.7%