搜尋套件、儲存庫與 APP 分類

GitHub 儲存庫sterrenb/flutterhole

flutterhole

Pi-Hole® 面板的第三方 Android 應用程式。

flutterhole 專案封面
星標
392
分支
23
最近推送(UTC)
2025年2月19日
專案狀態
已封存

原始 README

以下為英文專案原文快照,最新內容請造訪 GitHub。

FlutterHole

Codemagic build status Coverage Status MIT Licenced Platform

FlutterHole is a free third party Android application for interacting with your Pi-Hole® server.

Note: Currently archived. Check the web branch to check the archived beta release.

Get it on Google Play

Features

  • Quick enable/disable: Toggle your Pi-hole from your home screen with a single tap.
  • Multiple configurations: Easily switch between every Pi-hole that you have access to.
  • Summary overview: View top clients and the top used domains.
  • Query log: Inspect & search your Pi-hole queries.

Development

FlutterHole is developed using Android Studio, which offers a complete, integrated IDE experience for Flutter.

Testing is done using a local Pi-hole installation on an internal network. Due to this, support for other network setups relies heavily on user feedback.

If you want to improve the network support for FlutterHole by testing against your own setups, you can build the app locally and debug any issues.

Getting Started

After cloning this repository, perform the following steps before building your project.

All snippets assume your initial working directory is the root of the project.

Generate a debug signing key

Skip the questions, and confirm with yes.

#!/bin/bash
cd android/app
keytool -genkey -v -keystore keystore.jks -storepass android -alias androiddebugkey -keypass android -keyalg RSA -keysize 2048 -validity 10000
Create a properties file for the signing key
#!/bin/bash
cd android
touch key.properties

After creating the file, populate it with plaintext describing the debug key.

storePassword=android
keyPassword=android
keyAlias=androiddebugkey
storeFile=keystore.jks
Generate the icon assets
#!/bin/bash
flutter pub get
flutter pub run flutter_launcher_icons:main
Generate code

To generate freezed classes, injectable injections etc.:

flutter pub run build_runner build --delete-conflicting-outputs  

Or, build continuously:

flutter pub run build_runner watch --delete-conflicting-outputs  

You can now build and run the app on either an emulator or a physical device using flutter run.

Testing

To run the default integration test:

flutter drive --target=test_driver/app.dart

API

This application interacts with the Pi-hole PHP API.

A new API is in the works from the Pi-hole team. For progress, check the pull request on GitHub.

sterrenb GitHub avatar
GitHub 作者

sterrenb ↗

😺👋

Netherlands
語言DartHTMLSwiftKotlinObjective-C

分類

依賴 Flutter 元件

使用的依賴

依賴清單 53 項

App 分類

如何選擇適合專案的儲存庫?

先依使用情境篩選,再比較專案活躍情況,最後到原始儲存庫確認使用要求。

  1. 透過儲存庫名稱、作者或描述搜尋,再依技術分類縮小範圍。
  2. 綜合星標、分支與最近推送比較專案;星標反映社群關注,不保證品質。
  3. 使用前在 GitHub 確認 README、授權條款與 Issues。

來源與維護

“A repository is the most basic element of GitHub.”

GitHub Docs — About repositories ↗