Senzu ๐Ÿซ˜

March 26, 2026 ยท View on GitHub

Actions Status Coverage Apache2 license

Senzu ๐Ÿซ˜

A CLI tool to get the battery percentage

Demo

alt text

Installing

  • Mac OS X & Linux - Homebrew ๐Ÿบ
    • Run brew tap hakky54/homebrew-apps && brew install senzu
  • Linux - Debian/Ubuntu (apt) ๐Ÿ“ฆ
    • Run sudo add-apt-repository ppa:hakky554/apps && sudo apt update && sudo apt install senzu
  • Linux & Windows
    • Download the latest binary here: Releases

Build locally

Build native executable

Minimum requirements:

  1. GraalVM 17 with Native Image
  2. Maven
  3. Terminal

Additional OS specific requirements

  • Linux: sudo apt-get update && sudo apt-get install build-essential libz-dev zlib1g-dev -y
  • Mac: xcode-select --install
  • Windows: Visual Studio app
mvn clean install -Pnative-image \
 && ./target/senzu

The os native executable binary will be available under the target directory having the file name senzu

Build java fat jar

Minimum requirements:

  1. Java 8
  2. Maven
  3. Terminal
mvn clean install \
 && java -jar target/senzu.jar

The fat jar will be available under the target directory having the file name senzu.jar

Contributing

There are plenty of ways to contribute to this project: