14 May 2013

Getting Started with Brauhaus.js

This post will show you how to start using Brauhaus.js, the open source beer homebrewing library that runs both on servers and client-side in a web browser. It is incredibly easy to get started if you know a little bit of Javascript or Coffeescript.

There are two ways of using Brauhaus: either within a standalone Javascript runtime like Node.js or in a web browser. Today we'll focus on the web browser. In order to start using Brauhaus, simply download the latest minified code and include it on your web page:

After that, it's relatively easy to create new recipes, add ingredients, and calculate recipe values like gravities, bitterness, alcohol, etc:

There are JSFiddle playgrounds setup with code very similar to the above to let you try all this out for yourself and play with various things like ingredients.

Brauhaus.js Playground Screenshot

Try them out and see what you think!

01 May 2013

Brauhaus.js Mashing

A new release of Brauhaus.js now supports mash profiles, including importing and exporting mash information with BeerXML!

Mashing is easy to set up. The following example shows how to do this with CoffeeScript:

These new features will eventually end up on Malt.io when Brauhaus.js is properly integrated for the next major release.

06 April 2013

Malt.io Forums

Malt.io now has a forums section on the site! There are several categories where users can post and reply like 'Tips & Tricks', 'Recipes', 'Fermenting', and 'Kegging'. Take a look:

Malt.io Forums
Please let me know if you want to see any other categories, and feel free to start posting!

On a related note, it was brought to my attention that the hosted commenting solution in use up until today was not only displaying ads, but inappropriate ads to Malt.io users. The comments code has been replaced with a different product that will not place any ads by the content. Your Disqus username will no longer work to comment and you'll need to get a Moot username, but otherwise the commenting system functions in much the same way. Moot is promising a unified login solution in the near future, so some day you will only need a Malt.io account and nothing else.

Please continue to bring issues like inappropriate or intrusive ads, inappropriate content, etc to my attention via the feedback button, forums, or email. Thanks and enjoy the new features!

14 March 2013

Increased Maximum Batch Size

The maximum batch and boil sizes have been increased to 20 gallons on Malt.io to facilitate group brewing:

Recipe scale dialog
It should now be easier to calculate large, group brews. Please let us know if any other limitations are preventing you from using Malt.io!

As a side note, a small bug has also been fixed that prevented recipe styles from being properly copied when cloning recipes.

08 March 2013

Fermentation Temperatures

Each beer recipe on Malt.io can now customize the fermentation temperature for primary, secondary, and tertiary fermentation steps. This is accessible via the 'Customize ferment' button in the recipe editor:

Custom mash and fermentation buttons
Choosing 'Custom ferment profile' from the dropdown will now show this dialog:

Fermentation duration and temperatures
Now you can really help others get that Belgian funk from a high temperature fermentation, and perhaps more importantly Malt.io now supports lager temperatures for the automatically generated instructions. Happy fermenting!

01 March 2013

Introducing Brauhaus.js

Today I'm proud to announce a spin-off of Malt.io called Brauhaus.js! Brauhaus.js is a homebrew beer calculation library that can be used both on the server backend and in browsers (client-side). It was built from the code that makes Malt.io's recipe calculator work, and has the following features:

  • Support for multiple Javascript runtimes
    • Node.js 0.6.x, 0.8.x, 0.9.x
    • Chrome, Firefox, Internet Explorer 9+, Safari, Opera, etc
  • BeerXML import / export
  • Calculate estimated OG, FG, IBU, ABV, SRM color, calories, and more
  • Tinseth and Rager IBU calculation formula support
    • Pellets vs. whole hops support
    • Late addition boil support
    • Dry hopping support
  • Automatically generated recipe instructions and timeline
  • Estimate monetary recipe cost in USD based on ingredients
  • Built-in unit conversions (kg <-> lb/oz, liter <-> gallon, temps, etc)
  • Color in °SRM to name, RGB conversions, CSS color support, etc
One of the major advantages of Brauhaus.js is that it is a standalone piece of software utilizing continuous integration based on dozens of unit tests that the Malt.io codebase did not have. Each test is run in Node.js 0.6, 0.8, and 0.9 as well as a headless Webkit-based browser to ensure functionality works as expected.

Brauhaus.js is extremely easy to use. For example, to calculate the original gravity, final gravity, alcohol by volume, bitterness, calories and color of a beer recipe in your browser:

Brauhaus.js is licensed under an MIT license. Feel free to fork the project and submit a pull request for any features you'd like to contribute. Please use Github issues to report any problems with the project.

21 February 2013

Visual Style Guide

Thanks to a contribution by Jens Taylor, Malt.io now has a visual style guide on recipes which have a beer style set. The guide shows you how your beer matches the style:

Style guide for a stout recipe
The style guide can be activated by using the new button on the right side of a recipe, above the original gravity estimate. This should make it much easier to get an overview of how your recipe matches a style as well as the basic metrics for your brew.

Have any ideas on how to improve this dialog? Drop us a comment below!