frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

Open in hackernews

Show HN: I built an app to block Shorts and Reels

https://scrollguard.app/
228•adrianhacar•2d ago
I wanted to find a way to use Instagram without ending up scrolling for two hours every time I open the app to see a friend's story.

Most screen time apps I found focus on blocking the app itself instead of the addictive feed, so I created this app to allow me to keep using the "healthy" and "social" features and block the infinite scrolling (Reels)

After implementing the block on Instagram Reels, I got addicted to YouTube Shorts and Reddit feed. So, I extended the app to cover these as well.

To avoid replacing the scrolling for regular feeds, I also added a feature that shows a pop-up when I'm overscrolling in any app. It forces me to stop and think for a minute before I continue scrolling.

I built it on Android Studio, using Kotlin and Jetpack Compose for the UI. I use the Accessibility Service to detect scrolls and navigate out of them. Unfortunately, this only works for Android. There is no way (as far as I know) to do this on iOS.

I'd love to hear your thoughts

Comments

lsd85•2h ago
I just can't authorize an app to have full control on my phone if it's not open-source.

What guarantee do I have that you are not selling all my user data?

benry1•2h ago
I understand the position, but I think that's a silly concern here. This is an app that stops you from using social media features that absolutely farm every bit of data out of you they possibly can.

Feels a bit like being afraid to install a smart lock on your front door, so instead you leave it unlocked all the time.

_verandaguy•2h ago
This is a bad take, as much as I don't use social media at this point, people need access to good tools to curb use, and in this case, "good" means "open."
benry1•2h ago
Can you elaborate why? It sounds like we agree to me. People need access to good tools to curb use, and all else equal, open is definitely better than closed. I just am saying that I'd rather have an effective closed tool than no tool at all
_verandaguy•2h ago
It does sound like we agree, but my main issue is the further shifting of the (for lack of a better word) overton window around when closed software is acceptable.

For all its flaws (and despite my general ire towards them), the FSF has done one thing really well over the years, and that's keep the conversation alive around open-source software (which, in turn, has landed us at what I consider to be a really good compromise of a ton of high-quality source-available software).

The FSF isn't pulling as hard as it used to for a variety of reasons, but I think it's important to keep the pressure on and in cases like this, it's really easy to take the stance that at least source-availability shouldn't be compromised on, since the app presumably needs very broad permissions and capabilities from the OS.

Jaxan•2h ago
I am afraid to install smart locks. Too much goes wrong with software. I would install a regular lock instead.
Liftyee•2h ago
Social media apps don't have the same level of permission to detect scrolling even when they aren't being used. This app does have that higher level of control (accessibility service) and so should be subject to more scrutiny.
widforss•2h ago
I got locked into my (100+ y/o) house due to a smart lock soon after purchase. It got promptly removed. I'd much rather leave the door unlocked.
anticrymactic•1h ago
A lot of discussion is about the security of these devices (resistance to false open states). But most of the time the safety (false closed states) has even higher stakes associated to it. Having to wait because some api server is slow is annoying but can quickly become life threatening in a different context. Fail-Safe vs Fail-Secure is (imo) often overlooked and probably just as important as the actual implemented security.
Lutger•18m ago
Wait, are there smartlocks that depend on the availability of some api service to even open the door? I'd rather call that stupidlocks instead. I mean, just because you're an IoT device it doesn't mean you are smart, ffs.
FireInsight•2h ago
DigiPaws has the headlining feature of the app advertised here, and is open source.

https://github.com/nethical6/digipaws

cl3misch•2h ago
Not that I suspect maliciousness in the case of digipaws or OP, but does the app's code being open-source actually guarantee any security? Is there anything forcing the app I download to be consistent with the repo on Github?
tom1337•1h ago
Not really. I guess to be 100% sure you need to build the app yourself. I don’t think that publish attestation exists on play store. Probably would need to openly build & upload the app via a CI runner, print all hashes inside that runner and then the playstore also needs to display those hashes before you download - but that doesnt exist for play store downloads yet.
styanax•1h ago
The readme clearly directs the reader to the F-Droid package, which are built on their buildservers and signed with their APK keys. This does not answer the security question directly, but it's the same model as say Debian repos. There are eyeballs on it by an independent third party packagers who use code scanners and manual review to detect malfeasance, and often have to tweak builds and code to get rid of unwanted things present in some upstreams.
pietervdvn•41m ago
Even better: if the build is reproducable, it guarantees that the source code of the repo is the same as the version that is distributed by FDroid.
notarobot123•1h ago
What guarantees do you have that open source code faithfully reflects what is in the compiled binary?
LPisGood•1h ago
It’s easier for security researchers to check
nickphx•18m ago
must be a rather useless device you have there then...
dvrj101•9m ago
> full control on my phone if it's not open-source.

bro is using social media that listens and records ton's of data in background.

https://www.hipaajournal.com/jury-trial-meta-flo-health-cons...

subpixel•2h ago
I love this and I’d especially love for the Instagram search field to be a textarea not a wall of things designed to distract me.
NalNezumi•2h ago
I would love it.

I'm currently using DFInstagram, which removes home feed. Only downside I see is that is also removes Instagram stories which I do like to check, but I can do that from PC if I want.

As for YouTube I can already remove 99% of the distraction by just putting things to private and completely remove recommendations on home page, but reddit / Twitter / Facebook would be great.

For the social medias I'd love to just have "old mode" where I'm only ever shown stuff posted by people I explicitly follow. Everything went to total garbage when "engagement" became the goodhearts metric, and news feed either throw you astroturf, ads, and rage-bait posts by people I haven't even followed

[1] https://www.distractionfreeapps.com/

mkbkn•2h ago
I use Farhan app on Android to do something like this.
esperent•2h ago
Great idea. Does it work as a VPN? I always run into the problems with those:

1. You can only run one VPN at a time 2. My banking apps detect when there's a VPN active and won't run

jakobedding•2h ago
Shameless plug: I wrote a user script a while ago that removes everything from the Instagram explore tab when using Instagram in the browser. Confirmed to work on iOS Safari. Requires an app to handle user scripts (e.g. "Userscripts" by Justin Wasack).

https://gist.github.com/jkbe/f362514f99765ac7a9dc343acfe6918...

root_axis•2h ago
More power to you, but I don't understand the psychology of this kind of thing. If I have enough willpower to block a feature why not just use that will power to shut off the app after a while? I understand you're saying it's addictive, but if I were addicted to something then I'm going to be inclined to just remove the blocker.

Anyway, this isn't a critique of your work, just my personal perspective.

bobson381•2h ago
this is like putting a wall in front of, or just beyond the edge of, the slippery slope. the need to make an intentional choice or pause before doing the "getting stuck scrolling" behavior is an opportunity for you to catch yourself and see if that's what you really want.

the platform is designed to capitalize on your slip ups in willpower. you can have great impulse control, but can you have it tirelessly, around the clock? this thing is lurking until you slip, as long as you're on it. attention capture is the goal.

root_axis•1h ago
I guess my willpower just manifests itself in a different manner. If I lack the impulse control to prevent myself from opening up an app, it seems odd to me to start blocking particular features in the app to manage that impulse.
bobson381•1h ago
you mean as opposed to going cold turkey? That makes sense! I personally have wondered about something like this for just FB Groups - I want to read my neighborhood buy nothing page, but I don't want a curated attention-grabbing experience in the full app. So I'd love like, an RSS reader for just group posts that let me direct open a post in the app if I wanted to respond.

Like the chips by the checkout in the grocery store, the "path" you have to take into the app requires you to put on horse blinders if you want to complete what you came in for without getting "engaged". It's very tiring if you're at all susceptible to distraction.

BoostandEthanol•2h ago
Been using YouTube recommendation blockers for a while. Personally I’ve never gone, “oh man I could go for some binge watching!” as much as something piques my interest and I get drawn down video after video of nothing. So removing any sort of advert for a video means it never even crosses my mind to turn off the blocker.
dkdcio•1h ago
you can turn off your watch history and YouTube becomes a lot better
XorNot•1h ago
No that definitely makes it worse IMO. The insight into what people really trend on YouTube is one I do not want to see.
bluGill•1h ago
Turning off watch history also turns off trending of what other people watch.
mikeyouse•1h ago
I couldn’t believe how pervasive their recommendations are. We’ve got a little one and he recently developed a plane obsession so I try and watch a few YouTube videos of float planes or biplanes before bed when he’s restless and demanding ‘vrrooom’. You literally can’t use shorts to do it (which they make nearly Impossible to avoid by putting them at the top of the search results and then interspersing them with the normal videos) because after 3 or 4 plane videos they start playing some maga bro science diet video or some AI voiceover video game trash.

I can’t believe how little moral responsibility the employees and management at these companies feel.

bluGill•1h ago
I kicked the addiciton a few years back. However there are still things on facebook worth looking at, and there is no easy way to find those without also getting all the addicting things I don't want. I want to see my friend's life. However some of them don't have a life and instead are constantly sharing the "you won't believe what [other political side] just did" garbage.
qualeed•1h ago
I've always figured that this type of thing is best used to stop you from getting addicted, not to stop an already-formed addiction. Or on the flip-side, when you've mostly overcome an addiction but need a helping hand to prevent relapse.
SkyeCA•28m ago
I personally don't watch short form content, but I do use services that provide it (among other things).

They push the short form content really, really hard and for me it's not a willpower issue, it's an "I don't ever want to see this feature again because I'll never use it" issue.

vahid4m•2h ago
If this works as you say in iOS you would be my new hero! Joined the wait list, would be happy to be part of any test you like to run.
asim•2h ago
Good idea. I resorted to my own listing of channels on YouTube and never going to the actual site. I'd also get sucked into shorts for hours. I the think the same can be said for any form of scrolling. My goal for is to create a better non addictive social platform.
janaagaard•1h ago
I want this for YouTube.
HelloUsername•1h ago
Then ScrollGuard is for you?
caldito•1h ago
it works for youtube shorts, and can be enabled for any app where you scroll since it detects if you are scrolling (linkedin, tiktok, reddit, etc)
jacooper•50m ago
Use libretube or grayjay.
Mistletoe•1h ago
My friend needs this so bad, he has a Reels addiction so bad it makes me uninstall Instagram. I wish there was a feature to block being sent Reels.

You are doing God’s work with this app.

mrkramer•1h ago
I don't find short videos addicting because I feel like I'm not getting enough context and information from short videos. I like long form videos.
nadermx•1h ago
In a similar vain, I made https://Instag.com, which let's you remove the "RAM" from Instagram media URL's to download them.
pwdisswordfishz•1h ago
> I wanted to find a way to use Instagram without ending up scrolling for two hours every time I open the app to see a friend's story.

Why not just Chrome/Firefox/Safari to open the link instead of the Instagram app?

semitones•1h ago
I deleted the YouTube and Instagram apps and I still end up scrolling / watching shorts - it doesn't matter, browser still lets you scroll
pwdisswordfishz•1h ago
Even if you're not logged in? Instagram barely even wants to let me look at the main photo/video of interest without an account.
roywiggins•53m ago
I use Unhook in Firefox on Android to eradicate Shorts from my YouTube experience, it works very well.
eloisius•35m ago
I deleted the apps too, but unfortunately I still like to use Instagram to follow photographers I'm interested in. These uBlock Origin filter rules have made it usable without being a black hole for my attention:

    www.instagram.com##article:has( > div > div > span:has-text(Suggested for you)):style(opacity: 0% !important;)
    www.instagram.com##div:has(> span > div > a[href="/explore/"])
    www.instagram.com##div:has(> span > div > a[href="/reels/"])
timeon•19m ago
What helped me, was deleting account as well. The site has different purpose than when I've registered anyway.
caldito•1h ago
Being using it for a while and really helps not scroll so much, happy to see this in the top 1 of HN
abyesilyurt•1h ago
This approach is not possible on iOS. Instead, I built a safari extension to block shorts from the feed https://apps.apple.com/nl/app/shorts-stopper/id6745517488?l=...
bfoks•46m ago
Rather hard to sell it here to people who are (mostly) capable to install Tampermonkey and add one line rule.
apples_oranges•1h ago
This is badly needed, but in my case on iOS. There are alternative frontends to most social networks, that can be used or adapted, however. https://github.com/mendel5/alternative-front-ends .. is one list.. but there are others (for example listing alternative Instagram frontends)
semitones•1h ago
I already deleted the apps, and I mostly use Instagram and youtube in the browser. Any support for blocking reels in browser?
ric2z•1h ago
try this https://apps.apple.com/us/app/socialfocus-hide-distractions/...
mrweasel•5m ago
Don't know about reels, but there's "Unhook" for Firefox which will hide Shorts and recommendations on YouTube.
bryanhogan•1h ago
For Instagram I've been using DFinstagram on my Android which removes most features, except chatting and viewing profiles. Also using Firefox with the IGPlus extension which blocks reels. But these make Instagram not feel as smooth or misses some features related to chatting, wish something that has this but still blocks algorithmic suggestions and ads existed.

For YouTube Revanced is very nice, but I also just removed my account, which helped me decrease the amount I spend on YouTube.

zahlman•1h ago
... People post stories on Instagram?
DontchaKnowit•1h ago
Installed and im amazed at how many tines ive habitually tried to use youtube shorts already after 2 hours.

Awesome app, been looking for something like this for a while. Thank you!

cjonas•1h ago
As others have said, the permissions required to make this work are scary and require a lot of trust.

The fact YouTube and Instagram don't allow you to disable endless algorithmic short form content is straight up evil.

strictnein•38m ago
The way that all these tech companies decided that the users couldn't simply turn those features off is maddening. And the "See this Less Often" option doesn't seem to do anything at all on apps like Facebook.
xnx•1h ago
Using Accessibility Service is a very smart approach.

Could you adjust your app (or make a different version) that automatically covers up ads or automatically skips them (e.g. in Instagram stories). Would be great for TikTok too.

anoojb•1h ago
Is there an alternate web client for iOS that's only videos from channels you've subscribed to?
ijustlovemath•1h ago
You can accomplish this in Firefox with the Unhook extension
insin•53m ago
Control Panel for YouTube lets you hide Home, Shorts, Related videos, plus anything you don't want to see in Subscriptions (including videos you've already watched), plus you can disable autoplay of random videos, block ads and more, in YouTube itself.

https://soitis.dev/control-panel-for-youtube

phyzix5761•48m ago
I use Brave Browser's "Block Elements" feature. Works nicely.
coffeecoders•40m ago
This is one of those things that should be unnecessary if we all had perfect self-control, but the reality is these apps are engineered explicitly to bypass that.

It feels a bit silly to need guardrails for something as trivial as scrolling.

Shameless personal plug: I wrote about it here. https://nabraj.com/blog/swipe-scroll-repeat-addiction/

thinkling•36m ago
Instagram tip: if you click the wordlogo “Instagram” at the top (in the mobile app), you can select “Following” and get a feed of only posts from accounts you follow, with no suggested posts and no reels.

I end up going through that feed in a few minutes and it insulates me from the endless scrolling.

Perz1val•14m ago
I have an entirely different problem with youtube, I open all the videos I want to watch from the main page and subscribed page in bew tabs and then sit through them for 3h straight. Shorts are non issue, when I open them the UI and playback pisses me off so quicky that I don't even watch all shorts from my subscribed channels.
cenamus•12m ago
I love the concept, I went as far as patching the android app for instagram back in the day to stop me from scrolling (crashing was good enough). Haven't kept up to date unfortunately.

FFmpeg Assembly Language Lessons

https://github.com/FFmpeg/asm-lessons
127•flykespice•2h ago•30 comments

Show HN: I built an app to block Shorts and Reels

https://scrollguard.app/
233•adrianhacar•2d ago•73 comments

Who Invented Backpropagation?

https://people.idsia.ch/~juergen/who-invented-backpropagation.html
13•nothrowaways•30m ago•2 comments

The Weight of a Cell

https://www.asimov.press/p/cell-weight
17•arbesman•51m ago•3 comments

Launch HN: Reality Defender (YC W22) – API for Deepfake and GenAI Detection

https://www.realitydefender.com/platform/api
16•bpcrd•1h ago•5 comments

Web apps in a single, portable, self-updating, vanilla HTML file

https://hyperclay.com/
471•pil0u•9h ago•165 comments

Show HN: A Minimal Hacker News Reader for Apple Watch Built with SwiftUI

https://github.com/wieslawsoltes/HackerNewsWatch
43•wiso•1h ago•7 comments

Typechecker Zoo

https://sdiehl.github.io/typechecker-zoo/
36•todsacerdoti•2d ago•9 comments

Walkie-Textie Wireless Communicator

http://www.technoblogy.com/show?2AON
82•chrisjj•2d ago•40 comments

A gigantic jet caught on camera: A spritacular moment for NASA astronaut

https://science.nasa.gov/science-research/heliophysics/a-gigantic-jet-caught-on-camera-a-spritacular-moment-for-nasa-astronaut-nicole-ayers/
326•acossta•3d ago•71 comments

Electromechanical reshaping, an alternative to laser eye surgery

https://medicalxpress.com/news/2025-08-alternative-lasik-lasers.html
145•Gaishan•6h ago•66 comments

The Coming Robot Home Invasion

https://www.andykessler.com/andy_kessler/2025/08/wsj-home-robots.html
15•walterbell•2h ago•12 comments

Image Fulgurator (2011)

https://juliusvonbismarck.com/bank/index.php/projects/image-fulgurator/2/
9•Liftyee•2d ago•1 comments

The Road That Killed Legend Jenkins Was Working as Designed

https://www.strongtowns.org/journal/2025/8/18/the-road-that-killed-legend-jenkins-was-working-exactly-as-designed
74•h14h•47m ago•35 comments

Win10 users looking for a new OS? Apple $599 MacBook can't come at a better time

https://www.zdnet.com/article/windows-10-users-looking-for-a-new-os-apples-599-macbook-cant-come-at-a-better-time/
12•walterbell•27m ago•4 comments

Sky Calendar

https://abramsplanetarium.org/SkyCalendar/index.html
37•NaOH•3d ago•3 comments

Class-action suit claims Otter AI records private work conversations

https://www.npr.org/2025/08/15/g-s1-83087/otter-ai-transcription-class-action-lawsuit
71•nsedlet•2h ago•8 comments

SystemD Service Hardening

https://roguesecurity.dev/blog/systemd-hardening
176•todsacerdoti•11h ago•70 comments

Vibe coding tips and tricks

https://github.com/awslabs/mcp/blob/main/VIBE_CODING_TIPS_TRICKS.md
83•mooreds•3h ago•52 comments

MCP doesn't need tools, it needs code

https://lucumr.pocoo.org/2025/8/18/code-mcps/
137•the_mitsuhiko•6h ago•95 comments

MCP tools with dependent types

https://vlaaad.github.io/mcp-tools-with-dependent-types
56•vlaaad•6h ago•14 comments

8x19 Text Mode Font Origins

https://www.os2museum.com/wp/8x19-text-mode-font-origins/
48•userbinator•2d ago•16 comments

Texas law gives grid operator power to disconnect data centers during crisis

https://www.utilitydive.com/news/texas-law-gives-grid-operator-power-to-disconnect-data-centers-during-crisi/751587/
67•walterbell•2h ago•63 comments

The Lives and Loves of James Baldwin

https://www.newyorker.com/magazine/2025/08/18/baldwin-a-love-story-nicholas-boggs-book-review
63•Caiero•17h ago•11 comments

When you're asking AI chatbots for answers, they're data-mining you

https://www.theregister.com/2025/08/18/opinion_column_ai_surveillance/
111•rntn•4h ago•51 comments

Weather Radar APIs in 2025: A Founder's Complete Market Overview

https://www.rainviewer.com/blog/weather-radar-apis-2025-overview.html
18•sea-gold•2d ago•23 comments

AI is predominantly replacing outsourced, offshore workers

https://www.axios.com/2025/08/18/ai-jobs-layoffs
124•toomuchtodo•2h ago•105 comments

Scientists discover surprising language 'shortcuts' in birdsong – like humans

https://www.manchester.ac.uk/about/news/scientists-discover-surprising-language-shortcuts-in-birdsong--just-like-humans/
33•gnufx•4d ago•20 comments

The administration's assault on science feels eerily Soviet

https://grist.org/politics/the-trump-administrations-assault-on-science-feels-eerily-soviet/
16•rntn•35m ago•0 comments

LLMs and coding agents are a security nightmare

https://garymarcus.substack.com/p/llms-coding-agents-security-nightmare
129•flail•5h ago•65 comments