Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/com8/aps-ui
GTK4 Based UI for Stats all Around AP Sensing in Böblingen using a Raspberry Pi.
https://github.com/com8/aps-ui
Last synced: 14 days ago
JSON representation
GTK4 Based UI for Stats all Around AP Sensing in Böblingen using a Raspberry Pi.
- Host: GitHub
- URL: https://github.com/com8/aps-ui
- Owner: COM8
- License: gpl-3.0
- Created: 2023-04-06T18:13:01.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2024-10-13T17:26:57.000Z (about 1 month ago)
- Last Synced: 2024-10-17T16:22:44.959Z (about 1 month ago)
- Language: C++
- Size: 466 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Aps-UI
GTK4 Based UI for Stats all Around AP Sensing in Böblingen using a Raspberry Pi.## Examples
![Overview in dark mode](images/overview_dark.png)## Building
### Requirements
#### Fedora
```
sudo dnf install gtkmm4.0-devel libadwaita-devel libcurl-devel g++ clang cmake git
sudo dnf install libsoup3-devel sqlite-devel ninja-build meson
```### Building
```
git clone https://github.com/COM8/aps-ui.git
cd aps-ui
mkdir build
cd build
cmake ..
cmake --build .
```## Flatpak
The aps-ui can be built and installed using Flatpak.### Requirements
#### Fedora
```
sudo dnf install flatpak flatpak-builder
flatpak remote-add --if-not-exists flathub https://flathub.org/repo/flathub.flatpakrepo
flatpak install -y flathub runtime/org.gnome.Sdk/$(arch)/47 runtime/org.gnome.Platform/$(arch)/47
```#### Debian/Ubuntu
```
sudo apt install flatpak flatpak-builder
flatpak remote-add --if-not-exists flathub https://flathub.org/repo/flathub.flatpakrepo
flatpak install -y flathub runtime/org.gnome.Sdk/$(arch)/47 runtime/org.gnome.Platform/$(arch)/47
```### Building
Add `--jobs=1` to the `flatpak-builder` command when building on a Raspberry Pi to prevent running out of RAM.
```
git clone https://github.com/COM8/aps-ui.git
cd aps-ui
flatpak-builder --force-clean flatpak_build_dir de.aps_ui.cli.yml
```### Installing
```
flatpak-builder --user --install --force-clean flatpak_build_dir de.aps_ui.cli.yml
```### Cross-Compiling
In case you would like to cross-compile for the Raspberry Pi (aarch64), this can be done as follows:
```
sudo dnf install qemu-system-arm qemu-user-static
sudo systemctl restart systemd-binfmt.serviceflatpak install flathub runtime/org.gnome.Sdk/aarch64/47 runtime/org.gnome.Platform/aarch64/47
flatpak-builder --arch=aarch64 --repo=repo --force-clean flatpak_build_dir de.aps_ui.cli.yml
flatpak build-bundle --arch=aarch64 ./repo/ de.aps_ui.cli.flatpak de.aps_ui.cli# Copy the "repo" dir to the target system
flatpak --user remote-add --no-gpg-verify aps-ui-repo repo
flatpak --user install aps-ui-repo de.aps_ui.cli
```### Uninstalling
```
flatpak uninstall de.aps_ui.cli
```### Executing
```
flatpak run de.aps_ui.cli
```