buttercup / buttercup-mobile

:iphone: React-Native mobile application for Buttercup
https://buttercup.pw
GNU General Public License v3.0
391 stars 69 forks source link

Accept shared files / data #317

Open lfom opened 2 years ago

lfom commented 2 years ago

It would be really nice if it was possible to create new entries from attachments. Probably it is not trivial tho, so parsing the contents of text files into a note entry would be really great, so no need to use (unsafe) copy and paste to store private data.

Suggestion: make Buttercup receive shared text content or text files using the native Share feature, and then create a Note entry with the content.

perry-mitchell commented 1 year ago

So you mean like more native integration with local files/data? The ability to bring in local files as attachments, along with the share feature you mention?

lfom commented 1 year ago

@perry-mitchell I meant most apps allow you to "share" content via a native share menu, the system will list all apps that can accept that data, so Buttercup could accept any text shared from other apps and create a new Note with the contents. For instance, most apps allow you to select some text and share it, and Buttercup would receive the text and automatically create a Note entry with the text.

perry-mitchell commented 1 year ago

I like this idea!

It would probably need "offline" notes, files etc. that are added when vaults are unlocked. Buttercup should be able to accept these even if the vault is locked. But otherwise yes this is a good idea.

ldexterldesign commented 1 year ago

I meant most apps allow you to "share" content via a native share menu, the system will list all apps that can accept that data, so Buttercup could accept any VAULT shared from other apps

foo.webm

👋 https://github.com/buttercup/buttercup-mobile/issues/329