mirror of
https://github.com/Googolplexed0/zotify.git
synced 2026-04-24 22:05:53 +03:00
[GH-ISSUE #125] [Feature Request] Flask API #109
Labels
No labels
bug
considering
discussion
documentation
enhancement
enhancement
good first issue
help wanted
pull-request
question
stale
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/zotify#109
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @wchorski on GitHub (Nov 22, 2025).
Original GitHub issue: https://github.com/Googolplexed0/zotify/issues/125
Related Problem/Issue
Is this Feature Request related to an existing GitHub Issue or Bug Report?
No
description of what the problem is
Embed a HTTP server for GET and POST requests from any frontend client. Use Flask as a backend that accepts the url and sends back the downloaded files to the client.
Ideal Solution
Use Flask to generate
/downloadand/fileendpoints. This can be deployed with the Docker container with acompose.ymlfile. And editable.envfile setting CORS. This means you can chose between the plain CLI tool or add on the flask api.This container is highly available. The container runs continuously and awaits requests that triggers the
zotifyapp when needed. No need to deploydocker run --rm ....every time the app is needed.Considered Alternatives
Forked Example
https://github.com/wchorski/zotify/tree/flask-api
Let me know if you'd prefer a pull request or just pick through my code.
Credentials and Config
These files can be created on a different machine and mapped into the container. Check out
compose.yml.exampleFrontend Example
Here is a functioning frontend client that could be deployed in the same
compose.ymlfile with an NGINX container.