I built a small desktop tool for managing Joplin resources (attachments) that I'd like to share with the community.
Joplin Resource Tool talks directly to the Joplin Data API and gives you a sortable, filterable table of all your attachments with the following actions per resource:
Open — opens the file directly from the Joplin profile directory using your system's default application (no copy created)
Save as… — download a resource to any location
Edit… — rename a resource; optionally rewrites the Markdown link text in all referencing notes automatically
Delete… — permanently remove a resource with a confirmation dialog
Additional features:
Check usage in notes — reveals how many notes reference each resource and highlights orphaned attachments (0 references) in red
Open in Joplin — jump directly to any linked note from the edit dialog
Fully translatable via GNU gettext — German included, more welcome via pull request
Available as a self-contained Linux AppImage (no dependencies required)
I would integrate it into the given Joplin Resource view. But my knowledge in Typescript is to less for the project. So I leave it in the Python area... Sorry.
I tried this and it revealed a surprising number of orphaned attachments. However when I examined them I saw that many of them were actually referenced in notes.
Using 1.0.6 there were a lot less resources reported as orphaned and I could not find any wrong entries. Thanks for the update.
I did notice that with 1.0.6 when you press the "Check usage in notes" box the status bar says "Scanning notes for resource usage..." but there is no longer a counter. It does complete but it looks as if the app has crashed when it hasn't. This isn't helped by the fact that the "Check usage in notes" tick box does not actually show the tick until after the scan is finished.
useful tool! being able to change attachment titles away from useless stuff like pasted.png or random auto-generated names is something I always wished the built in attachment manager could do