Skip to content

feat(content): hide, label and report AI channels from the AiSList list - #2067

Merged
A-EDev merged 1 commit into
mainfrom
feat/ai-channel-filter
Nov 14, 2026
Merged

A-EDev merged 1 commit into
mainfrom
feat/ai-channel-filter

Conversation

@A-EDev

@A-EDev A-EDev commented Nov 14, 2026

Copy link
Copy Markdown
Collaborator

Summary

  • New Settings > Integrations > AI channels group: "Hide AI channels" (block list) and "Label suspected AI channels" (warn list), both off by default. Nothing is downloaded or scheduled while both are off.
  • The list comes from the signed mirror at ailist.flow-tube.org (Flow-Tube/AIlist): Ed25519 manifest check with the existing Curves.verify, SHA-256 per file, daily deltas, atomic store in noBackupFilesDir, daily WorkManager refresh. The list is never backed up or synced.
  • Hiding joins FeedExclusions.hidesFromRecommendations (Home, chips, Home cache, related, autoplay, rank()), plus search videos and the Shorts V2 feed. Subscriptions and subscribed channels are never filtered.
  • Video.channelHandle is read by the video, lockup (byline, then avatar), related, mix and NewPipe parsers, and a channel id to handle index covers rows that carry only an id.
  • Warn-list channels get a "Suspected AI" card label. A listed channel's page shows a banner with "Show its videos", undone from Hidden from you > Allowed AI channels.
  • List source: a custom https server with an optional public key (raw base64 or the pipeline's PEM) for self-hosted or other public instances. Switching source starts from a fresh snapshot.
  • Reporting (opt-in, needs a submitter name): "Report AI channel" in the video menu opens a confirm page and sends the channel handle, video link and name to AiSList.

Related issue

Closes #865

Change type

  • Bug fix
  • Feature
  • Refactor or maintenance
  • Build, packaging, or CI
  • Documentation

Validation

  • ./gradlew :app:assembleGithubDebug: BUILD SUCCESSFUL
  • ./gradlew :app:testGithubDebugUnitTest: 5979 tests, 0 failures
  • I ran any additional flavor-specific build or test tasks affected by this change: :app:testFossDebugUnitTest (5936 tests, 0 failures), :app:compileFossDebugKotlin, ktlintCheck, nightly_notes.py --check
  • I manually tested the affected behavior on an Android device or emulator.

Test device and Android version: Xiaomi 2311DRK48G, HyperOS on Android 16 (filter, search, channel banner, allow and hide again); Android emulator, API 37 (list source, wrong key refused, reporting up to the confirm page)

Screenshots or recordings

Risk and compatibility

  • Network: ailist.flow-tube.org (or the chosen server) about once a day only while a switch is on; api.aisloplist.com only when the user confirms a report. Both are listed in privacy.md.

  • Preferences: three profile keys for the switches and allowlist, two profile keys for reporting, two device keys for the list source. No Room changes.

  • Background work: one unique periodic worker with a random start time, plus a one-off run when a switch is turned on or the source changes.

  • List downloads use their own 5 minute call timeout; the shared 60 s one cut off the snapshot on slow links.

  • The change does not introduce secrets, private data, or unexpected telemetry.

  • New user-facing text uses Android string resources.

  • Dependency and lockfile changes are intentional and limited to this PR.

  • Room schema changes include the required version bump and migration, or this PR does not change the Room schema.

  • Breaking changes and upgrade steps are clearly documented.

Copilot AI balanced review requested due to automatic review settings November 14, 2026 10:21
@github-actions github-actions Bot added documentation Improvements or additions to documentation algorithm Recommendation engine and math ui Compose UI, theming, or Material 3 surfaces extraction InnerTube / NewPipe extraction and networking labels Nov 14, 2026

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot was unable to review this pull request because the user who requested the review has insufficient remaining quota. Try requesting a review at a lower effort level.

An organization owner can choose the repository organization as the billing source for reviews requested by members with a paid Copilot license. Learn about Copilot code review billing.

@A-EDev
A-EDev merged commit dd4f830 into main Nov 14, 2026
9 checks passed
@A-EDev
A-EDev deleted the feat/ai-channel-filter branch November 14, 2026 10:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

algorithm Recommendation engine and math documentation Improvements or additions to documentation extraction InnerTube / NewPipe extraction and networking ui Compose UI, theming, or Material 3 surfaces

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Feature]: Support for AiSList content filtering

2 participants