Skip to content
A quick, dirty way to get randomized beer recipes
Clojure Other
  1. Clojure 99.5%
  2. Other 0.5%
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.github
resources/public
src/cljs/brew_bot Fix namespacing that somehow worked in dev mode Nov 16, 2019
test/cljs/brew_bot
.gitignore
CHANGELOG.md
CODE_OF_CONDUCT.md
CONTRIBUTING.md
LICENSE
README.md
package-lock.json
package.json
project.clj Version bump Nov 16, 2019

README.md

brew-bot - The algorithmic beer recipe generator

Github Runner

We’re making beer. I’m the brewery!

  • Bender Bending Rodriguez from Futurama

brew-bot

Bot that spits out brew recipes for n-gallon batches. Originally made for wallbrew.com

The alpha release is now available!

brew-bot is a re-frame SPA used to generate random beer recipes based on various weighting schemes:

  • Purely Random - brew-bot will randomly select ingredients and quantities up to the set weight limit.
  • Constrained Random - brew-bot will randomly select ingredients and quantities up to the set weight limit, selecting no more ingredients than the set limit.
  • Weighted Random - brew-bot will allow the user to select ingredients to adjust their relative selection probabilities, and randomly pick ingredients from the full list respecting the user-selected weights.
  • Weighted Guided - brew-bot will allow the user to select ingredients to adjust their relative selection probabilities, and randomly pick ingredients from the that list respecting the user-selected weights.
  • COMING SOON: Weighted Observed - brew-bot will utilize weights learned from scraping real world beer recipes by style.

Installation

Production build:

lein prod-build

Dev/Figwheel build:

lein dev-build
lein figwheel

Then, open resources/public/index.html in the browser of your choice.

Testing

doo, a Leiningen plugin used to run ClojureScript tests in many JS environments, is already in project.clj. Karma is used as the test runner, and is included in package.json.

To install Karma, simply install the Node package:

npm install

Then build the application and run the tests:

lein test-build

License

Copyright © 2019 Nick Nichols

Distributed under the Eclipse Public License either version 1.0 or (at your option) any later version.

Wooden Beer Keg Icon by Icons8

You can’t perform that action at this time.