An Obsidian plugin that finds and deletes orphan files — files that have no incoming or outgoing links anywhere in your vault — so you can keep your vault free of stray notes and attachments.
.trash, or permanent deletion).md png jpeg pdf).Open Settings → Orphan Cleaner to configure:
md png jpeg pdf.main.js, manifest.json, and styles.css from the latest release.<VaultFolder>/.obsidian/plugins/orphan-cleaner/.npm install # install dependencies
npm run dev # compile in watch mode
npm run build # type-check and produce a production build
npm run lint # run eslint
Copy or symlink the repo into <VaultFolder>/.obsidian/plugins/orphan-cleaner/ for local testing, then reload Obsidian after each build.
See LICENSE.