GithubHelp home page GithubHelp logo

bodyweight's Introduction

Bodyweight Alexa Handler

Build Status Coverage Status

individuelles bodyweight training

Der Skill unterstützt dich bei der Ausführung des Bodyweight Training. Alle Übungen basieren auf dem Buch "Fitte Ohne Geräte" von Mark Lauren

TODO

  • Hintergrundmusik beim Training
    hierbei muss immer die Lautstärke an den enstprechenden Stellen reduzieret werden sonst sonst hört man die Ansagen nicht.
  • Panics abfangen, und als error senden (z.b. bei Type Assertions)
  • ggf. Monkeypatching in tests
  • Cleanup
  • Neues Display-Interface
  • Anzeige der Übungen auf dem Display
  • Testabdeckung erhöhen
  • TODO fixen
  • Trainingswoche,TrainingsTag, Level per sprachbefehl (alexa) einstellen
  • Prüfen, wie weit man hinter Plan ist / Abgleich mit Kalendertag
  • Trainingsdaten auswerten (z.B. verbrachte Trainingszeit je Woche)

Commands

proxy local from 0.0.0.0:1234 to localhost 1234

socat -d -d -v TCP4-LISTEN:1234,fork,bind=192.168.178.30 TCP4:localhost:1234

running the function:

  • as server

      DEBUG=true _LAMBDA_SERVER_PORT=1234 go run .
    
  • as client

    this will connect to 0.0.0.0:1234 (where socat ist listen). the request will be forwarded to 127.0.0.1:1234

      TESTCLIENT=true go run .
    

testing everything:

go clean -x -testcache
go test bodyweight/...

linting

golangci-lint run

Sprach Modell

Request: LaunchRequest
    starte das bodyweight training
        Willkommen ->       name   ja   -> persönliche Begrüssung
                            |
                            ------ nein   -> Name nachfragen -> Willkommen

Intent: DefineUser
    mein Name ist {name}
    ich bin {name}
        ---- ändere den Namen

Intent: ExplainTraining
    erkläre das heutige training
    erkläre das training
        ---- erklärt das training

Intent: ExplainExercise
    erkläre die nächste übung (immer nur eine einzige)
    starte die nächste übung
        ----- erkläre die Übung

Intent: StartTraining
    du kannst loslegen
    bereit
        ----- startet die nächste übung mit zeitunterstütung und übungsansage

Intent: ExplainTrainingMethod
    erkläre Das stufenintervall
    erkläre die Intervallsätze
    erkläre den Supersatz
    erkläre die Zirkelintervalle
    erkläre den Hochintensitätssatz
        ----- erklärt die trainingsmethoden

Inten: AMAZON.HelpIntent
    kannst du mir helfen
        ----- erkläre alle Funktionen

Intent: AMAZON.StopIntent
    ich mag nicht mehr
    beende das training
    stoppe das Training
    Ende

bodyweight's People

Watchers

James Cloos avatar  avatar

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.