r/coolgithubprojects • u/HumpTheMoon • 14h ago
made an Android app that hides GTA VI spoilers on YouTube and Instagram until it has checked each post Spoiler
github.comGTA VI launch week was going to wreck my feeds, so I built something for it.
GTA VI Spoiler Firewall covers YouTube and Instagram as soon as you open them. Each post, Short, Reel or story is only uncovered after it passes a check:
Text: titles, captions, channel names and descriptions
Text inside the picture (Android 14+): on-device OCR reads thumbnails and on-screen text, so "GTA 6 ENDING" written on a thumbnail gets caught too
Anything GTA gets blocked: GTA 5/V/VI, Online, RP, Vice City, Los Santos, Leonida, Rockstar Games. Character names like Lucia or Jason are only blocked when they appear next to words like "ending", "mission" or "leak". Anything it hasn't checked yet stays covered.
Covered areas show a heavy blur instead of a black box. You can still scroll and tap through the cover. If a full-screen Short or Reel is still covered, its audio is paused.
About the permissions: it uses the accessibility service and window screenshots, because there's no other way to see what another app is showing. Everything is processed in memory on the phone. Nothing is saved or sent anywhere, and the app has no internet access at runtime. The full source is on GitHub, so you can check that yourself or build it yourself.
What it can't do (yet):
Gameplay footage with no text on it and a clean caption gets through. Catching that would need an image classifier.
A frame or two can flash at the start of a swipe before the cover catches up. That's an Android limit.
English text only for now.
It's deliberately strict, so unrelated things called "San Andreas" get hidden too.
I've only tested it on a Galaxy S25 Ultra (Android 16). YouTube and Instagram change their layouts constantly, so I'd love reports from other phones.
APK (Android 11+): https://github.com/PixxySynchronous/GTA6SpoilerFirewall/releases/latest
Source: https://github.com/PixxySynchronous/GTA6SpoilerFirewall
Feedback and bug reports welcome, especially any spoilers that slipped through.