Plugin: Backstage - Paste files directly from phone

Hi there,
I have been working on a plugin to import photos/files from phone directly to your Joplin desktop app. I have also previously discussed it here some time ago.
What this plugin does is it starts a lightweight server and shows the QR code of a unique login link to the user, the link (and the QR code) changes every 30 seconds to reduce chances of brute-force attacks. The link opens up a webpage using which you can upload files, images, texts etc directly to your note and it will get pasted to your note on desktop. The whole process does not use/require internet connection but you need to be on same network (like WiFi or LAN). There is also an option to temporarily disable the service if you plan on not use it for some time.

Features

  • Does not require internet or any 3rd party services.
  • Super fast file transfer since it uses your local network.
  • Use phone camera to instantly take photos, scan documents and paste it.
  • Ability to disable the service when not required without logging out your device.
  • Works with almost any OS and device type: iOS, Android, Windows, phones, desktops (anything that can run a modern browser).
  • No need for USB cables, file transfer happens over your local network.
  • Built to be as lightweight as possible.
  • Can use it to type or copy large texts from other devices.

Demo video

Screenshots



Links

repo: GitHub - asrient/backstage
npm: joplin-plugin-backstage - npm

12 Likes

Thanks for making this! I'm not sure it is something that I would use, but it seems like it would be useful to many people.

1 Like

Hey @asrient

Thanks a lot for making this plugin available. It is fast, slick and helps my workflow.

I am wondering if it is also possible to use the same backend mechanism to sync all of Joplin (notes, notebooks etc.) between phone and the desktop? This would allow fast direct syncing.

Some related topics with use cases,

Cheers !

1 Like

Hi,
I'm glad you found this plugin useful.

I am wondering if it is also possible to use the same backend mechanism to sync all of Joplin (notes, notebooks etc.) between phone and the desktop? This would allow fast direct syncing.

The backend simply starts a server and lets clients send some media/texts which it then appends to the note body, syncing is quite a different process. Syncing involves maintaining a common folder (either on cloud or remote fs) collectively.

I think what you are trying to do here is to make your desktop the sync target for other devices, it's an interesting idea and lots of ways to implement if you think about it. The closest possible way right now would be to use the filesystem sync that you mentioned in the links. And you can also use WebDAV sync option on your phone to connect it to your desktop.
To elaborate, your desktop app is set to sync to a folder on your computer, after this you setup a webDAV server on your computer that will give others access to that folder, next you set your mobile Joplin app to sync to that webDAV server (linking to that particular folder).
But all this is a tedious process and not practical if your local ip changes often.