Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add ability to import books from frontend #54

Open
th3r00t opened this issue Aug 3, 2020 · 6 comments
Open

Add ability to import books from frontend #54

th3r00t opened this issue Aug 3, 2020 · 6 comments
Labels
enhancement New feature or request
Milestone

Comments

@th3r00t
Copy link
Owner

th3r00t commented Aug 3, 2020

Adding this functionality will allow the docker release to be updated in-situ. Currently it is not possible to update the library once deployed

@th3r00t th3r00t added the enhancement New feature or request label Aug 3, 2020
@th3r00t th3r00t added this to the Version 0.6.0 milestone Aug 3, 2020
@arist0v
Copy link

arist0v commented Dec 3, 2022

When i click import ebook, as a user i was expecting a file browser to open to select the ebook i want to import so i don'T have to manually copy ebook to a central server (which may not be on my own computer)

@arist0v
Copy link

arist0v commented Dec 3, 2022

i'm not familliar (yet) with the django part, but if you could create the ui part in a branch, and tell me wich function i should create i could start by taking a look at this feature

@th3r00t
Copy link
Owner Author

th3r00t commented Dec 3, 2022

Ive actually removed django completely from the stack in version 0.7.1-dev I wouldnt suggest the dev branch in production use right now as it only has a home screen for the ui. I will be fleshing that out some today.

The new interface will be based purely around FastAPI and jinja templating,

@arist0v
Copy link

arist0v commented Dec 3, 2022

ok , i'm still not good yet with the ui part, so if you would like to add a button (import from file) that run a specific python function, you could give me the command and argument with expected return value (if needed) and i'll start working on it if it could help( i don'T have much time yet to start learning ui, but i could surely help with the python part)

@th3r00t
Copy link
Owner Author

th3r00t commented Dec 3, 2022

pyShelf.py line 20 is an example of what the import book system looks like currently. You cant as of now import a single book at a time (though this could become a feature for sure) imports are done currently by scanning an entire folders contents, and importing any books found not currently present in the database.

@arist0v
Copy link

arist0v commented Dec 3, 2022

i saw that i can'T import ebook without droping them somewhere else, wich is bad for me because i want to run my pyshelf on a isolated server so no ui and no direct link(like shared folder) so i would like to have a UI part to upload ebook individually(or maybe a zip file containing multiple ebook.

what i offer you is, if you can do the UI part, to code the python backend part to upload from file. It could help you going faster on the developpement having someone to help, i'm not good at frontend but could give you lot of help on backend.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
Status: Wishlist
Development

No branches or pull requests

2 participants