将 Zotero 导出到独立的网站
Create an Interactive Website from Your Zotero Library
This project exports your local Zotero library to a usable HTML website with following features:
See the full documentation. The API reference is also available.
The library can be installed with pip from the pypi repository:
pip3 install zensols.zotsiteThe tool does the following:
See the live demo, which provides a variety of resources found in my own library. Note: To my knowledge, all of these resources are free to distribute and violate no laws. If I've missed one, please create an issue.
BetterBibtex plugin for Zotero.
The library is typically used from the command line to create websites, but it can also be used as an API from Python.
The command line program has two modes: show configuration (a good first step) and to create the web site. You can see what the program is parsing from your Zotero library:
zotsite printTo create the stand-alone site, run the program (without the angle brackets):
zotsite exportIf your library is not in the default ~/zotero directory you will need to
change that path by making a zotsite.conf config file. This will create the
html files in the directory ./zotsite:
zotsite export --collection zotsite.confA mapping of BetterBibtex citation keys to Zotero's database unique item keys can be useful to scripts:
zotsite citekey -k allThe tool also provides a means of finding where papers are by item key:
zotsite docpath -k allSee usage for more information. Command line usage as provided
with the --help option.
The API provides access to a Python object that creates the website, can resolve BetterBibtex citation keys to Zotero unique identifier item keys and provide paths of item attachments (such as papers).
The following example come from this working script.
…Either an environment variable ZOTSITERC must be set or a -c configuration
option must be given and point to a file to customize how the program works.
See the test configuration file for an example and inline comments for more
detail on how and what can be configured.
Also see the live demo.

Please read this issue if you are installing a Ubuntu or any Linux system with Python 3.5 or previous version.
This software uses:
mins
are added in the distribution to same directory as
the main navigation/content file.This is listed as a plugin on the Zotero site.
An extensive changelog is available here.
Please star this repository and let me know how and where you use this API. Contributions as pull requests, feedback, and any input is welcome.
Copyright (c) 2019 - 2026 Paul Landes
暂无开放 Issues,或尚未同步最近议题。