SpinMealDecider is an automated tool that transforms shared meal menus into interactive spin wheels, using Google Sheets and dub.co for easy decision-making and sharing among flatmates. 📊📈🔗
Managing meal choices and making decisions collaboratively can often be a hassle. Our project, SpinMealDecider, provides an interactive and fun solution. It automates the creation of meal decision-making spin wheels from a shared Google Sheet, updates dynamic URLs, and uses dub.co
for easy sharing among flatmates. 🤝📝
Choosing what to eat can be tougher than it seems!
The SpinMealDecider project automates the following processes:
- Data Collection: Read the food menu for each meal (breakfast, lunch, dinner) from a shared Google Sheet. 📄🍳🥗🍛
- URL Creation: Generate dynamic URLs to display these options in a spin-wheel format using Unfair Spin Wheel. 🔄🌐
- URL Shortening: Use
dub.co
API to shorten these URLs for convenient sharing. 📪✂️
Below is an example showing how your Google Sheet should be structured for each meal. Each sheet should have label
and weight
columns. Alongside is a sample outcome demonstrating what the spin wheel URL looks like once generated:
graph LR
A[Google Sheets 📄] -- Fetch Data --> B[GitHub Actions 🤖]
B -- Generate URLs --> C[Spin Wheel 🎡]
B -- Update URLs --> D[dub.co 🔗]
D -- Shortened Links --> E[Shared with Flatmates 👥]
B --> F[SpinMealDecider Helpers 🔧]
F --> G[google_sheets_client 📄]
F --> H[dub_co_client 🔗]
F --> I[spin_wheel_helper 🎡]
For detailed instructions on setting up the project for development and running it locally or within a Docker environment, please refer to DEVELOPMENT.md.