How to share a URL via NFC?

Hi! Just got my flipper and have been playing around with it, mega fun! I saw @Astra share a .nfc file before that opens the Flipper website when a phone taps it. How could I make one of those .nfc files to share a URL that I want?

Thanks!

1 Like

I do not think Flipper can generate this for you…

What I did was use the Android App Tag Writer to write a URL to a NCF sticker then read the sticker into my Flipper.

Here is the file from my Flipper, when read/scanned should direct to YouTube to be RickRoll’ed
Rickroll.nfc (3.3 KB)

1 Like

I did exactly the same way.

@nickflip :

Try this python script gen_url_nfc.py

Example Use:
./gen_url_nfc.py https://youtu.be/dQw4w9WgXcQ "Rick Roll" > save_file.nfc

NOTE: this requires ndeflib library – NOT ndef (they both instal with the same name).

1 Like

This is so amazing! Thanks a ton for making it @evlpete! The script I noticed was just missing a space on line 68 but after that change, put it on my flipper and it worked great! Kudos to you

1 Like

Sorry, I’m new to Python… Where do you place the url in the script? Or where do you place the “./gen_url_nfc.py https://youtu.be/dQw4w9WgXcQ “Rick Roll” > save_file.nfc”?