Coder Social home page Coder Social logo

streammusiclyricsapi's Introduction

StreamMusicLyricsApi

Stream music lyrics api from Netease Music with translation support.

  • lrc.py returns at most 9 lyrics when searching online, sorted by similarity of title, album name, artist name, in json format.
  • lrc_single.py returns the highest similarity one in plain text, without translation.

Usage

Direct Execution

Steps:

  1. change lrc path in lrc.py to your .lrc file path
  2. run the python script
  3. set lyrics api in Stream music http://localhost:51232/lyrics
  4. set lyrics confirm api http://localhost:51232/lyrics/confirm

Docker Deployment

Steps:

  1. Build the Docker image:

    docker build . -t stream_music_lyrics_api

  2. Deploy the container:

docker run -d \
--name stream_music_lyrics_api \
-v /path/to/your/lyrics/folder:/lyrics \
-p 51232:51232 \
stream_music_lyrics_api:latest

Make sure to replace /path/to/your/lyrics/folder with the actual path to your lyrics folder.

截屏2024-05-17 20 56 10 截屏2024-05-25 21 30 18 截屏2024-05-17 20 54 50

streammusiclyricsapi's People

Contributors

yuygfgg avatar plsy1 avatar

Stargazers

 avatar  avatar

Watchers

 avatar

Forkers

plsy1

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.