-
-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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 Kindle-friendly browser interface #3008
base: master
Are you sure you want to change the base?
Conversation
If anyone wants to try this out with Docker, I've made a custom Docker image carderne/calibre-web based on the linuxserver one but with this modification. The only difference is these two extra pages janeczku I've read your README update so I won't expect a prompt response. Let me know if the naming of the forked Docker image or anything else rankles and I'll be happy to change it. |
(Could also do this with by detecting the Kindle User-Agent, but that would involve changing the main routes, so I've left it with this light-touch method for now...) |
Have updated my fork a bit:
|
This is great! Exactly what I was looking for. The search box is a bit wonky as well as logout appears under home but I assume it should be on the far right. But all in all it does what I was looking for and that was to grab a book from my Calibre library through the Kindle browser. |
@jamescochran Have updated my fork to only use old-school CSS, please try again! |
Very nice! I like it a lot. As a Kobo user who prefers this simple system over the more complex kobo syncing, I might at some point fork this myself and try to figure out how to add a link that will download epub in kepub format. I think the logic on this would be...
this is not a feature request, just thinking "aloud"! |
Same as @jamescochran with the only difference being that I don't have the login/logout option. I think it may be because I have the anonymous login enabled. |
quick update, just installed carderne/calibre-web:0.6.21-3 and the search button is in the proper place. The size of the search elements looks off, but I guess that this is caused by the way the Kindle browser renders that type of object, or it is getting that from the main site. |
@pnatel can you share a photo of what you mean about "the search elements look off"? Maybe I can fix that. |
Oh damn ok I tested with an old-style Paperwhite and the new Paperwhite, but that's a third target. Not sure how I'll fix that without an Oasis to hand. Any chance you'd be able to run calibre-web locally and fiddle with the CSS? The |
Created a pull request to your repo with small changes: |
merge upstream
Great, exactly what I was looking for! |
@pnatel your change is now available (along with other upstream updates from calibre-web) on Docker now as the following image: |
Thank you very much! |
I really hope this gets merged in! I set up a server for friends and this would be a huge help, and I'd rather not have to set up a fork. Thank you for all the hard work! |
@OzzieIsaacs sorry to bother: |
Relevant issues
Background
It would be great to be able to use calibre-web from a Kindle and directly download books. My current flow is to use calibre-web to manage/explore books, and then a separate process to get the book onto the Kindle.
Description
This PR adds two new routes:
/basic?query=<term>
: equivalent of/search
/basic_book/<id>
: equivalent of/book/<id>
They have no CSS or JavaScript and very basic structure. This is aimed at creating a page that the Kindle web browser can easily handle.
The only features that are maintained:
<authors> - <title>
Comments
I went as basic as possible to create a small diff, demonstrate the purpose, and create a tiny maintenance surface area if this gets merged.
Some functionality could be added back, but it's a trade-off with the limited browser. Search, select and download is all I need, but others may have different requirements.
Obviously happy to implement this in a different way if you think preferable!
Screenshots
Search page, after searching
Book detail page