Storage Boxx PHP Inventory System (With QR & NFC Scanner)

Storage Boxx is an open-source PHP Inventory Management System. With a built-in webcam QR scanner, NFC scanner, passwordless login, and an optional experimental AI assistant.

 

TABLE OF CONTENTS

 

DOWNLOAD & INSTALLATION

First, here are the download links for the impatient folks who don’t want to read through everything.

 

SYSTEM REQUIREMENTS

  • LAMP/WAMP/MAMP/XAMPP
  • Apache Mod Rewrite
  • PHP MYSQL PDO Extension
  • PHP OpenSSL Extension
  • At least PHP 8.0
  • Take note – Webcam, NFC and Passwordless (Web Authentication) support depends on the user’s device and browser.

 

LICENSE & DOWNLOAD

GitHub | GitHub – AI Assistant | SourceForge

Storage Boxx is released under the MIT License. You are free to use it for personal and commercial projects, and modify it as you see fit. On the condition that the software is provided “as-is”. There are no warranties provided and “no strings attached”. Code Boxx and the authors are not liable for any claims, damages, or liabilities.

 

INSTALLATION

  • Download from GitHub/Sourceforge into your HTTP folder.
  • Access http://your-site.com in the browser and walk through the installer.

 

SORRY FOR THE ADS...

But someone has to pay the bills, and sponsors are paying for it. I insist on not turning Code Boxx into a "paid scripts" business, and I don't "block people with Adblock". Every little bit of support helps.

Buy Me A Coffee Code Boxx eBooks

 

 

HOW TO USE

So far so good? Let us now go through a quick crash course on how to use Storage Boxx.

 

QUICKSTART GUIDE

 

EQUIPMENT RECOMMENDATIONS

  • Webcam – If you are using a desktop without a webcam, a simple one only costs about $20~30.
  • USB QR Code scanner – Alternatively, a “dedicated barcode scanner” will cost about $30~40 bucks.
  • NFC tags – 10 pieces of Ntag213 only cost 2-3 bucks. Buy them in bulk, and one piece will only cost a few cents.
  • Fingerprint sensors – These are kind of expensive… But I got lucky with a $25 “Made in China” that works just fine.
  • Label printer – Print your QR codes. There are Bluetooth ones that can pair with smartphones.

 

 

FOR THE DEVELOPERS

This section is for the developers, with a couple of development notes for customization.

 

FAQ

“AJAX error”? Migrating to another domain? NFC “not working”? Check out the FAQ section.

 

BUILT ON CORE BOXX

 

 

AI ASSISTANT

So, you may have noticed that the AI Assistant is “missing” or “not working” out of the box. It’s a long story.

 

 

REQUIREMENTS

  • Python – Yes, Python. Not PHP. Version 3.9 to 3.10 seems to work fine at the time of writing.
  • Microsoft C++ Build Tools
  • CMake
  • Nvidia CUDA Toolkit – If you have an Nvidia graphics card.
  • An Nvidia graphics card with at least 8GB VRAM is highly recommended. You can TRY to run on CPU, but it is painfully slow and practically useless.

 

 

INSTALLATION

  • Copy/unzip this module into your existing Storage Boxx folder.
  • I have tried multiple AI models, codellama-7b-instruct.Q5_K_M.gguf is the only one that produced decent(ish) results – Download that into chatbot/models or choose a better/larger/smarter model on your own.
  • Edit chatbot/a_settings.py, change the model_name to your own.
  • BE WARNED, GIGABYTES WORTH OF DOWNLOAD! – 0-setup.bat (Windows) 0-setup.sh (Linux).

 

LAUNCH

  • Run 1-bot.bat (Windows) 1-bot.sh (Linux/Mac), this will deploy the bot at http://your-site.com:8008.
  • Just access http://your-site.com/ai (must be signed in).

59 thoughts on “Storage Boxx PHP Inventory System (With QR & NFC Scanner)”

  1. Hi W.S.TOH,
    I almost managed, that is, after “installation”, at the primary login with user: “admin@sb.com” and the password “123456”, click on “Sign in” and the “AJAX ERROR” window appears.
    “AJAX call error!”
    What should I investigate?

    1. Probably API path issues, re-download the latest version. Just import the SQL, and access your site – This thing now has a simple installer… and a webcam QR code scanner.

    2. ok, i tried and got stuck in the “installer” where I got the “Fetch error – See console” error, but I noticed two things:
      1. This error occurs regardless of what user and password you entered to access the database
      2. The file “lib / storage-boxx.sql” is empty, ie it has only a command line “ctrl – C – exit!” and nothing about the tables on which the database is built
      …help me please !

  2. Hi, I installed in base path and can’t get past login screen. It seems to be dropping me at “(B4) USERS NOT LOGGED IN + INVALID PATH”

    What do you think is the problem?

Leave a Comment

Your email address will not be published. Required fields are marked *