Skip to content
プロジェクト

概要

The webinterface and controlling software for a diy raspberry-pi based cocktail making machine

Web・アプリ開発

この数値の測り方

できること

  • Add and edit recipes, categories and collections directly in the UI
  • Dedicated touchscreen UI for the machine, plus a full admin UI for desktop and mobile
  • Virtual stirring for evenly mixed drinks
  • DC pumps, stepper pumps and load-cell controlled valves – mixable in one machine

計測したスター増加

24時間
0
7日間
履歴を収集中
15日間
履歴を収集中
1か月
履歴を収集中

期間ごとの純増数です。期間は重複しており、日別の値ではありません。未計測の値は空欄です。スター数は注目度の指標であり、品質の保証ではありません。

CocktailPi logo

CocktailPi

Open source software for your Raspberry Pi cocktail machine.
Manage recipes, control your pumps and mix drinks from a touchscreen, a browser or your phone.

Latest release GitHub stars Discord

📖 Documentation · 🍹 Live demo · 💬 Discord

CocktailPi touchscreen UI


CocktailPi is not only a piece of software – it's a cocktail mixing machine controlled by a Raspberry Pi. The Pi drives multiple pumps, each with an ingredient assigned. Users pick a recipe in the web UI, and if all ingredients are available, CocktailPi mixes it.

Admins can create users with different roles and permissions. Users can create their own recipes, organise them into categories and collections and share them with others. Recipes consist of production steps – ingredients in the same step are dispensed at the same time, and steps can be reordered via drag & drop.

✨ Features

  • Add and edit recipes, categories and collections directly in the UI
  • Dedicated touchscreen UI for the machine, plus a full admin UI for desktop and mobile
  • Virtual stirring for evenly mixed drinks
  • DC pumps, stepper pumps and load-cell controlled valves – mixable in one machine
  • Up to 153 pumps using I²C GPIO expanders (no software limit)
  • Automatically detects which recipes can be made with the current ingredients
  • Prompts to add ingredients by hand that you own but that aren't connected to a pump
  • Written production steps, ingredient substitution and per-order adjustments
  • Manual pump control (e.g. for cleaning)
  • Multiple users and roles
  • Event system – run Python scripts or play sounds on events
  • Multiple UI languages (German, English, Danish, Spanish, French)
  • …and much more

📸 Impressions

Click on a screenshot to open it in full resolution.

Touchscreen UI

Ordering Customising an order
Production in progress Collections

Administration UI

Recipes Recipe details
Pump management Ingredients
More screenshots

Prompt to add an ingredient by hand

Ingredients (touchscreen)

Pump setup

GPIO / expanders

Glasses

System settings

User management

Login

Try it yourself: demo.cocktailpi.org – user Admin, password 123456

🚀 Installation

Requirements: Raspberry Pi 3, 4 or 5 with Raspberry Pi OS Lite (64-bit) and a user named pi (set it in the Raspberry Pi Imager settings together with SSH).

SSH into your Pi and run:

sudo -i
wget https://raw.githubusercontent.com/alex9849/CocktailPi/refs/heads/master/script/installer/installer.sh -O cocktailpi-installer.sh && chmod +x cocktailpi-installer.sh && ./cocktailpi-installer.sh

The installer asks for your language and whether to also set up the touchscreen UI. It installs all dependencies and the latest release, and starts CocktailPi as a service.

Afterwards open http://<your-pi>/ and log in with admin / 123456.

To update, simply run the installer again.

Forgot your password?

Reset it on the Pi (as root, in the CocktailPi directory; the server may keep running):

cd /root/cocktailpi
java -jar cocktailpi.jar user list                       # all users, their role and whether they are locked
java -jar cocktailpi.jar user reset-password <username>  # asks for the new password
java -jar cocktailpi.jar user unlock <username>

For scripts, reset-password also takes --password <new password>.

➡️ Step-by-step guide, touchscreen resizing and pump setup: Installation docs

Just want to play around? Run the demo with Docker
docker run -p 8080:8080 alex9849/cocktailpi

Open http://localhost:8080. The Docker image runs in demo mode without GPIO access.

🔧 Build the hardware

A CocktailPi machine

CocktailPi switches pumps via a relay board (or stepper drivers / valves) connected to the Raspberry Pi's GPIOs. You can build your machine however you like – the only requirement is a Raspberry Pi.


Basic setup With reverse pumping Complex setup

Blueprints, parts list and a comparison of pump types: Hardware docs

⭐ Support the project

Developing CocktailPi took a lot of time, and there are still many features I want to build. The software doesn't send any data to me or third parties, so I don't get any feedback about who is using it. If you like the project, please give it a star on GitHub – that's how I know people use it.

You can also support the development via PayPal.

💬 Community & support

Questions, want to share your setup or just talk about cocktail machines? Join the Discord server or open an issue.

📄 License

CocktailPi is licensed under the Apache License 2.0.

関連プロジェクトを探す

読み込み中…