A small set of scripts to read, test, and write Nova to NFC-enabled devices.
Find a file
2025-05-09 21:53:00 -07:00
nfcread.py Initial commit. 2025-05-09 21:07:23 -07:00
nfctest.py Initial commit. 2025-05-09 21:07:23 -07:00
nfcwrite.py Removing a comment. 2025-05-09 21:15:31 -07:00
README.md Added README. 2025-05-09 21:53:00 -07:00

NFC Scripts


This is a collection of scripts to read and write Nova code (or any arbitrary payload) to NFC devices using nfcpy.

Reading a Card

nfcread.py reads from an NFC device, converts the base64 payload into bytes, and decompressses those bytes using zlib.

nfcread.py

Writing a Card

nfcwrite.py writes a payload to an NFC device after compressing it with zlib and encoding the resulting bytes using base64.

The script can accept input via stdin, as well as multiple files.

nfcwrite.py [-w] [-s] [-i] [-m] <file(s)>

-w: Write to an NFC device.
-s: Sleep, waiting for the writer to warm up.
-i: Use standard input as payload to write.
-m: Minify Nova code.

Testing Cards

nfctest.py just runs nfcread.py in a loop, allowing you to view multiple cards back to back.

nfctest.py