Skip to content

alexrintt/lofi-player

Repository files navigation

⭐⭐⭐⭐⭐

Lofi Player

A minimal music Lofi-Player with Youtube Data v3 API, Iframe API and a loot of JavaScript

Application Type Repo Main Language Module Bundler Repo API Repo Type

Follow Follow

Portuguese Ler em português

Live On

Enjoy clicking here

Support

If you have ideas to share, bugs to report or need support, you can either open an issue or join our Discord server.

What is it?

Its a simple and minimalist Player with Lofi music style, builded with HTML, CSS and JavaScript, using Youtube Data API v3 for fetch Playlist videos count, Youtube Iframe API to render music as background. Parcel is a choosed Module Bundler because it's simple, perfect for this project.

How to clone project

Note, dont forget to create a .env file with your Google API Credentials in Google Developers Console and active the Youtube Data API v3 in API Libraries.

Clone this repo

git clone https://github.com/alexrintt/lofi-player.git

Change path

cd lofi-player

Install dependencies

yarn install
npm install

Run development server

yarn dev
npm run dev

Create static files

yarn pre-build
npm run pre-build

Deploy to github pages

Just push everything to a repository of yours. .github folder contains an action will automatically build and publish to the GitHub pages.

Remeber to set GOOGLE_API_KEY in your repository Settings > Secrets > Actions > New repository secret and set with the value your previous generated on the first step (Generate Google Developer Console credentials).

8BitDash

All these amazing gifs and images that are used as a background are from this project and its repository and they have a store in which sell these gifs.

Creators


Emmanuel

Alex Rintt




Open Source

Copyright © 2020-present, Alex Rintt.

Lofi Player is MIT licensed 💖