| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
| Name | Name | Last commit date | ||
|---|---|---|---|---|
parent directory.. | ||||
This folder mostly contains the following files:
All files that start the name with "grabInput" are scripts, that pass inputs from your physical barcode scanner to Barcode Buddy. Most of them require root access.
This bash script is recommended for most scanners and is used for the docker image as well. To use it, run the programm "evtest" while your barcode is connected to your system. It will display a list of possible devices. Remeber the name of the one that your barcode uses (eg. event5). Then start the script with bash grabInput.sh /dev/input/eventX where X is your number.
Also make sure to adjust the path to your Barcode Buddy installation. ("SCRIPT_LOCATION" at the beginning of the file).
A Python script similar to the one above
Uses udev rules. If you have a barcode scanner that disconnects (eg. Bluetooth), you will need to use this script.
A Python script that sends the output to a server instead through PHP. This scripts configuration can be found in the file config.yaml
To run grabInput.sh and the websocket server, copy the two systemd service scripts to /etc/systemd/system. Then edit them and adjust the path entries to fit your system. Afterwards run systemctl daemon-reload and then enable and start both of them using systemctl enable --now bbuddy-grabInput.service and systemctl enable --now bbuddy-websocket.service.
| Back | FazBrowse Home | New Git URL |