{"id":13420560,"url":"https://github.com/nfc-tools/libfreefare","last_synced_at":"2025-04-04T04:10:13.521Z","repository":{"id":28690022,"uuid":"32210106","full_name":"nfc-tools/libfreefare","owner":"nfc-tools","description":"A convenience API for NFC cards manipulations on top of libnfc.","archived":false,"fork":false,"pushed_at":"2024-07-25T07:13:30.000Z","size":807,"stargazers_count":421,"open_issues_count":47,"forks_count":106,"subscribers_count":32,"default_branch":"master","last_synced_at":"2025-03-28T02:16:02.964Z","etag":null,"topics":["c","libfreefare","libnfc","mifare","mifare-desfire","mifare-ultralight","mifare1k","nfc"],"latest_commit_sha":null,"homepage":"","language":"C","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/nfc-tools.png","metadata":{"files":{"readme":"README.md","changelog":"ChangeLog","contributing":null,"funding":null,"license":"COPYING","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":"AUTHORS","dei":null,"publiccode":null,"codemeta":null}},"created_at":"2015-03-14T12:18:01.000Z","updated_at":"2025-03-24T11:28:37.000Z","dependencies_parsed_at":"2024-12-13T17:04:20.932Z","dependency_job_id":"efeb9e99-7679-4ab5-8293-dc6ac9c3d3ea","html_url":"https://github.com/nfc-tools/libfreefare","commit_stats":{"total_commits":550,"total_committers":29,"mean_commits":18.96551724137931,"dds":"0.41454545454545455","last_synced_commit":"c2b0cfa4b9fb0e4be88604f00b7a2405618d5abc"},"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nfc-tools%2Flibfreefare","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nfc-tools%2Flibfreefare/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nfc-tools%2Flibfreefare/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nfc-tools%2Flibfreefare/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/nfc-tools","download_url":"https://codeload.github.com/nfc-tools/libfreefare/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247117764,"owners_count":20886439,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["c","libfreefare","libnfc","mifare","mifare-desfire","mifare-ultralight","mifare1k","nfc"],"created_at":"2024-07-30T22:01:36.281Z","updated_at":"2025-04-04T04:10:13.503Z","avatar_url":"https://github.com/nfc-tools.png","language":"C","funding_links":[],"categories":["TODO scan for Android support in followings","Uncategorized"],"sub_categories":["Uncategorized"],"readme":"# Introduction\n\n[![Build Status](https://travis-ci.org/nfc-tools/libfreefare.svg?branch=master)](https://travis-ci.org/nfc-tools/libfreefare)\n[![Join the chat at https://gitter.im/nfc-tools/libfreefare](https://badges.gitter.im/nfc-tools/libfreefare.svg)](https://gitter.im/nfc-tools/libfreefare?utm_source=badge\u0026utm_medium=badge\u0026utm_campaign=pr-badge\u0026utm_content=badge)\n\nThe _libfreefare_ project provides a convenient API for MIFARE card manipulations.\n\nIt is part of the _nfc-tools_, you can find more info on them on the [nfc-tools wiki](http://nfc-tools.org/).\n\nIf you are new to _libfreefare_ or the _nfc-tools_, you should collect useful information on the [project website](http://nfc-tools.org/) and the [dedicated forums](http://www.libnfc.org/community).\n\n# Feature matrix\n## Tags\n| Tag                 | Status        |\n|:--------------------|:--------------|\n| FeliCa Lite         | Supported     |\n| MIFARE Classic 1k   | Supported     |\n| MIFARE Classic 4k   | Supported     |\n| MIFARE DESFire 2k   | Supported     |\n| MIFARE DESFire 4k   | Supported     |\n| MIFARE DESFire 8k   | Supported     |\n| MIFARE DESFire EV1  | Supported     |\n| MIFARE Mini         | Supported     |\n| MIFARE Plus S 2k    | Not supported |\n| MIFARE Plus S 4k    | Not supported |\n| MIFARE Plus X 2k    | Not supported |\n| MIFARE Plus X 4k    | Not supported |\n| MIFARE Ultralight   | Supported     |\n| MIFARE Ultralight C | Supported     |\n| NTAG21x             | Supported     |\n\n## Specifications\n| Specification                         | Status    |\n|:--------------------------------------|:----------|\n| Mifare Application Directory (MAD) v1 | Supported |\n| Mifare Application Directory (MAD) v2 | Supported |\n| Mifare Application Directory (MAD) v3 | Supported (part of Mifare DESFire support) |\n\n# Installation\n\n## For *NIX systems\n\nYou can use released version (see **Download** section) or development version:\n\nFirst, ensure all dependencies are installed:\n* [libnfc](https://github.com/nfc-tools/libnfc);\n* git;\n* Autotools (autoconf, automake, libtool);\n* OpenSSL development package.\n```\napt-get install autoconf automake git libtool libssl-dev pkg-config\n```\n\nClone this repository:\n```\ngit clone https://github.com/nfc-tools/libfreefare.git\ncd libfreefare\n```\n\nBefore compiling, remember to run:\n```\nautoreconf -vis\n```\n\nYou can now compile **libfreefare** the usual autotools way:\n```\n./configure --prefix=/usr\nmake\nsudo make install\n```\n## For Windows Systems\n\n### Requirements\n\n* cmake\n* make\n* mingw{32,64}-gcc\n\n### Building\n\n    mingw64-cmake -DLIBNFC_INCLUDE_DIRS=/path/to/libnfc-source/include  -DLIBNFC_LIBRARIES=/path/to/libnfc.dll\n    mingw64-make\n\n# Debug\nIn order to debug using gdb, you should tune the CFLAGS:\n```\nCFLAGS=\"-O0 -ggdb\" ./configure --prefix=/usr\nmake clean all\n```\n\nIt is then possible to debug examples using this kind of command from the root of the repository:\n```\n./libtool --mode=execute gdb examples/mifare-classic-write-ndef\n```\n\nIf you are only interested in viewing transfert traces between the PCD and the PICC, simply use the `--enable-debug` configure flag:\n```\n./configure --enable-debug\nmake clean all\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnfc-tools%2Flibfreefare","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fnfc-tools%2Flibfreefare","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnfc-tools%2Flibfreefare/lists"}