Giter Club home page Giter Club logo

thermomix-recipes's Introduction

Thermomix-recipes

  • That application is a basic cookbook based on jQuery mobile (dedicated for a kitchen robot my wife bought called 'thermomix').
  • Application is mainly written in JavaScript, on the client side.
  • Data (categories, recipes and cookbook name) are stored in the client’s localStorage.
  • Data (localStorage exported in JSON) are persisted on the server using a small piece of code in PHP.
  • You can switch between cookbooks, which are stored on separated files on the server.
  • Application should work on offline mode, in a read only mode (using a ServiceWorker).

Demo

Here’s a demo version of the application : http://thermomix.recipes.free.fr

Self-hosting variants

There is a branch storing data on server (using json-store, a simple way to store json).

Prerequisites

You’ll need PHP5 on the server to run the app.

Build

node 8 is needed to run grunt. node 10+ is not compatible.

Run "rake".

The build process :

  • copies files,
  • concats and minifies JavaScript,
  • appends git last commit hash to html file.

Prerequisites

To build the application, you’ll need rake and grunt (which depends on nodejs). For developpement, you’ll need to activate Apache’s rewrite mod (see src/.htaccess file) if you’re using apache.

Installation

  1. Once the build process ran, Copy all "dist" files on the server,
  2. set write attributes to the data folder for the web server’s user.

Know issues

  • Application labels and messages are written in french.
  • For now, all data (meaning all categories and all recipes) are sent on the server on each save (yeah I know, not really bandwith efficient).
  • Concurrency check is very very basic for now (on save, we compare a timestamp between local data and server data and ask user if he want to override all data or not).

Legal stuff

This application uses following OpenSource code or images :

I also used some icons from the Thermomix manual and derived the logo for the icon.

thermomix-recipes's People

Contributors

dependabot[bot] avatar paulgreg avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

Forkers

apollo82 cdmonio

thermomix-recipes's Issues

Newbie doubts...

Could you please provide some more info on installation? I am comfortable only with php and can't quite grasp how to use you app. Thank you so much

how does this work ?

Hey Paul, really nice project ;) When I self-host this, is it possible for me to somehow plug this directly into thermomix ? So, is there any way that portals like these are seen as step-by-step instructions on thermomixe's screen ?

Do you have a dockerfile yet ? :) Greetings

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.