added threading for the lyrics download for speed
added update print to console if updated
This commit is contained in:
41
canvas/README.md
Normal file
41
canvas/README.md
Normal file
@@ -0,0 +1,41 @@
|
||||
# Spotify Canvas Downloader
|
||||
Tool to get Canvas cover videos from Spotify tracks.
|
||||
|
||||
|
||||
## ✨ [Try it out](https://canvastify.delitefully.com)
|
||||
|
||||
|
||||
### Building
|
||||
|
||||
- Clone the repository
|
||||
```sh
|
||||
git clone https://github.com/Delitefully/spotify-canvas-downloader
|
||||
```
|
||||
- Configure the env variables
|
||||
```sh
|
||||
mv env.example .env
|
||||
```
|
||||
- Build the image using Docker Compose
|
||||
```sh
|
||||
docker-compose up
|
||||
```
|
||||
|
||||
### Development
|
||||
Recompile protocol buffer proto (useful when upgrading protobuff):
|
||||
```
|
||||
protoc ./protos/canvas.proto --python_out=./src/
|
||||
```
|
||||
Requires the [Protocol Buffers package](https://developers.google.com/protocol-buffers/docs/downloads).
|
||||
### API
|
||||
|
||||
```http
|
||||
GET /api/canvas/:trackId
|
||||
```
|
||||
Returns
|
||||
```json
|
||||
{
|
||||
"success": boolean
|
||||
"canvas_url": string, if success is 'true'
|
||||
"message": string, error message if success is 'false'
|
||||
}
|
||||
```
|
||||
Reference in New Issue
Block a user