Joplin Resource Tool – Browse, rename, open and clean up your attachments

Hi everyone,

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)

GitHub: GitHub - AndreasPantle/JoplinResourceTools: Joplin Resource Tools · GitHub

Feedback, bug reports and translation contributions are very welcome!

This is cool. I wish it was part of Joplin

We have a way to manage resources under Tools => Attachments, although I assume this plugin does more

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.

After some trouble with the Github workflow :slight_smile: the server was creating some builds for Windows and macOS. Maybe someone can give it a try...

@andyy

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.

An example is shown below.

  • Joplin Desktop 3.6.15 Linux AppImage
  • Joplin Resource Tool 1.0.5

Ok thank you. I did some changes in between. So after the build was succeed please try 1.0.6.

Please note it still count even if your note is in trash bin... So it counts orphaned only if you empty it.

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.

Thanks again.

How much resources and notes are you currently have? I know this could take a while. On my side it works but it takes time.

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

A new tag is on the way. It count`s the resources during refreshing.

May be there is another user out with much more resources and notes for testing it...?

My setup has 456 resources which should be enough for testing without taking a long time to process.

I have looked at 1.0.7 and the counter is back! You can now see again that the app is actually working as it scans through all the notes.

Thanks.