blockbasti / just_another_workout_timer

A simple timer for your workouts, built with Flutter!
MIT License
127 stars 21 forks source link

Add Webhooks #169

Open mweichert opened 9 months ago

mweichert commented 9 months ago

Is your feature request related to a problem? Please describe.

I'm using Just Another Workout Timer for as much as I can:

I'd like to be able to do the following:

Describe the solution you'd like Provide a UI for inputting webhooks at the application level. A user could add one or more urls that would receive events formatted in JSON based on what happens in JAWT.

Some events would include:

Perhaps later we could add:

In the event, there should be properties:

Additional context

Event Filtering Perhaps users would like the ability to configure what events a particular url would receive. This would be great to have but not necessary to begin with, as filtering could always be done at the receiving end.

Global Settings vs Workout-specific Settings Rather than have these settings global, you could have them configurable per workout. But I think that could come later - have global settings for all workouts, and then later, if requested by many, add the ability to configure workout-level webhooks that override the global settings.

mweichert commented 9 months ago

Great work on this app. I'm a daily user and wouldn't want to live without it! Thanks for making it open source. Although I'm a developer, I have zero experience building mobile apps. If you could guide me on how to add these, I'd be happy to create a PR and give it a shot.