Yesterday, I wild-coded a nostr clipboard react native app.

Then I wanted to cross-compile it to android, windows, and linux. I thought I start with Windows to run it natively, so it can access the clipboard real time.

It was a total failure.

So I made a dummy app first, to test cross-compilation of react native apps. To make sure, that it works with a vanilla page.

Fast forward today, I managed to build it on windows.

So tomorrow is linux, android time, then adding the clipboard code.

Lets see.

But today also came to my mind, do you really want share all clipboard data over all your devices? I mean, its encrypted but still. The best protection is "only local".

Anyone using shared clipboards?

I kind of like the idea of nostr as a global identity, then you can share everything across devices and even between apps within devices.

Also started to think about if remote signing/noauth, can be upgraded.

Cheers! πŸ€™

#nostr

Reply to this note

Please Login to reply.

Discussion

Something like this comes to mind for solving the β€œsend file to myself across devices” issue I face. Is that the intent of a clipboard or are we talking just text here?

At first, text only, for the proof of concept. But could be extended for files.

How do you solve it now?

I either upload the file to a cloud provider (Dropbox) or email the file to myself

I highly recommend trying syncthing, that is the best for sharing across devices.

https://syncthing.net/

1. Install syncthing on your devices.

2. Share a common folder across all.

3. Anything you put in the folder will be synced.

Also works with sharing notes across devices! I used it with obsidian.

One caveat: Both device has to be online for the sharing to work. But just sharing files, this is always met.