[Feature Request] BookOrbit service widget #6838
Replies: 2 comments 2 replies
|
@shamoon - disclaimer AI assisted, but I reviewed code and validated against a live BookOrbit instance. I'm holding off on a PR until the feature request reaches 20 upvotes. I am happy to open a PR when ready. I've built this branch here: https://github.com/drinksomewhiskey/homepage/tree/feature/bookorbit-widget The BookOrbit widget shows libraries, books, reading and finished. BookOrbit issues short-lived access tokens rather than API keys, so the widget signs in with a username and password and renews the token as it expires (similar to Booklore's widget). widget:
type: bookorbit
url: https://bookorbit.host.or.ip
username: username
password: password
libraries: [eBooks, Audiobooks] # optional, defaults to all if excluded
combine: false # optional, defaults to true
I realize the guidelines say 1 row per widget. I allowed for multiple rows in this build to show ebooks and audiobooks in one widget since BookOrbit services both. I can limit to one row (i.e., all or one selected library) if required. Wrap more than one value in A library of audiobooks is labelled "Listening" rather than "Reading". For anyone eager to try it out / provide feedback... It needs a custom image until it's merged: git clone -b feature/bookorbit-widget https://github.com/drinksomewhiskey/homepage.git
cd homepage && docker build -t homepage:bookorbit .then point your compose |
I hope a few others show some interest here, as I deploy homepage via a Proxmox LXC, and switching to a fork is a pain. Regardless, looks like some great work @drinksomewhiskey, thank you! |
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Description
BookOrbit now includes API. Any chance a service widget can be made?
Other
https://github.com/bookorbit/bookorbit
All reactions