Skip to content

ThatStella7922/battery-webhook

Repository files navigation

Battery Webhook Logo

Battery Webhook

Send your battery info to popular services using webhooks!

Usage and compatibility

Check out Battery Webhook's documentation to learn more about using the app.

You can download Battery Webhook on the GitHub Releases page!

You can also find Battery Webhook on SideStore, just add the ThatStella7922 source from the trusted sources, then install the app!

Development

Feature Status

  • Fully modern, built in Swift and SwiftUI
  • Device info functions (name, battery info, etc)
  • Date saving, formatting, comparison, etc
  • Full configuration infrastructure with UserDefaults
  • Share data container for use with the SiriKit Intents app extension
  • Full programmatic building of various embeds in JSON format
  • HTTP interaction with webhooks
  • Manual sending of battery info in the app
  • Automations support on iOS with Shortcuts Automations
  • Automations support on macOS with IOPowerManagement events and IOKit for high power efficiency
  • Siri Shortcuts support on all compatible platforms
  • Menu bar extra on macOS
  • Supports UPSes (Uninterruiptible Power Supplies) for desktop Macs

Building

Set the development team and bundle identifier in dcbattwebhook-swift/Codesigning.xcconfig, then build with Xcode.

Documentation is provided as DocC for most functions, or code comments

Credits

Built with 💜 by ThatStella7922

Contributors

Battery Webhook would not be possible without its contributors:

  • my Eva Luna
    • Feature ideas, occasional code help and lots of encouragement when I was feeling down, as well as her reaction being the entire reason I began this project:
  • Dhinak G
    • watchOS compatibility, Mac hardware information and general knowledge
  • João Eduardo
    • Early pointers with how to interact with iOS and Apple's development tools

App Icon

The app icon uses modified assets from DazzleUi under the CC Attribution License.
This does not imply endorsement or sponsorship of Battery Webhook by DazzleUi.