Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/frmdstryr/usb-scale
usb-scale
https://github.com/frmdstryr/usb-scale
Last synced: about 1 month ago
JSON representation
usb-scale
- Host: GitHub
- URL: https://github.com/frmdstryr/usb-scale
- Owner: frmdstryr
- Created: 2022-07-07T00:47:40.000Z (over 2 years ago)
- Default Branch: master
- Last Pushed: 2022-07-07T11:49:41.000Z (over 2 years ago)
- Last Synced: 2024-10-15T18:26:34.787Z (3 months ago)
- Language: Zig
- Size: 14.6 KB
- Stars: 2
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# USB-Scale
A very simple Gtk app for reading usb postage scales, written in zig.
![usb-scale-screenshot](https://user-images.githubusercontent.com/380158/177672133-48b5aca2-3d60-4569-abc9-d956099203c8.png)
### Usage
1. Copy the usb rules to `/etc/udev/rules.d/`
2. You may need to reload the rules and/or unplug and re-plug in the scale.
2. Run `zig build run`### Install
1. Copy the usb rules to `/etc/udev/rules.d/`
2. Run `zig build install --verbose --prefix ~/.local` or copy the files in build.zig
to the proper locations for your os.## License
License is GPLv3.
## Credits
Based on https://github.com/erjiang/usbscale but written in zig.
UI is built using https://github.com/zenith391/zgt