Skip to content
calculate nutrition for your favourite recipe!
Branch: master
Clone or download

README.md

nutrigo

Calculate nutrition for your favourite recipe!

Coveralls github branch Travis (.com)

Try live here

Overview

Nutrigo uses basic parsing techniques and USDA's Food Database to calculate nutrition for recipes. Nevertheless it provides good results for well-structured and uncomplicated recipes (ingredient list).

Installing

nutrigo requires Python 3.6+ to run.

Install the dependencies, download WordNet and run the server.

$ pip install -r requirements.txt
$ python3 -m textblob.download_corpora
$ python3 manage.py runserver

Usage

Open your web browser, type localhost:8000 and enter recipe url.

Running with docker

$ docker build -t nutrigo .
$ docker run --rm -it -p 8080:8080 nutrigo

Supported websites

So far the only supported websites are: Yummly.com, KwestiaSmaku.com

Adding support for a recipe website is very simple. See recipe.py for examples.

Running the tests

$ pytest

Contribution

Feel free to contribute to the project by making pull requests!

Built With

  • Django - Python Web framework

License

This project is licensed under the MIT License - see the LICENSE.md file for details

You can’t perform that action at this time.