Push Filter 是一款 Android 应用,通过正则表达式有选择地阻止或允许来自任何应用的通知,解决在不关闭整个应用的情况下屏蔽促销广告的问题。

Stars

6

7 天增长

暂无数据

Fork 数

1

开放 Issue

0

开源协议

MIT

最近更新

2026-07-29

AI 仓库情报摘要
FR-AI / ANALYSIS

为什么值得关注

它提供无网络权限、注重隐私的开源方案,内置实时正则测试器和通知日志,赋予用户比 Android 原生设置更精细的通知控制。

适合谁使用

  • 受到所需应用推送广告打扰的 Android 用户
  • 注重隐私、希望避免分析或网络访问的用户
  • 希望研究 NotificationListenerService 和正则过滤的开发者

典型使用场景

  • 屏蔽购物应用的促销消息(如 'sale'、'discount'),同时保留配送通知
  • 仅允许银行应用的支付确认,忽略信用卡推荐
  • 在所有应用中过滤掉重复的提醒(如 'Rate the app')

项目优势

  • 支持阻止和允许两种模式,可混用于同一应用,实现白名单或黑名单策略
  • 规则编辑器中提供实时正则测试,保存前即可看到裁决结果
  • 通知日志记录所有事件,一键从日志创建规则,简化模式发现
  • 无互联网权限、无分析、无账号,所有数据仅存于设备本地

使用前须知

  • 被阻止的通知可能短暂闪烁,因为 Android 在监听器关闭前已发布通知
  • 发送应用的声音和振动无法在关闭前完全抑制
  • 部分设备(小米、华为、三星)的激进电池优化可能杀死监听服务,需要重启后重新授权

README 快速开始

Push Filter

Regex notification filtering for Android. Silence the ads an app sends without silencing the app.

Русская версия: README.ru.md

Rule editorLogSettings

The problem

Your delivery app tells you the courier is downstairs. It also tells you about a 20% discount on sushi. Your bank confirms a payment, then offers you a credit card. Android only lets you turn off all notifications from an app, or keep all of them.

Push Filter sits between the app and your status bar and decides per notification, using regular expressions you write.

Features

  • Two filtering modes. Block what matches, or allow only what matches. Both can be mixed on the same app.
  • Per-app or global rules. A rule targets one application or every application at once.
  • Matches the whole notification. Title, body, big text, inbox lines and messaging-style conversations are all searched — ads often hide in the extras that a collapsed notification never shows.
  • Live regex tester. Paste a real notification into the editor and see the verdict before you save the rule.
  • Notification log. Everything that arrived, blocked or passed, with search and filters. One tap turns any log entry into a rule with the app and text pre-filled.
  • Ignore list. Applications you never want touched are skipped before any other work, so a chatty messenger costs nothing and never reaches the log.
  • Backup. Export and import all rules and the ignore list as readable JSON.
  • Log retention. Keep the log for 1, 7, 30 days or forever; old entries are pruned automatically.
  • Private by construction. No network permission, no analytics, no accounts. Notification text never leaves the device.
  • Material 3 UI in English and Russian, with dynamic color on Android 12+.

Install

Download

Grab the latest signed APK from the releases page and open it on your phone. You will need to allow installation from your browser or file manager.

With a cable:

adb install push-filter-1.1.apk

First run

The app needs notification access — the permission that l

项目描述

Block or allow Android push notifications per app using regular expressions, with a log of everything filtered

相关仓库与替代方案

根据分类、Topic 和编程语言匹配的相似项目。

makecindy
精选
makecindy GitHub avatar

cindy

Cindy is an open-source AI agent that runs locally on your machine, integrates multiple AI harnesses and models, and provides memory, skills, and automation to perform real work in your projects and apps.

AI 与机器学习大语言模型
958
imjyotiraditya
imjyotiraditya GitHub avatar

dmt

dmt is a TUI-inspired Android music player that plays local files and streams from a self-hosted Jellyfin server, featuring ASCII art cover rendering, synced lyrics, listening stats, Android Auto support, and a clean no-ad, no-analytics design.

Kotlin
88
Blaizzy
精选
Blaizzy GitHub avatar

nativ

Nativ is a native macOS app that lets you run AI models locally on Apple silicon, offering chat, model management, performance analytics, and an OpenAI/Anthropic-compatible API server.

AI 与机器学习AI 视觉与语音
985