https://github.com/josesiqueira/zotero-watch-folder
Zotero 8 plugin that monitors a folder for new files and auto-imports them with metadata retrieval, smart rules, duplicate detection, and collection synchronization
https://github.com/josesiqueira/zotero-watch-folder
folder-monitor watch-folder zotero zotero-addon zotero-api zotero-plugin zotero8
Last synced: 15 days ago
JSON representation
Zotero 8 plugin that monitors a folder for new files and auto-imports them with metadata retrieval, smart rules, duplicate detection, and collection synchronization
- Host: GitHub
- URL: https://github.com/josesiqueira/zotero-watch-folder
- Owner: josesiqueira
- License: gpl-3.0
- Created: 2026-02-05T17:12:57.000Z (5 months ago)
- Default Branch: main
- Last Pushed: 2026-05-23T09:56:17.000Z (about 1 month ago)
- Last Synced: 2026-05-23T11:28:59.237Z (about 1 month ago)
- Topics: folder-monitor, watch-folder, zotero, zotero-addon, zotero-api, zotero-plugin, zotero8
- Language: JavaScript
- Homepage:
- Size: 386 KB
- Stars: 7
- Watchers: 0
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
- awesome-zotero - Zotero Watch Folder - - Zotero plugin to watch a folder and auto-import PDFs with metadata retrieval and content-hash deduplication, plus optional two-way collection-to-folder sync with recoverable safe-delete. (Extensions / File Management)
README
# Zotero Watch Folder
**Drop a PDF into a folder on your computer β it shows up in Zotero a few seconds later, with its metadata filled in and a tidy filename. No dragging, no clicking, no manual import.**
Point the plugin at a folder, pick the Zotero collection it belongs to, and that's it. From then on, anything you save into that folder is pulled into your library automatically. If you like, the plugin can also keep your folders and your Zotero collections mirrored to each other β so the way you organise things on disk and the way you organise them in Zotero stay the same.
π **[Open the user guide β](https://josesiqueira.github.io/zotero-watch-folder/)** β a friendly walkthrough with screenshots-in-words, a full settings reference, and answers to common questions. The same guide ships inside the plugin and opens straight from the settings pane.
Works with **Zotero 7, 8, and 9**. Tested on the latest Zotero 9.
---
> [!WARNING]
> **Back up your folder and your Zotero library before you start.**
>
> Depending on the mode you choose, this plugin can **rename, move, and even delete files on your disk** to keep your folder and Zotero in step. It can also create and rename **Zotero collections** to match your folders. That's the whole point β but it means a wrong setting on a folder full of papers you care about can ruin your day.
>
> Two minutes of insurance before you flip it on:
> - **Copy your folder somewhere safe** (drag it to a backup drive, let your cloud service snapshot it β anything).
> - **Back up your Zotero library** β either make sure Zotero Sync is up to date, or use `File β Export Libraryβ¦ β Zotero RDF`.
> - **Start in Mode 1 (Import only).** It only ever *adds* things. Get a feel for it before trying the mirror modes.
>
> Mode 3 keeps a recoverable trash folder so most mistakes can be undone β but a backup is still the thing that lets you sleep at night.
---
## What it does, in plain terms
- **You save a PDF, it lands in Zotero.** Drop a file into your watched folder and within a few seconds it's an item in your library β metadata looked up, filename cleaned up (e.g. `Smith - 2021 - A Great Paper.pdf`).
- **Your folders and Zotero collections can stay in sync.** Make a subfolder, get a subcollection. Rename one, the other follows. (Optional β only in the mirror modes.)
- **It won't make duplicates.** Save the same paper twice and the plugin recognises it and skips it.
- **Nothing gets lost by surprise.** It refuses to overwrite a file you've edited, pauses if your folder goes missing (e.g. an unplugged drive), and asks before doing anything that affects a lot of files at once.
- **Mistakes are recoverable.** In the delete-capable mode, removed files go to a recoverable trash inside your folder, and you can put them back.
## Pick how hands-on it is: three modes
You choose a mode during setup, and you can switch any time from the settings β no restart needed.
| Mode | What it does | Who it's for |
|---|---|---|
| **Mode 1 β Import only** | New files get imported. Nothing is ever moved or deleted. The safest option. | Most people. Start here. |
| **Mode 2 β Mirror, no deleting** | Your folders and Zotero collections mirror each other both ways. Renames and moves follow along. Deletions are only flagged, never carried out. | People who organise in folders and want Zotero to match. |
| **Mode 3 β Mirror with safe delete** | Full two-way sync, including deletions β but deleted files go to a recoverable trash, and big deletions ask first. | People who want their folder and Zotero to be exact mirrors. |
## Install
1. Download the latest `.xpi` from the **[Releases page](https://github.com/josesiqueira/zotero-watch-folder/releases)**.
2. In Zotero, open **Tools β Plugins**.
3. Click the gear icon β **Install Add-on From Fileβ¦**
4. Choose the `.xpi` you downloaded, and restart Zotero if asked.
5. Open **Edit β Settings β Watch Folder** (on a Mac: **Zotero β Settings**) and click **Set up Watch Folderβ¦**. The wizard walks you through it: pick the folder, pick the Zotero collection that anchors everything, pick a mode, and turn it on.
After that you don't have to think about it. New releases install themselves automatically through Zotero.
## A few things worth knowing
**Will it rename or move my files on disk?**
In Mode 1, no β it only imports. In Modes 2 and 3, yes: keeping your folder and Zotero mirrored means the plugin renames and moves files to match. That's expected behaviour, not a bug. If you don't want your files touched, stay in Mode 1.
**Does it sync my PDFs to my phone / other computers?**
Not by itself β the plugin works on your computer. What reaches your phone is whatever **Zotero's own sync** carries. Zotero syncs all your item *information* (titles, authors, collections) for free and without limit, so you'll always see your papers listed everywhere. The PDF *files* only sync if you have room in your **Zotero storage quota** (the free tier is 300 MB). If you import a lot of PDFs the normal way ("stored" files), you can fill that up β at which point new files stay on your computer but stop uploading. You can either buy more Zotero storage, or set the plugin to **linked** files (it then points at the files in your folder instead of copying them into Zotero, so they don't count against your quota β but they also won't open on your phone).
**What if my folder is on a cloud drive (Dropbox, pCloud, etc.)?**
That works well on a single computer. Across several computers it gets tricky, because two machines syncing the same folder *and* talking to Zotero can step on each other. If you go multi-device, prefer letting Zotero handle the syncing, and keep the watch folder local.
**Something looks off β where do I look?**
The settings pane surfaces anything that needs your attention: suppressed items, conflicts, sync warnings, and a "restore trashed folders" option. Each comes with a button to resolve it. The [user guide](https://josesiqueira.github.io/zotero-watch-folder/) has a whole chapter on "when something looks off."
## Getting help
Found a bug or have an idea? Open an issue at **[github.com/josesiqueira/zotero-watch-folder/issues](https://github.com/josesiqueira/zotero-watch-folder/issues)**.
## License
GNU GPL v3.0 β free and open source. See [`LICENSE`](LICENSE) for the full text.
---
*Building from source, contributing, or just curious how it works under the hood? See **[docs/DEVELOPERS.md](docs/DEVELOPERS.md)** and the visual **[docs/architecture.md](docs/architecture.md)**.*