Repolode
Part-DB

Part-DB/Part-DB-server

Open-source web inventory management system for tracking electronic components, with BOM projects, barcodes and supplier data lookup.

Stars
1,831
Forks
254
Open issues
214
Last commit
2 days ago

What is it?

Part-DB is a self-hosted inventory system for electronic components. It runs on a web server and is accessed through any browser, so no client software is needed. Parts can be organized by category, footprint, manufacturer, store location, price and tags, with datasheets and pictures attached to each part.

Beyond basic stock tracking, it includes project management where parts are assigned to a bill of materials to show how many units can be built and to withdraw the required components. It also offers barcode and label generation, an event log with the ability to revert parts to earlier versions, and fine-grained user permissions with two-factor authentication. Part data can be pulled from suppliers such as Digikey, Farnell, LCSC and TME, and KiCad integration lets KiCad read available parts from the database.

The project is built on Symfony and supports MySQL, MariaDB, PostgreSQL and SQLite. It is installed with Composer and Yarn or via a Docker image.

Key features

  • 01Track electronic parts with categories, footprints, manufacturers, storage locations and prices.
  • 02Build bills of materials for projects and withdraw required components from stock.
  • 03Generate barcodes and labels, and scan them with a webcam.
  • 04Log inventory changes per user and revert parts to earlier versions.
  • 05Support for two-factor authentication, group permissions and SAML single sign-on.
  • 06Import BOMs from KiCad and integrate with KiCad as a parts data source.

Use cases

  • Keeping a personal inventory of hobby electronics components.
  • Sharing controlled access to a maker space's parts stock among many users.
  • Planning how many units of a project can be built from current stock.
  • Managing component inventory for small companies or university labs.

Quick start

  1. 1

    Install PHP dependencies with Composer

    composer install -o --no-dev
  2. 2

    Install client-side dependencies with Yarn

    yarn install
  3. 3

    Build the client-side assets

    yarn build
  4. 4

    Create or upgrade the database schema

    php bin/console doctrine:migrations:migrate

Things to know

  • Requires a web server with PHP 8.2 or newer and a MySQL, MariaDB, PostgreSQL or SQLite database.
  • Building the client assets needs Node.js 22 or newer and Yarn.
  • Licensed under AGPL-3.0, so modified versions run as a service must publish their source code.

In collections

Topics

FAQ

What is Part-DB-server?
Open-source web inventory management system for tracking electronic components, with BOM projects, barcodes and supplier data lookup. Part-DB is a self-hosted inventory system for electronic components. It runs on a web server and is accessed through any browser, so no client software is needed. Parts can be organized by category, footprint, manufacturer, store location, price and tags, with datasheets and pictures attached to each part.
Is Part-DB-server free to use? What license does it have?
Part-DB-server is open source under the AGPL-3.0 license. Check the license terms before using it in commercial products.
Is Part-DB-server still maintained?
Actively maintained. The last commit to Part-DB-server was on Nov 5, 2026.
What can I use Part-DB-server for?
Keeping a personal inventory of hobby electronics components. Sharing controlled access to a maker space's parts stock among many users. Planning how many units of a project can be built from current stock. Managing component inventory for small companies or university labs.
How do I install Part-DB-server?
Install PHP dependencies with Composer: composer install -o --no-dev Install client-side dependencies with Yarn: yarn install Build the client-side assets: yarn build Create or upgrade the database schema: php bin/console doctrine:migrations:migrate
Where can I get Part-DB-server?
The source code and installation instructions are on GitHub: https://github.com/Part-DB/Part-DB-server

Summary generated by AI from the project's README. GitHub stats refresh daily.

Related projects