A Zotero plugin that integrates your Zotero library with Anytype using the Anytype local API.
- Export Zotero items to Anytype as fully formatted pages
- Create structured bibliographic entries with metadata in Anytype
- Attach PDFs and other files from Zotero to your Anytype pages
- Maintain links between your research sources in Zotero and your notes in Anytype
- Automatically update Anytype when your Zotero library changes
- Zotero 5.0 or higher
- Anytype with local API enabled
- An Anytype API key
- Your Anytype space ID
Before using the plugin, you need to configure it with your Anytype API credentials:
- Open Anytype and enable the local API in settings
- Generate an API key in Anytype (Settings > Developer > API Keys)
- Note your Space ID (visible in the URL when viewing your space or in space settings)
- In Zotero, after installing the plugin, go to Edit > Preferences > Anytype
- Enter your API key and Space ID
- Select your preferred template for exported items
- Download the latest release
.xpifile from the releases page - In Zotero, go to Tools → Add-ons
- Click the gear icon and select "Install Add-on From File..."
- Select the downloaded
.xpifile - Restart Zotero when prompted
- Select items in your Zotero library
- Click the "Export to Anytype" button in the toolbar or from the Tools menu
- The plugin will connect to your local Anytype instance via the API
- Selected items will be created as pages in your Anytype space
- The export dialog will show progress and provide links to the created pages
The plugin uses the Anytype local API to create pages from your Zotero items:
- Initialization: The plugin initializes by loading your API key and Space ID from the preferences.
- API Connection: It establishes a connection to the Anytype local API using the provided credentials.
- Data Retrieval: The plugin retrieves the selected Zotero items and their associated data (e.g., metadata, file attachments).
- Page Creation: For each Zotero item, the plugin creates a corresponding page in Anytype, using the item's metadata to populate the page content and structure.
- File Attachment: If configured, the plugin attaches related files (e.g., PDFs) from Zotero to the newly created Anytype pages.
- Link Maintenance: The plugin maintains links between Zotero items and Anytype pages, enabling easy navigation between your research and notes.
- Automatic Updates: It can automatically update Anytype pages when changes are detected in the Zotero library, ensuring your notes are always in sync with your research.
Run the build script to create an installable .xpi file:
chmod +x build.sh
./build.shThe built plugin will be placed in the builds directory.
bootstrap.js: Plugin initialization and lifecycle managementchrome/content/scripts/main.js: Main plugin codechrome/content/overlay.xul: UI componentsinstall.rdf: Plugin metadata
This project is licensed under the MIT License - see the LICENSE file for details.