Mineral is a touch-based interface for Computer Science House's drink machines using Gatekeeper for authentication

Most of Mineral was written in a weekend, during a 24-hour hackathon run by CSH.

Mineral is written in Rust using GTK 4 using gtk4-rs


Mineral is installed on a Raspberry Pi living inside each vending machine attached to a touch screen and Gatekeeper NFC reader.

Users can approach a vending machine, tap the item they'd like, and scan their tag when prompted and their order will be dropped provided they have sufficient credits!

Note: Mineral supports listing the contents of multiple machines. This is used to allow Big Drink to be used for ordering from Snack which does not have a touch screen of it's own.

Photo of Mineral's current deployment

Mineral in the news