mirror of
https://github.com/open-webui/oikb.git
synced 2026-11-05 01:27:25 +00:00
[PR #93] [MERGED] feat(zotero): support multiple Zotero libraries via per-source library ID #107
Labels
No labels
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
open-webui/oikb#107
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?
📋 Pull Request Information
Original PR: https://github.com/open-webui/oikb/pull/93
Author: @psuckrow-routine
Created: 8/3/2026
Status: ✅ Merged
Merged: 9/16/2026
Merged by: @tjbck
Base:
main← Head:feat/multi-library-zotero📝 Commits (3)
c265facfeat(zotero): support multiple libraries via per-source library ID8bfb77erefactor(zotero): per-library env var resolution via _zotero_env helper8c38d57fix(sync): skip empty file content before upload📊 Changes
3 files changed (+68 additions, -15 deletions)
View changed files
📝
src/oikb/cli.py(+1 -1)📝
src/oikb/connectors/zotero.py(+61 -14)📝
src/oikb/sync.py(+6 -0)📄 Description
Extends the
zotero:source syntax to accept an optional numeric library ID prefix, enabling multiple Zotero libraries in a single daemon instance.Source syntax — embed the library ID before the collection path:
zotero:123456:orzotero:123456:Collection%%Sub. Plain collection paths (e.g.zotero:Research%%ML) are unchanged — collection names are not purely numeric so there is no ambiguity.Per-library env vars — a new
_zotero_env(key, library_id)helper resolvesZOTERO_*_<library_id>overrides with a fallback to the globalZOTERO_*. Covers all connector settings: API key, library type, checksum mode, notes/annotations, exclude patterns, unfiled dir, and WebDAV credentials.🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.