Git Product home page Git Product logo

dutch-bros-cli's Introduction

dutch-bros-cli

Motivation

😧 The Problem

Dutch Bros has too many flavours. But they’re all SO GOOD. Usually there are many flavours that look good but I have to scroll all around the website comparing them and I end up picking one, but only out of fatigue. It’s an issue.

😌 The Solution

The Dutch Bros flavour picker: a CLI for picking for drinks based on the their flavours, seeing all flavours, and the flavours in any drink. Say you know you want Raspberry in your drink. No time to sift through the scattered website in line! Using this tool you quickly discover that your options are down to Astronaut, Dragon Slayer, Gem Berry, and Laser Cat, and you can quickly see the differences between them so you can make the most informed choice 😄.

demo video

Installation

git clone https://github.com/camball/dutch-bros-cli
cd dutch-bros-cli
python3 -m dbcli

Usage

  • List all the drinks with the specified flavours

    > drinks Coconut
    
    Laser Cat: Raspberry
    Rocky Point: Blackberry, Orange, Peach
    Tiger's Blood: Strawberry

    Note: Anywhere you'd ordinarily have a space in a flavour or drink name, an underscore must be used instead, such as in the following:

    > drinks Passion_Fruit Pomegranate
    
    Hyperchrome: Orange
    Og Gummybear: Watermelon, Grapefruit
    Palm Tree: Lime
    Stop Light: Kiwi
  • List all the drinks with the specified flavours, excluding all drinks that have Orange in them

    > drinks Passion_Fruit Pomegranate except Orange
    
    Og Gummybear: Watermelon, Grapefruit
    Palm Tree: Lime
    Stop Light: Kiwi
  • List all flavours

    > flavours
    
    Almond
    Banana
    Blackberry
    Blackberry Drizzle
    Blue Raspberry
    …
  • List all flavours in a drink

    > Aquaberry
    
    Strawberry
    Kiwi
    Blue Raspberry
    Watermelon
  • Find the closest Dutch Bros to you

    > find
    
    {address}
  • Exit the program

    > {exit | quit}

Flavours from https://www.dutchbros.com/menu/lemonade

dutch-bros-cli's People

Contributors

camball avatar

Watchers

 avatar

dutch-bros-cli's Issues

Script to automatically update JSON flavour list

Use requests and selenium to automate the “see full menu” button, then bs4 to scrape flavours in a script and update the JSON.

Might have to do some manual validation though, for example when it says "Peach, Passion Fruit w/ Blackberry & Blue Raspberry Drizzle", that's kinda ambiguous at first glance. Had to look up a YouTube video to understand that that meant "the flavours are peach and passion fruit, and there is blackberry drizzle and blue raspberry drizzle."

Implement `find` Command

At least raise NotImplemented, right now it just silently does nothing even though it's mentioned in the readme lol

Expand beyond just lemonade flavours?

Idk, I only really go to Dutch Bros for the lemonade so this isn't really a priority. I still wrote the flavours.json with LEMONADE as a top level key so in the future if I want to also do coffee or tea it would work.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.