Hegxib POS is a lightweight, offline Point of Sale system for PC. Perfect for small shops, supermarkets, or personal projects.
- Barcode Scanning: Use your phone as a barcode scanner (HID input)
- Offline Database: SQLite-based storage, no internet required
- Inventory Management: Add, edit, delete products and manage stock
- Sales Recording: Complete transaction logging with timestamps
- Real-time Cart: Live cart updates with quantity management
- Stock Warnings: Low stock alerts (below 5 units)
- Export Functionality: Export inventory to CSV
-
Install Python 3.7+ (tkinter included)
-
Run the application:
python main.py
-
Phone Setup:
- Install a barcode scanner app that outputs as keyboard input, We Recommend Using https://barcodetopc.com/download/ (Not Promoting)
- Connect phone via USB/WiFi to computer
- Configure as HID device (if using other HID compatible Bar code Scanner)
- Scanned barcodes will appear in the barcode input field
-
Add products with names, serial numbers, and quantity
-
Scan items using barcode scanner apps
-
Modify, remove, or multiply items in the list
-
Checkout and generate/print receipts
- Barcode Field: Auto-focused for phone scanner input
- Add Product: Manual barcode entry or scan
- Shopping Cart: Real-time display of scanned items
- Checkout: Process sale and update inventory
- Access via "Inventory Management" button
- Add new products with barcode, name, price, stock
- Edit existing products
- Delete products
- Export inventory to CSV
- Stock level monitoring
- Scan products (adds to cart automatically)
- Adjust quantities if needed
- Click "Checkout" to finalize sale
- Inventory automatically updated
- products: barcode, name, price, stock
- sales: timestamp, total_amount
- sale_items: sale_id, product_id, quantity, subtotal
main.py: Main POS interfacedatabase.py: SQLite database operationsinventory_manager.py: Inventory management interfacepos_system.db: SQLite database (created automatically)
- Android: Use "Barcode Scanner +" or similar apps with HID keyboard mode (the Toolused for Testing https://barcodetopc.com/download/)
- iPhone: Use "Scan" app or similar with keyboard output
- Connection: USB preferred for reliability, WiFi as alternative (Dev used only WI-FI During Testing)
- Configuration: Set scanner to send data as keyboard input with Enter/Return after each scan
if you have professional Scanning Tools like Bar Code Scanner (MP7000 Scanner Scale by Zebra) it will be Perfect for Offline Work, The App i mentioned Earlier Worked just great but it was kind of annoying when it comes to scanning the Same item Twice (Notice and errors)
- Admin access to inventory management (Default Admin Password is : admin123)
- Local database backup capability
- No network dependencies to Prevent Hacking or Similar
To create standalone executable:
pip install pyinstaller
pyinstaller --onefile --windowed main.pyThe system will run completely offline once deployed.
You can contribute by:
-
Submitting pull requests
-
Forking the repository
-
Contacting me on Discord, Telegram, or Email
-
Even beginners can fork the repo and make changes easily.
Support me to keep this Repo Up-to-Date by Donating at :
-
KO-FI.COM : https://ko-fi.com/hegxib
-
CRYPTO ETH MetaMask: 0x83Cc0fe051bEf3c8D7633665F165fd9E1AFb10fC
make sure you sending ETH so it does not getLost forever
Send ETH via QR CODE instead :




