Skip to content

xishandong/Music_Web

Repository files navigation

Music Web

A simple music web, use pure css, js, and jinjia2 html, flask;

install

pip install requests
pip install pyexecjs2
pip install flask
pip install pymysql
pip install flask-sqlalchemy
pip install wtforms
pip install jieba
pip install werkzeug
npm install crypto-js
...
flask db init
flask db migrate
flask db upgrade

useage

this web use aplyer and demo in codepen

you need edit the config.py to add your own config

sql file not privided, if needed,you can buy it from me

all models are included,once you build the database,you can use this web

provides route to add song to the database(in user blueprint)

you need edit two files,first is wangyi.py in crawl_model dir, add your cookie. Then edit config, add your own database

function

  • login/logout
  • recommend
  • playlist
  • history
  • collected
  • play/play index
  • scroll lyrics
  • add song to the database
  • create playlist and edit
  • delete playlist
  • search song
  • upload avatar or playlist cover
  • ...

details

Home Page

img.png

Search Page

img.png

Playlist Page

img.png

Create Playlist

img.png

Playlist Index Page

img.png

Now Playing List Page

img.png

Now Playing Page

img.png

History Page

img.png

Recommend Page

img.png

Login and Register Page

img.png img.png

upload playlist from wangyi music

img.png img.png

show transition

img.png img.png