{"id":13420420,"url":"https://github.com/nfc-tools/libnfc","last_synced_at":"2025-05-13T22:05:33.300Z","repository":{"id":29809685,"uuid":"33354099","full_name":"nfc-tools/libnfc","owner":"nfc-tools","description":"Platform independent Near Field Communication (NFC) library","archived":false,"fork":false,"pushed_at":"2025-03-05T13:47:26.000Z","size":2409,"stargazers_count":1794,"open_issues_count":113,"forks_count":447,"subscribers_count":76,"default_branch":"master","last_synced_at":"2025-04-29T13:51:54.749Z","etag":null,"topics":["c","libnfc","nfc","pcsc-lite"],"latest_commit_sha":null,"homepage":"http://nfc-tools.org","language":"C","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"lgpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/nfc-tools.png","metadata":{"files":{"readme":"README-Windows.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-04-03T08:17:32.000Z","updated_at":"2025-04-29T04:41:14.000Z","dependencies_parsed_at":"2023-02-10T17:45:14.544Z","dependency_job_id":"4feb01e0-09c0-46ce-9ff5-6a182bab4530","html_url":"https://github.com/nfc-tools/libnfc","commit_stats":{"total_commits":2072,"total_committers":80,"mean_commits":25.9,"dds":0.5767374517374517,"last_synced_commit":"42de50f2b7bd4c43e3b92f5c9d6a996fd5300e4f"},"previous_names":[],"tags_count":25,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nfc-tools%2Flibnfc","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nfc-tools%2Flibnfc/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nfc-tools%2Flibnfc/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nfc-tools%2Flibnfc/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/nfc-tools","download_url":"https://codeload.github.com/nfc-tools/libnfc/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":254036817,"owners_count":22003653,"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","libnfc","nfc","pcsc-lite"],"created_at":"2024-07-30T22:01:33.315Z","updated_at":"2025-05-13T22:05:28.291Z","avatar_url":"https://github.com/nfc-tools.png","language":"C","readme":"    *-\n    * Free/Libre Near Field Communication (NFC) library\n    *\n    * Libnfc historical contributors:\n    * Copyright (C) 2009      Roel Verdult\n    * Copyright (C) 2009-2013 Romuald Conty\n    * Copyright (C) 2010-2012 Romain Tartière\n    * Copyright (C) 2010-2013 Philippe Teuwen\n    * Copyright (C) 2012-2013 Ludovic Rousseau\n    * Additional contributors of Windows-specific parts:\n    * Copyright (C) 2010      Glenn Ergeerts\n    * Copyright (C) 2013      Alex Lian\n    -*\n\nRequirements\n============\n\n- MinGW-w64 compiler toolchain [1]\n- LibUsb-Win32 1.2.5.0 (or greater) [2]\n- CMake 2.8 [3]\n\nThis was tested on Windows 7 64 bit, but should work on Windows Vista and\nWindows XP and 32 bit as well.\nOnly the ACS ACR122 and the ASK Logo readers are tested at the moment, so any feedback about other devices is very welcome.\n\nCommunity forum: http://www.libnfc.org/community/\n\nBuilding\n========\n\nTo build the distribution the MinGW Makefiles generator of CMake was used. Here\nis an example of how to generate a distribution with the above mentioned\nrequirements fulfilled (it is assumed the CMake binaries are in the system\npath, this is optional during installation of CMake):\n\n- Add the following directories to your PATH:\n\n        c:\\MinGW64\\bin;c:\\MinGW64\\x86_64-w64-mingw32\\lib32;c:\\MinGW64\\x86_64-w64-mingw32\\include\n\n- Now it is possible to run CMake and mingw32-make:\n\n        C:\\dev\\libnfc-read-only\u003e mkdir ..\\libnfc-build\n      C:\\dev\\libnfc-read-only\u003e cd ..\\libnfc-build\n      C:\\dev\\libnfc-build\u003e cmake-gui .\n\nNow you can configure the build. Press \"Configure\", specify \"MinGW32 Makefiles\"\nand then you have the opportunity to set some configuration variables. If you\ndon't want a Debug build change the variable CMAKE_BUILD_TYPE to \"Release\".\n\nIf a non-GUI solution is preferred one can use:\n\n    C:\\dev\\libnfc-build\u003e cmake -G \"MinGW Makefiles\"\n                                     -DCMAKE_BUILD_TYPE=Release ..\\libnfc-read-only\n\nNow run mingw32-make to build:\n\n    C:\\dev\\libnfc-read-only\\bin\u003e mingw32-make\n\nThe build will create a shared library for Windows (nfc.dll) to link your applications against. It will compile\nthe tools against this shared library.\n\nReferences\n==========\n[1] the easiest way is to use the TDM-GCC installer.\n        Make sure to select MinGW-w64 in the installer, the regular MinGW does not contain headers for PCSC.\n        http://sourceforge.net/projects/tdm-gcc/files/TDM-GCC%20Installer/tdm64-gcc-4.5.1.exe/download\n\n[2] http://sourceforge.net/projects/libusb-win32/files/\n\n[3] http://www.cmake.org\n","funding_links":[],"categories":["TODO scan for Android support in followings","Utilities","C","C (61)","公用事业","Connectivity","2. [↑](#-content) Pentesting","硬件_其他","Utilities ##","Hardware Com"],"sub_categories":["YAML","NFC","[↑](#-content) 2.7 RFID","资源传输下载","Vim ###"],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnfc-tools%2Flibnfc","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fnfc-tools%2Flibnfc","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnfc-tools%2Flibnfc/lists"}