StockR
GitHub

v1.0.0 is out Open source AGPL-3.0

Stock control for datacentre spares

StockR is free, self-hosted inventory software for the parts your team keeps on the shelf. Know what is in stock, where it sits and who moved it last.

git clone https://github.com/roduk/StockR.git

Features

Every screen leads with what is in stock

Built for teams running several sites, rooms and vans, who scan a barcode at the shelf and need the count to be right the next time someone looks.

Have a go

Scan it at the shelf, book it in one go

Pick a label to scan it. Each label adds a line, scanning it again adds one more, then Check in books the lot against your name. The labels are real Code 128, so your phone can read them too.

Check in

0 lines
ItemIn stockAdding
Nothing scanned yet. Pick a label.

Stock checks

Count one shelf. StockR books the difference.

Each line starts at the number StockR expects. Type what you count and the difference shows as you go. Saving books only what changed. Try it on shelf B-01-7.

  • No spreadsheets, no recounting the whole room
  • Shelves not checked for 30 days show up on the dashboard
  • Optics are checked by scanning each serial

Shelf

B-01-7

No changes
STKR-00017 Expected 6
STKR-00023 Expected 4
STKR-00031 Expected 3

Screens

Quiet, compact and quick to read

Figures are set in a monospaced face so counts line up down a column and codes read character by character against a label.

The StockR dashboard on a phone The StockR dashboard on a phone

Same app in your pocket

Phones get the same pages, laid out for one hand. Scan opens a full-screen camera, finds the item and shows what is in stock at your site.

An item in StockR on a phone, with its stock at each place An item in StockR on a phone, with its stock at each place

Install

Running on your machine in a few minutes

Try it with SQLite and sample data: four sites, item types, parts, cables, optics and 45 days of movements. For a server, each release has a ready-built archive, so it needs neither Composer's dev packages nor Node.js.

  • PHP 8.4+
  • Laravel 13
  • Livewire 4
  • Fortify
  • Scout
  • Meilisearch
  • LdapRecord
  • ZXing
  • Vite
  • MySQL
  • SQLite
git clone https://github.com/roduk/StockR.git
cd StockR
composer install
npm install
cp .env.example .env
php artisan key:generate
touch database/database.sqlite
php artisan migrate --seed
php artisan db:seed --class=DemoSeeder
php artisan storage:link
npm run build
php artisan serve
Free

Free software, businesses included

StockR is released under the GNU Affero General Public License v3.0. Use it, change it and run it for your own organisation at no cost. If you change it and let other people use it over a network, publish your changes under the same licence.

Read the licence
Commercial

Bundling it into a product?

To build StockR into a closed-source product, or to sell or host it without publishing your changes, you need a commercial licence. Email licensing@rod.ac.

How licensing works

Questions

Frequently asked questions

What is StockR?

StockR is free, open source stock control for the spare parts a datacentre team keeps: drives, memory, power supplies, rail kits, cables and optics. Every screen leads with what is in stock, and every change is booked against a person.

Is StockR free?

Yes. StockR is free software under the GNU AGPL-3.0, and businesses can run it for their own organisation at no cost. A commercial licence is available if you want to bundle it into a closed-source product or host it for others without publishing your changes.

Do I need a barcode scanner?

No. A phone camera works in the browser, including iPhone Safari and Firefox, and USB or Bluetooth handheld scanners work in every scan box. You can also type codes, or switch barcodes off entirely.

What do I need to run it?

PHP 8.4 or newer, Composer, MySQL, MariaDB or SQLite, and nginx, Caddy or Apache. Meilisearch is optional for fast search. Node.js is only needed to build the front-end, and release archives come ready built.

Does StockR handle purchasing or costs?

No, on purpose. StockR leads with what is in stock and where it is. It has no purchase orders, reorder quantities or unit costs, so it stays small and quick to use.

Can it sign people in with Active Directory?

Yes. Use StockR's own passwords with two-factor sign-in, or LDAP and Active Directory. Accounts are invite-only, with admin, stock manager and staff roles limited to the sites each person works at.

Can another system read or update stock?

Yes. A small JSON API lets another system keep its parts and stock in step with StockR.

Know what is on the shelf

Free, open source and yours to run.