8000 GitHub - bertob/emergency-alerts: A simple app that sends you emergency alerts about your locations
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

A simple app that sends you emergency alerts about your locations

License

Notifications You must be signed in to change notification settings

bertob/emergency-alerts

 
 

Repository files navigation

Emergency Alerts

Emergency Alerts Screenshot

Building, Testing, and Installation

Run flatpak-builder to configure the build environment, download dependencies, build, and install.

For the Adwaita version run

    flatpak-builder build io.github.leolost2605.emergency-alerts-adwaita.yml --user --install --force-clean --install-deps-from=flathub

For the elementary OS version run

    flatpak-builder build io.github.leolost2605.emergency-alerts.yml --user --install --force-clean --install-deps-from=appcenter

Only one of the two versions can be installed at the same time. To execute it run

    flatpak run io.github.leolost2605.emergency-alerts

Adding support for another provider

Contributions that add support for another provider are (like all other contributions as well) very welcome. To do this you just have to add a YourProvider class that extends the Provider abstract class and implements its methods as described by the comments. For reference you can take a look at Germany.vala.

The general flow is:

  • You've got multiple locations the user can choose from that will be requested by the client when the user starts a search
  • The user chooses some locations
  • From now on the client will automatically call refresh with the chosen locations on your provider
  • You take the location, remove outdated warnings, add new ones, and update current ones

(This structure came from how the API of the German civil protection authority is structured.)

The code style used is the elementary OS code style. For vala documentation refer to the elementary OS developer docs and for API documentation to valadoc.

About

A simple app that sends you emergency alerts about your locations

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Vala 93.9%
  • Meson 6.0%
  • CSS 0.1%
0