nfsee icon indicating copy to clipboard operation
nfsee copied to clipboard

Allow to export card data to file or clipboard

Open luisschwab opened this issue 2 years ago • 4 comments

It would be very nice to be able to export data encoded on the card to a file, or even copy it to the clipboard.

Copying unique ID's is easy enough, but I have cards encoded with over 100 lines of JSON. Pretty much makes it impossible to work with the data.

luisschwab avatar Jan 04 '23 23:01 luisschwab

The problem with exporting data is that different types of tags have different data on them. While it is straghtforward to generate a JSON clip (in fact we use JSON to pass data around, which you can see in read.js), it is not easy to come up with a general abstraction / data format.

Harry-Chen avatar Jan 05 '23 09:01 Harry-Chen

maybe just allow for copy paste on each field then?

luisschwab avatar Jan 05 '23 13:01 luisschwab

So... I came here looking for the same thing. My solution for now was: Create a backup of the app data over ADB -> decompress the backup -> view the sqlite database. For a temporary solution we could just export the data ROW. It's JSON and it's a way of sharing the dumps.

Frostie314159 avatar Jan 20 '23 12:01 Frostie314159

For the time being, I have created a small script, that downloads app data. Just run it like this ./dump_app_data.sh im.nfc.nfsee and you will find the app data.

Frostie314159 avatar Jan 20 '23 12:01 Frostie314159