Skip to content

Copilot/add talebook backend support - #18

Open
valuex wants to merge 3 commits into
ptbsare:mainfrom
valuex:copilot/add-talebook-backend-support
Open

Copilot/add talebook backend support#18
valuex wants to merge 3 commits into
ptbsare:mainfrom
valuex:copilot/add-talebook-backend-support

Conversation

@valuex

@valuex valuex commented Jul 12, 2026

Copy link
Copy Markdown

添加对talebook的支持。

Copilot AI added 3 commits July 12, 2026 06:21
- Add LIBRARY_PROVIDER config key (calibre|talebook, default: calibre)
- Add TALEBOOK_URL/USERNAME/PASSWORD/TIMEOUT/VERIFY_SSL config keys
- Create utils/library_provider.py with provider detection, auth
  selection, base URL routing, and library_request() wrapper
- Route get_calibre_book_details() and download_calibre_book() through
  provider wrapper in blueprints/api/calibre.py
- Route book search/list requests through provider wrapper in
  blueprints/main.py
- Route cover fetch through provider wrapper in utils/covers.py
- Replace hardcoded library_type='calibre' with get_provider() in
  download/push-to-Kindle/push-to-Anx log calls in blueprints/api/books.py
- Add TALEBOOK_VERIFY_SSL to boolean checkbox handling in
  blueprints/api/settings.py
- Update docker-compose.yml with Talebook env var examples and optional
  Talebook service section
- Update README.md with Talebook configuration table entries and a new
  'Using Talebook as the Library Backend' section
- Fix typo in covers.py comment (活跃 -> 激活)
- Extract _get_credentials() helper in library_provider.py to remove
  duplicated username/password retrieval logic
- Restore URL context in download_calibre_book() error log
@ptbsare

ptbsare commented Aug 8, 2026

Copy link
Copy Markdown
Owner

您好,感谢您的提交
请问您链接TaleBook是遇到什么问题了吗,TaleBook与原版calibre的数据库格式是否不同?
是否已经在本地测试过此pr可以正常链接TaleBook

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants