◉ Pulse
DerRobin99 avatar
#42 today

DerRobin99/smart-drink-fridge

Python Library #barcode-scanner #docker #flask #homelab

Raspberry Pi based drink inventory system with barcode scanning, stock tracking, statistics and a web interface.

Created Jul 22, 2026
Stars
7
Today
+7
Forks
0
Quality
100/100
Momentum
21

README

Fetched from GitHub on Nov 6, 2026, 1:58 PM UTC · README.md

View original on GitHub

Third-party content — Open Source Pulse is not the owner of this repository.

This README belongs to DerRobin99/smart-drink-fridge and its contributors. We fetch it directly from the project’s public GitHub repository and display it for reference only. All text, code, images and trademarks remain the property of their respective authors. See the repository for its license terms. Copyright / takedown policy.

Smart Drink Fridge

Download on the App Store Latest Release Docker Image App Tests Codecov License: MIT

Smart Drink Fridge is a self-hosted drink inventory system for Raspberry Pi and Docker. Scan a barcode when you take a bottle or can; stock, history, statistics and shopping lists update automatically.

Now on the App Store

The native Smart Drink Fridge app for iPhone and Apple Watch is available now.

Download Smart Drink Fridge on the App Store →

The app connects directly to your own Smart Drink Fridge server and includes inventory, quick bookings, camera barcode scanning, statistics, shopping lists, widgets, Live Activities, Dynamic Island and Apple Watch support. A built-in demo lets you explore it without a server.

Android testers wanted

Android 1.0.0 is available in the Google Play closed Alpha test. We are looking for volunteers with Android 9+ to try the app and share feedback during the closed test.

Android test signup, Play tester link and test instructions →

What it does

  • Tracks stock, transactions, prices and consumption statistics
  • Supports multiple barcodes, package quantities and product lookup
  • Scans with a Raspberry Pi camera or USB barcode scanner
  • Manages multiple fridges, locations and remote scanner devices
  • Offers optional users, PIN/password login and NFC identification
  • Integrates with Home Assistant, Pushover and Tailscale
  • Supports an optional Nextion status display
  • Runs locally with Docker Compose and SQLite; no hosted account required
  • Provides a responsive web app in 19 languages

Screenshots

Dashboard Statistics Mobile
Dashboard Statistics Mobile dashboard

Quick start

Requirements: Docker with Docker Compose, a persistent host for the server, and a modern browser.

git clone https://github.com/DerRobin99/smart-drink-fridge.git
cd smart-drink-fridge
cp .env.example .env
docker compose up -d

Before starting, set strong values for SECRET_KEY and STORNO_PASSWORT in .env. Open http://<server-ip>:5000 after the containers start.

Optional hardware services are enabled with Compose profiles:

# Camera or USB scanner
docker compose --profile scanner up -d

# Scanner, NFC reader and Nextion display
docker compose --profile scanner --profile nfc --profile display up -d

For upgrades, configuration, Raspberry Pi hardware, remote scanners, backups and troubleshooting, use the complete documentation in the Wiki.

Documentation

Project status

Smart Drink Fridge is actively maintained. Stable versions and release notes are published under Releases; planned work is tracked in the Roadmap.

Contributions and translation corrections are welcome. See CONTRIBUTING.md, open an issue, or start a discussion.

Native push notifications

Release 1.11 adds optional Apple Push Notification service (APNs) delivery for low stock, failed backups and completed Docker updates. APNs credentials are server secrets: never commit the Apple .p8 private key or copy it into a Docker image.

mkdir -p secrets
cp /secure/location/AuthKey_XXXXXXXXXX.p8 secrets/apns-auth-key.p8
chmod 600 secrets/apns-auth-key.p8

Set APNS_KEY_ID, APNS_TEAM_ID and, if required, APNS_BUNDLE_ID in .env, then start the web service with the secret-only override:

docker compose -f docker-compose.yml -f docker-compose.apns.yml up -d web

The server cannot send an alert while it is itself offline. Server-offline alerts therefore have to be generated locally by the native app or by an independent monitoring service.

Release notes

1.11.1

  • Makes database restores safe with one-backup retention and configurable database paths.
  • Restricts backup operations to administrators when user accounts are enabled.
  • Keeps aggregate and per-location stock consistent across checkout, scanner and mobile bookings.
  • Synchronizes Home Assistant shopping lists after scanner and mobile bookings.
  • Prevents Docker image publication until the complete application test workflow succeeds.

1.11.0

  • Integrates the native iPhone notification registrations with APNs.
  • Sends optional low-stock, backup-failure and update-complete notifications.
  • Adds a safe Compose override for mounting the Apple signing key read-only.
  • Includes the USB scanner and session power controls added after 1.10.0.

1.10.0

  • Adds the server-selected language to the mobile dashboard API.
  • Extends mobile API language response coverage.

Support

Smart Drink Fridge is free and open source. If the project is useful to you, you can voluntarily support its continued development through PayPal or one of the cryptocurrencies below. Contributions do not create an entitlement to support, features or preferential treatment.

PayPal

paypal.me/DerRobin99

Bitcoin (BTC)

bc1qvmjpzz2h4wvl3z567d38p9jf2wuw3l5jegnyd9

Ethereum (ETH)

0xa65cCd30AD34c2CD312de2f34409474b82b60Aab

Solana (SOL)

81cWeiuwBcqSX33m83ELqxdqDbeBcke6o2MNCxeSND8p

Code contributions, bug reports and feature suggestions are equally welcome.

Security

Run the service on a trusted private network or behind authenticated private access such as Tailscale. Do not expose the Flask service directly to the public internet. See SECURITY.md and the Wiki security guide.

License

MIT

Rendered by GitHub from the repository’s README. Scroll to read the full file.
First trending

Jul 23, 2026

first spotted on the list

Best rank

#42

highest position reached

Appearances

1

times on the trending list

Quality score

100

out of 100

Momentum

21

trend strength indicator

Star velocity

0.07

stars per day since creation

Activity — last 60 days

daily counts, collected every 6 hours
  • Stars
  • Forks
  • Merged PRs
  • Issues
  • Closed issues

Collecting activity data since launch — check back in a few days.

Star history

total stars per snapshot

Not enough snapshots yet — check back soon.

Rank history

position on trending · lower is better

Not enough snapshots yet — check back soon.

3D card for your website

Live HTML card with a glass surface and pointer tilt. Paste the iframe on any website.

<iframe src="https://www.notionpulse.cc/embed/DerRobin99/smart-drink-fridge" width="420" height="240" style="border:0;max-width:100%;background:transparent" loading="lazy" title="DerRobin99/smart-drink-fridge — trending on Open Source Pulse"></iframe>

Stars badge

Show current stars in your README or profile. Auto-updates every 6 hours.

DerRobin99/smart-drink-fridge stars badge
Markdown
[![DerRobin99/smart-drink-fridge](https://www.notionpulse.cc/api/badge/DerRobin99/smart-drink-fridge.svg)](https://www.notionpulse.cc/repo/DerRobin99/smart-drink-fridge)
HTML
<a href="https://www.notionpulse.cc/repo/DerRobin99/smart-drink-fridge"><img src="https://www.notionpulse.cc/api/badge/DerRobin99/smart-drink-fridge.svg" alt="DerRobin99/smart-drink-fridge stars badge" /></a>

Repository of the Day

#42 Repository of the Day

Repository of the Week

#42 Repository of the Week

Repository of the Month

#42 Repository of the Month