An open API service indexing awesome lists of open source software.

https://github.com/Hakky54/senzu

🫘 A CLI tool to get the battery percentage
https://github.com/Hakky54/senzu

Last synced: 12 days ago
JSON representation

🫘 A CLI tool to get the battery percentage

Awesome Lists containing this project

README

          

[![Actions Status](https://github.com/Hakky54/senzu/workflows/Build/badge.svg)](https://github.com/Hakky54/senzu/actions)
[![Coverage](https://sonarcloud.io/api/project_badges/measure?project=io.github.hakky54%3Asenzu&metric=coverage)](https://sonarcloud.io/dashboard?id=io.github.hakky54%3Asenzu)
[![Apache2 license](https://img.shields.io/badge/license-Aache2.0-blue.svg)](https://github.com/Hakky54/sslcontext-kickstart/blob/master/LICENSE)

# Senzu 🫘
A CLI tool to get the battery percentage

## Demo
![alt text](https://github.com/Hakky54/senzu/blob/master/images/demo.gif?raw=true)

## Installing

- Mac OS X - Homebrew 🍺
- Run `brew tap hakky54/senzu && brew install senzu`
- Linux & Windows
- Download the latest binary here: [Releases](https://github.com/Hakky54/senzu/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

```text
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

```text
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:

* Give it a star
* Make a donation through [GitHub](https://github.com/sponsors/Hakky54) or [open collective](https://opencollective.com/hakky54)
* Submit a PR