A web platform and hardware solution for automated cocktail mixing machines.
RobotCocktail is a modern reimagining of the Autobar v1 project. While the original project used Django and Raspberry Pi, this new version brings several key improvements:
The project consists of two main parts:
Web Platform
Hardware Implementation
First, generate SSL certificates for local development:
./scripts/generate_dev_certificates.sh
This script generates:
The firmware is built locally into the static/firmware
folder so that user may flash their device the first time via a webpage.
The following instructions are intended for VS Code
sudo apt-get install git wget flex bison gperf python3 python3-pip python3-venv cmake ninja-build ccache libffi-dev libssl-dev dfu-util libusb-1.0-0
Install the ESP-IDF plugin and configure the extension. Version v5.3.2 is the only one tested for now. Building the project will copy the firmware binaries to the static folder.
Install dependencies and start the development server:
npm install
npm run dev
The development server will run with HTTPS using the generated self-signed certificates.
Note: For production deployment, replace the development certificates with proper SSL certificates from a trusted Certificate Authority.
Please see CONTRIBUTING.md for development guidelines and contribution process.
This project is licensed under the MIT License - see the LICENSE file for details.