Workflow
TrackWeight
icon
Search documents
MacBook秒变电子秤!程序员爆改触控板,开源斩获2.6k Star后紧急劝退网友:千万别拿来称体重
猿大侠· 2025-07-24 04:56
Core Viewpoint - A Canadian creator, Krish Shah, has developed an application called TrackWeight that transforms the Force Touch trackpad of MacBook Pro and MacBook Air into a digital weighing scale, capable of measuring small objects like coffee beans and remote controls with an accuracy of within 2 grams [2][4][8]. Group 1: Application Development - TrackWeight utilizes the pressure sensitivity feature of the Force Touch trackpad, which was originally designed for actions like "force click" to look up definitions [5][6]. - The application reads pressure data from the trackpad and converts it into weight readings, leveraging a private API discovered by Shah that allows real-time pressure data access [9][10]. - The app is built using SwiftUI for the interface and the Combine framework for data transmission, making it appear as a native macOS application [11]. Group 2: Technical Specifications - TrackWeight requires macOS 13.0 or higher and is compatible only with MacBook models equipped with Force Touch trackpads, specifically those released from 2015 onwards [20]. - Users must disable App Sandbox to allow the application to access low-level hardware features necessary for accurate pressure readings [20]. - The application has been open-sourced on GitHub under the MIT license, allowing for modification and distribution [13]. Group 3: User Experience and Limitations - Users must keep their fingers in contact with the trackpad while weighing objects to ensure accurate pressure data is captured [16][17]. - The application is experimental and not recommended for commercial use or scenarios requiring high precision [16]. - There are limitations, such as potential misidentification of metal objects as fingers, which can be mitigated by placing a tissue on the trackpad [19]. Group 4: Community Engagement and Future Potential - The release of TrackWeight has sparked discussions on platforms like Hacker News and Reddit, with users exploring creative applications of the technology [22]. - Some users have expressed interest in integrating similar functionalities into kitchen apps or smart home systems, indicating a potential market for such innovations [28][29].
MacBook秒变电子秤,程序员爆改触控板,开源斩获2.6k Star后紧急劝退网友:千万别拿来称体重
3 6 Ke· 2025-07-24 01:19
Core Insights - A Canadian creator, Krish Shah, developed an application called TrackWeight that transforms the MacBook Pro's Force Touch trackpad into a small electronic scale, capable of weighing items like coffee beans and small bottles with an accuracy of within 2 grams [1][4][14]. Group 1: Application Development - TrackWeight utilizes the pressure sensitivity feature of the Force Touch trackpad, which was originally designed for actions like "force click" [2][4]. - The application reads pressure data from the trackpad and converts it into weight measurements, leveraging a private API discovered by Shah through extensive research [4][5]. - The app's interface is built using SwiftUI, and it employs the Combine framework for smooth data transmission, making it appear as a native macOS application [5]. Group 2: Technical Specifications - TrackWeight requires macOS 13.0 or higher, a MacBook with a Force Touch trackpad (2015 MacBook Pro or later, 2016 MacBook Air or later), and the App Sandbox must be disabled for proper functionality [9][10][11]. - The application is open-source and available on GitHub under the MIT license, allowing for modification and distribution [7]. Group 3: User Experience and Limitations - Users must keep their fingers on the trackpad without applying additional pressure to obtain accurate weight readings [13][14]. - There are limitations, such as potential misinterpretation of metal objects as fingers, and the need for items to be placed within the trackpad's range for accurate measurements [15][16]. - The application is experimental and primarily aimed at enthusiasts, not recommended for commercial use or scenarios requiring high precision [13]. Group 4: Community Response and Future Potential - TrackWeight gained significant attention, receiving 2.6k stars on GitHub within two days of release, indicating strong community interest [8]. - The project has sparked discussions about the potential for similar applications and features, with users expressing interest in integrating such functionalities into kitchen apps or smart home systems [26].