How muisedestiny/zotero-style works
Ethereal Style is a Zotero add-on that enriches the library with reading, tagging, rating, publication, and graph views. The main runtime path initializes the add-on, chooses a metadata store, registers event handling, and builds Zotero UI features. README capabilities are represented even where their implementations were only partially sampled. Edges follow shown startup calls, imports, or README descriptions; unsampled internals and external service wiring are not inferred.
Main entry points: views.ts Column and view UI · hooks.ts Startup hooks · events.ts Library events · graphView.ts Relation graph
Components 18
Runtime setup
- Addon entry
src/index.ts - Addon lifecycle
src/addon.ts - Startup hooks
src/hooks.ts - Library events
src/modules/events.ts
Metadata storage
- Note-backed store
src/modules/item.ts - File-backed store
src/modules/localStorage.ts
Library features
- Column and view UI
src/modules/views.ts - Nested tags
src/modules/tags.ts - Publication ranks
src/modules/easyscholar.ts - Publication updates
src/modules/utils.ts - Request helpers
src/modules/requests.ts
Reading visuals
- Relation graph
src/modules/graphView.ts - Graph tooltips
src/modules/bubble.ts - Reading progress
src/modules/progress.ts - Vector rendering
src/modules/zotero-raphael.js
Settings and locale
- Preferences
src/modules/prefs.ts - Localization
src/modules/locale.ts
Other components
- Zotero
Connections 23
- Zotero → Addon entry: loads plugin
src/index.ts - Addon entry → Addon lifecycle: creates
src/index.ts - Addon lifecycle → Startup hooks: registers hooks
src/addon.ts - Startup hooks → Preferences: registers settings
src/hooks.ts - Startup hooks → Localization: initializes locale
src/hooks.ts - Startup hooks → Note-backed store: selects storage
src/hooks.ts - Startup hooks → File-backed store: selects storage
src/hooks.ts - Startup hooks → Library events: starts event handling
src/hooks.ts - Startup hooks → Column and view UI: creates views
src/hooks.ts - Library events → Note-backed store: uses storage
src/modules/events.ts - Library events → File-backed store: uses storage
src/modules/events.ts - Column and view UI → Reading progress: renders progress
src/modules/views.ts - Column and view UI → Publication ranks: uses rank data
src/modules/views.ts - Column and view UI → Publication updates: updates publication data
src/modules/views.ts - Column and view UI → Relation graph: creates graph view
src/modules/views.ts - Column and view UI → Nested tags: initializes tag view
src/modules/views.ts - Relation graph → Graph tooltips: creates tooltips
src/modules/graphView.ts - Reading progress → Vector rendering: renders curves
src/modules/progress.ts - Column and view UI → Note-backed store: reads metadata
src/modules/views.ts - Column and view UI → File-backed store: reads metadata
src/modules/views.ts - Column and view UI → Nested tags: supports nested tags
README.md - Column and view UI → Reading progress: shows reading progress
README.md - Column and view UI → Relation graph: shows item graph
README.md