{"repo":"automation-stack/node-machine-id","free":true,"listed":false,"github":"https://github.com/automation-stack/node-machine-id","clone":"git clone https://github.com/automation-stack/node-machine-id.git","description":"Unique machine (desktop) id (no admin privileges required)","language":"JavaScript","stars":629,"topics":["electron","id","node","machine-id"],"license":"MIT","category":"dev-tools","readme_excerpt":"Cross-platform unique machine (desktop) id discovery Use cases - Software restrictions - Installation tracking Features - Hardware independent - Unique within the OS installation - No elevated rights required - No external dependencies and does not require any native bindings - Cross-platform (OSx, Win, Linux) How it works Module based on OS native UUID/GUID which used for internal needs. All others approaches requires elevated rights or much depends on hardware components, but this approach summarize the methods of selecting the most reliable unique identifier - Win32/64 uses key in registry (can be changed by administrator but with unpredictable consequences) It is generated during OS installation and won't change unless you make another OS updates or reinstall. Depending on the OS version it may contain the network adapter MAC address embedded (plus some other numbers, including random), or a pseudorandom number. - OSx uses (the same Hardware UUID) Value from I/O Kit registry in IOPlatformExpertDevice class - Linux uses (can be changed by but with unpredictable consequences) http://man7.org/linux/man-pages/man5/machine-id.5.html The /var/lib/dbus/machine-id file contains the unique machine ID of the local system that is set during installation. The machine ID is a single newline-terminated, hexadecimal, 32-character, lowercase machine ID string. When decoded from hexadecimal, this corresponds with a 16-byte/128-bit string. The machine ID is usually generated from a random ","default_branch":null,"files":null,"tree":[],"storefront":"/r/automation-stack","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/automation-stack/node-machine-id/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}