GithubHelp home page GithubHelp logo

0scvr / flutter Goto Github PK

View Code? Open in Web Editor NEW

This project forked from wger-project/flutter

0.0 0.0 0.0 92.28 MB

Flutter fitness/workout app for wger

License: GNU Affero General Public License v3.0

Shell 0.06% Ruby 0.44% C++ 0.41% C 0.06% Objective-C 0.01% Kotlin 0.01% Dart 97.94% Swift 0.16% HTML 0.13% CMake 0.79%

flutter's Introduction

Mobile app for wger Workout Manager

wger is a free, open-source flutter application that manages and tracks/logs your exercises and personal workouts, weight, and diet plans. This is the mobile app written with Flutter, it talks via REST with the main server.

If you want to contribute, hop on the Discord server and say hi!

Installation

Get it on Google Play Get it on F-Droid

Development

1

Install the wger server, the easiest way is to start the development docker-compose: https://github.com/wger-project/docker

Alternatively, you can use the test server (the db is reset every day):

  • URL: https://wger-master.rge.uber.space
  • username: user
  • password: flutteruser
  • API key: 31e2ea0322c07b9df583a9b6d1e794f7139e78d4

2

Install Flutter, and all its dependencies, and create a new virtual device: https://flutter.dev/docs/get-started/install.

The app currently uses flutter 3.7

3

Create a new file wger.properties in fastlane/metadata/envfiles/:

WGER_API_KEY=123456

On Linux and macOS, add these as environment variables, e.g. by running the source command on the file.

To just run/develop the app it only needs to have any value for WGER_API_KEY, but you need a correct value if you want to register via the app. For this, you need to allow (a probably dedicated) user on the wger server to register users on its behalf. For this, generate an API KEY by visiting http://localhost:8000/de/user/api-key on your local instance and then run python3 manage.py add-user-rest the username

You can later list all the registered users with: python3 manage.py list-users-api

4

Start the application with flutter run or use your IDE (please note that depending on how you run your emulator you will need to change the IP address of the server)

You can run the tests with the flutter test

Translation

Translate the app to your language on Weblate.

translation status

Contact

Feel free to get in touch if you found this useful or if something didn't behave as expected. We can't fix what we don't know about, so please report liberally. If you're not sure if something is a bug or not, feel free to file a bug anyway.

License

The application is licensed under the GNU Affero General Public License 3 or later (AGPL 3+) with an app store exception.

As additional permission under section 7, you are allowed to distribute the software through an app store, even if that store has restrictive terms and conditions that are incompatible with the AGPL, provided that the source is also available under the AGPL with or without this permission through a channel without those restrictive terms and conditions.

The initial exercise and ingredient data is licensed additionally under one of the Creative Commons licenses, see the individual exercises for more details.

flutter's People

Contributors

12people avatar adyhnat avatar agwanyaseen avatar amannegi avatar antonis-geo avatar artchiee avatar artemmolotov avatar arun-muralidharan avatar bujdy avatar chenyair avatar comradekingu avatar dependabot[bot] avatar gbuendia avatar harshit933 avatar imgbotapp avatar infiniteoverflow avatar jiggy9 avatar khushbubora avatar m123-dev avatar milotype avatar oersen avatar patrickwitter avatar rolandgeider avatar sandimilohanic avatar stefanorossiti avatar taarnstar avatar thilinatch avatar tomerpacific avatar ton-an avatar wms784 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.