HUB
Sign inSign up

devzwf/storparts

By devzwf

•Updated 6 days ago

Self-hosted electronics parts inventory that lights up the right drawer (WLED / ESPHome LEDs)

Image
1

1.4K

devzwf/storparts repository overview

⁠StorParts — Smart Electronics Storage & LED Locator

StorParts is a self-hosted web app to organise your electronic components (microcontrollers, resistors, capacitors, ICs, sensors, connectors) and find them instantly: each drawer of your storage racks has an addressable LED (WLED or ESPHome) that lights up when you look a part up.

Source code, documentation and issues: github.com/devzwf/storparts⁠

CI GitHub release License: PolyForm Noncommercial

GitHub Sponsors Ko-fi Buy Me a Coffee Patreon

Keep it on your local network. StorParts is designed for a home or workshop LAN (or a private VPN), not for the Internet. See SECURITY.md⁠.


⁠Features

  • Rack designer: build your storage furniture from modular sections (4x4, 1x2, 1x1, 3x3 or custom), with automatic LED index allocation.
  • LED locator (WLED & ESPHome): one click on Locate lights the drawer's LED. Auto-off timer, "all off" button, and a virtual simulator to try it without hardware.
  • Instant search: by name, value (10k, 100nF), package (DIP-8, 0805), tag or drawer.
  • Stock & alerts: + / − buttons, low-stock warning, optional purchase link.
  • English and French UI.
  • SQLite or MariaDB/MySQL, JSON backup/restore, CSV export.
  • Users and roles, first-run setup wizard.

⁠Tags

TagMeaning
latestLatest release
0.6Latest 0.6.x
0.6.0Exact version

Multi-arch: amd64 and arm64 (Raspberry Pi 4/5), with build provenance and SBOM. Release notes: CHANGELOG⁠.


⁠Quick start

curl -O https://raw.githubusercontent.com/devzwf/storparts/main/docker-compose.yml
docker compose up -d
⁠docker run
docker run -d --name storparts \
  -p 5055:5055 \
  -v ./data:/app/data \
  -v ./uploads:/app/uploads \
  --restart unless-stopped \
  devzwf/storparts:latest

Open http://localhost:5055⁠ and follow the setup wizard.

⁠Unraid

Install StorParts from Community Applications. Support thread: forums.unraid.net⁠.


⁠Configuration

VariableDefaultDescription
PORT5055Web server port
DATABASE_URLsqlite:////app/data/storparts.dbSQLite, or MariaDB/MySQL: mysql+pymysql://user:pass@host:3306/storparts?charset=utf8mb4
SECRET_KEY(generated)Signs session cookies; if empty, a key is generated and stored in /app/data/.secret_key
VolumeContent
/app/dataDatabase (SQLite) and secret key
/app/uploadsUploaded images and files

The LED controller (WLED / ESPHome IP, colour, timeout) is set in the app under Settings & LED.


⁠Built with AI

StorParts is a personal workshop project. Most of its code, tests and documentation were written by an AI assistant (Claude, by Anthropic) under my direction; I decided what to build, reviewed the results and use it on my own racks.


⁠Contributing & support

Bug reports, ideas, translations and pull requests are welcome on GitHub⁠. Read CONTRIBUTING.md⁠ first.

⁠Support the project

StorParts is free for non-commercial use. If it saves you time in your workshop, you can support its development:

⁠License

PolyForm Noncommercial 1.0.0⁠: free for personal, hobby, educational, research and non-profit use. Commercial use needs a separate licence, see COMMERCIAL.md⁠.

Tag summary
Recent tags
Content type
Image
Digest
sha256:0d4317a77…
Size
67.9 MB
Last updated
6 days ago
docker pull devzwf/storparts:latest