lamisgosu11 / Music-Player-Flask

An simple music website develope with Flask Python

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

MusicLib

MusicLib is a web application developed using Flask that allows users to upload, listen and manage their music files. This README file provides information on how to set up the application, how to run it, and how to use its features.

Setup

Clone The Repository
git clone https://github.com/kamalkish0r/music-app.git && cd music-app

System requirements

Python >= 3.8 Project built on Python 3.10.4

Create a virtual environment

On linux/mac

python3 -m venv env
Activate the virtual environment
source env/bin/activate
Install dependencies
pip3 install -r requirements.txt
Handling Secret Information

If you don't wish to use password reset then you can just add a fake email and 16 character password.

For MAIL_PASSWORD go to Google Account this and enable 2-Step verification. Generate APP_PASSWORD by clicking on App Password option just below the 2-Step Verification. Paste this 16 character password when you are asked to enter APP_PASSWORD while running the following script.

You can follow these steps for better explaination with pictures.

python3 setup_secrets.py

You can read more about this here.

To create database tables
python manage.py create_db
To run the app
python3 app.py

The application can be accessed at http://localhost:5000/ in a web browser.

Features

MusicLib provides the following features:

  • User registration and login
  • Uploading music files (currently only mp3 files are supported)
  • Listening to music
  • Editing music file metadata (artist, title, album)
  • Searching for music files by title, artist or album
  • Deleting music files
  • Updating user profile information
  • Resetting passwords through email

About

An simple music website develope with Flask Python


Languages

Language:HTML 56.0%Language:Python 38.7%Language:CSS 5.2%