搜索插件、代码仓与 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 ↗