chapar-rest / chapar

Chapar is a simple and easy to use api testing tools aims to help developers to test their api endpoints. it will support http and grpc protocols.
https://chapar.rest
BSD 3-Clause "New" or "Revised" License
331 stars 12 forks source link

upgrades #34

Open gedw99 opened 1 month ago

gedw99 commented 1 month ago

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

Once the cross platform builds are working, it would be good to add a self update facility.

Describe the solution you'd like

The GUI can poll or get a web hook ( from some server somewhere) and then tell the user to upgrade. Would be good to also have a forced update for hot patches.

Describe alternatives you've considered

I dont know if using GitHub as the source of the binaries is best or not.
I would presume that making it independent of GitHub would be best ?

Additional context

None at this stage.

There are a few different approach to this, so it's worth a discussion.

mirzakhany commented 1 month ago

I agree this is a nice feature to have. 👍

gedw99 commented 1 month ago

https://github.com/sanbornm/go-selfupdate

quite clever, as it also has binary diff compare.