Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/mattmajestic/barcode-scanner
Python & Go Barcoder Scanner App
https://github.com/mattmajestic/barcode-scanner
barcode-scanner golang python
Last synced: about 1 month ago
JSON representation
Python & Go Barcoder Scanner App
- Host: GitHub
- URL: https://github.com/mattmajestic/barcode-scanner
- Owner: mattmajestic
- Created: 2024-03-09T04:09:48.000Z (11 months ago)
- Default Branch: main
- Last Pushed: 2024-06-10T15:17:42.000Z (7 months ago)
- Last Synced: 2024-06-10T17:46:01.604Z (7 months ago)
- Topics: barcode-scanner, golang, python
- Language: Python
- Homepage: https://mattmajestic.github.io/barcode-scanner/
- Size: 143 KB
- Stars: 0
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Funding: .github/FUNDING.yml
Awesome Lists containing this project
README
# Barcode Data Reader 📖🔍
Welcome to the Barcode Data Reader! This simple tool captures and stores barcode data via terminal input. Perfect for quick data entry or testing purposes. It can be run using either Python 🐍 or Go 🚦.
## How It Works 🚀
Terminal Input: Just type your barcode data into the terminal as if scanning a barcode. All data is saved for easy access.### Using Python 🐍
1) Plug in your Barcode Scanner to your computer
2) Run `python barcode_scanner.py`
3) Scan a barcode with scanner
4) Check `checkout-items` dir for Data stored from scan### Using Go 🚦
1) Plug in your Barcode Scanner to your computer
2) Run `go run main.go`
3) Scan a barcode with scanner
4) Check `checkout-items` dir for Data stored from scan### Architecture
```mermaid
sequenceDiagram
participant User
participant GoProgram as Go program
participant API as UPCitemdb API
participant PythonScript as Python script
User->>GoProgram: Run Go program
GoProgram->>API: Request product data
API-->>GoProgram: Return product data
GoProgram->>User: Display product data
User->>PythonScript: Run Python script
PythonScript->>User: Generate HTML page
```