Ecosyste.ms: Awesome

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

Awesome Lists | Featured Topics | Projects

https://github.com/tsutsu3/pi-hole-client

Unofficial Pi-hole client
https://github.com/tsutsu3/pi-hole-client

adblock android client dashboard mobile pi-hole v5 v6

Last synced: 10 days ago
JSON representation

Unofficial Pi-hole client

Awesome Lists containing this project

README

        

[![Issues][issues-shield]][issues-url]
[![MIT License][license-shield]][license-url]
[![CodeCov][codecov-shield]][codecov-url]
[![Codaocy][codacy-shield]][codacy-url]
[![SonarQube][sonar-quality-gate-shield]][sonar-quality-gate-url]
![Status][status-shield]



feature-image



Pi-hole client is an unnoficial

Pi-holeยฎ

client


## ๐Ÿ“š Table of Contents

- [๐Ÿ“š Table of Contents](#-table-of-contents)
- [๐ŸŽ‰ About The Project](#-about-the-project)
- [๐Ÿ’ก Main features](#-main-features)
- [๐Ÿ“Œ Requirements](#-requirements)
- [๐Ÿ”‘ Privacy policy](#-privacy-policy)
- [๐Ÿ“œ Disclaimer](#-disclaimer)
- [๐ŸŒŸ Recommended lists](#-recommended-lists)
- [๐Ÿ’– Donations](#-donations)
- [๐Ÿ› ๏ธ Development](#๏ธ-development)
- [Prepare the development environment](#prepare-the-development-environment)
- [Compile the production build](#compile-the-production-build)
- [Code Quality and Analysis](#code-quality-and-analysis)
- [โš–๏ธ License](#๏ธ-license)
- [๐Ÿ–‹๏ธ Credits](#๏ธ-credits)

## ๐ŸŽ‰ About The Project

The easy way to manage your Pi-holeยฎ server.

Easily view statistics, enable or disable the server, access logs, and much more.

## ๐Ÿ’ก Main features

![ss](assets/other/ss.jpg)

โ–ถ Manage your Pi-holeยฎ server on an easy way.


โ–ถ Supports Pi-hole v6.


โ–ถ Enable and disable the server with only one button.


โ–ถ Beautiful charts with all the statistics you need to see.


โ–ถ Add multiple servers to the app, and manage all of them from here.


โ–ถ Explore the query logs list and see the log details.


โ–ถ Manage your domain lists. Add and remove domains to the whitelist or blacklist.


โ–ถ Material User interface with dynamic theming (only Android 12+)

## ๐Ÿ“Œ Requirements

- Fully supports Pi-hole v6
- Requires Pi-hole v5.12 or greater
- Requires web interface v5.14.2 or greater

## ๐Ÿ”‘ Privacy policy

Check the privacy policy [here](https://github.com/tsutsu3/pi-hole-client/wiki/Privacy-policy).

## ๐Ÿ“œ Disclaimer

This is an unofficial application. The Pi-hole team and the development of the
Pi-hole software is not related in any way with this application.

## ๐ŸŒŸ Recommended lists

On [this repository](https://github.com/JuanRodenas/Pihole_list) you can find
some recommended lists. Thanks to [JuanRodenas](https://github.com/juanico10).

## ๐Ÿ’– Donations

If you like the project and you want to contribute with the development, you
can [become a sponsor on GitHub](https://github.com/sponsors/tsutsu3), or
[buy me a coffe](https://buymeacoffee.com/tsutsu3).

## ๐Ÿ› ๏ธ Development

### Prepare the development environment

1. Clone the repository
2. Run `flutter pub get`
3. Clone the `.env.sample` file and name it `.env`
4. On the `SENTRY_DSN` variable assign it's value
5. Inside the `android` folder, clone the `key.properties.sample` file and
name it `key.properties`
6. Open the file and fill the variables with the corresponding values
7. Store your `keystore.jks` file inside `android/app`

### Compile the production build

#### Common

Run these commands as needed whenever you update the images.

1. Run `dart run flutter_launcher_icons`
2. Run `dart run flutter_native_splash:create`

#### Android

1. Run `flutter clean`
2. Run `flutter pub get`
3. Run `flutter build apk --release` to build the .apk file
4. Run `flutter build appbundle --release` to build the .aab file

#### macOS

1. Run `flutter clean`
2. Run `flutter pub get`
3. Run `flutter build macos --release` to build the .app file

#### Linux

1. Run `flutter clean`
2. Run `flutter pub get`
3. Run `flutter build linux --release` to build the Linux executable
4. If you want to build also the .deb file do this:
1. Run `dart pub global activate flutter_to_debian` to install the utility
that will build the .deb file
2. Run `flutter_to_debian`

#### Windows

1. Run `flutter clean`
2. Run `flutter pub get`
3. Run `flutter build windows --release` to build the Windows executable
4. Install the [InnoSetup](https://jrsoftware.org/isdl.php) software you don't
have it
5. Run `iscc /Q windows/innosetup_installer_builder.iss` to generate the
Windows installer

### Code Quality and Analysis

To ensure code quality and identify potential issues, perform the following
analysis steps:

1. **Calculate Code Metrics**

Generate code metrics for the lib directory:

```bash
dcm calculate-metrics lib
```

or

```bash
dart run dart_code_linter:metrics lib --reporter=html -o metrics
```

2. **Analyze Code**

Analyze the project to catch syntax errors, type issues, and other code problems:

```bash
flutter analyze
dcm analyze lib
```

3. **Check Unused Files**

Identify unused files in the lib directory:

```bash
dcm check-unused-files lib
```

## โš–๏ธ License

This app distributed under the Apach 2.0 License. See [LICENSE](./LICENSE) for
more information.

## ๐Ÿ–‹๏ธ Credits

This project is based on [DroidHole](https://github.com/jgeek00/droid-hole),
originally developed by [JGeek00](https://github.com/JGeek00).

For details on the licenses applicable to this project, please refer to [LICENSE.md](./LICENSE.md).

(back to top)

[status-shield]: https://img.shields.io/badge/status-alpha-orange?style=for-the-badge
[issues-shield]: https://img.shields.io/github/issues/tsutsu3/pi-hole-client?style=for-the-badge
[issues-url]: https://github.com/tsutsu3/pi-hole-client/issues
[license-shield]: https://img.shields.io/github/license/tsutsu3/pi-hole-client?style=for-the-badge
[license-url]: https://github.com/tsutsu3/pi-hole-client/blob/master/LICENSE
[codecov-shield]: https://img.shields.io/codecov/c/github/tsutsu3/pi-hole-client?token=O6MIIYA211&style=for-the-badge&logo=codecov
[codecov-url]: https://codecov.io/gh/tsutsu3/pi-hole-client
[codacy-shield]: https://img.shields.io/codacy/grade/a8a50d5271be491ab68c69513f808ada?style=for-the-badge&logo=codacy
[codacy-url]: https://app.codacy.com/gh/tsutsu3/pi-hole-client/dashboard
[sonar-quality-gate-shield]: https://img.shields.io/sonar/quality_gate/tsutsu3_pi-hole-client?server=https://sonarcloud.io&style=for-the-badge&logo=sonarqube
[sonar-quality-gate-url]: https://sonarcloud.io/summary/new_code?id=tsutsu3_pi-hole-client