HackerReposA FIELD GUIDE TO OPEN SOURCE
ProSponsor the shelf♧ 0
← Back to top all-time
amitbl
blocktube
JavaScript2018–2025
amitbl / blocktube

blocktube

YouTube™ content blocker

8Distinct people
8Mentions
0Explicit recommenders
1.4KGitHub stars
REPOSITORY AT A GLANCE

What to know before exploring

What it is

YouTube™ content blocker

GitHub

Where it is used

No documented product use has been verified yet.

What people are saying

No recommendation phrase was found in the indexed comments.

No classified warning is attached to this page. Read the discussions before treating silence as approval.

Also in these discussions

No other repository is repeatedly linked in the same discussions.

This week on Hacker News

Nov 7–Nov 14 UTC · Direct repository links and separately labeled related project stories. Indexed through 11/14/2026, 3:56:07 PM UTC.

No direct repository links were found in the indexed HN discussions over the past seven days. Older discussions are available below.

Mentions over time

HN mentions by year8 dated mentions

Observed mentions: 2018-06-01 10:09:31 UTC to 2025-09-25 12:22:16 UTC.

01232018-01-01 00:00:00 UTC to 2019-01-01 00:00:00 UTC (exclusive): 1 mentions; 1 submissions, 0 comments20182019-01-01 00:00:00 UTC to 2020-01-01 00:00:00 UTC (exclusive): 0 mentions; 0 submissions, 0 comments2020-01-01 00:00:00 UTC to 2021-01-01 00:00:00 UTC (exclusive): 1 mentions; 0 submissions, 1 comments2021-01-01 00:00:00 UTC to 2022-01-01 00:00:00 UTC (exclusive): 0 mentions; 0 submissions, 0 comments20212022-01-01 00:00:00 UTC to 2023-01-01 00:00:00 UTC (exclusive): 3 mentions; 1 submissions, 2 comments2023-01-01 00:00:00 UTC to 2024-01-01 00:00:00 UTC (exclusive): 0 mentions; 0 submissions, 0 comments2024-01-01 00:00:00 UTC to 2025-01-01 00:00:00 UTC (exclusive): 1 mentions; 1 submissions, 0 comments2025-01-01 00:00:00 UTC to 2026-01-01 00:00:00 UTC (exclusive): 2 mentions; 0 submissions, 2 comments2025

Counts come from the repository’s dated source evidence. Index cutoff: 2026-11-02 08:16:59 UTC.

View mention counts and date ranges
UTC ranges include their start and exclude their end. Select a period to filter the source evidence.
PeriodStart (UTC)End (exclusive, UTC)MentionsSubmissionsComments
20182018-01-01 00:00:00 UTC2019-01-01 00:00:00 UTC110
20192019-01-01 00:00:00 UTC2020-01-01 00:00:00 UTC000
20202020-01-01 00:00:00 UTC2021-01-01 00:00:00 UTC101
20212021-01-01 00:00:00 UTC2022-01-01 00:00:00 UTC000
20222022-01-01 00:00:00 UTC2023-01-01 00:00:00 UTC312
20232023-01-01 00:00:00 UTC2024-01-01 00:00:00 UTC000
20242024-01-01 00:00:00 UTC2025-01-01 00:00:00 UTC110
20252025-01-01 00:00:00 UTC2026-01-01 00:00:00 UTC202

What Hacker News says

8 sources
BlockTube also has an advanced blocking feature[0], which lets you define blocks using JavaScript if statements. You can flip it around to a whitelist-system by returning true (block) by default, and returning false (don't block) on your rules. But this does hide videos from search, recommended, homepage, etc. What you're suggesting could potentially be done by creating an extension which checks the channel_id, then blocks calls to the /videoplayback endpoint if the channel is not whitelisted. Though do be aware that titles and thumbnails could also be explicit. Side note: All of this is very technical and not suitable for the average parent, which is not great. [0] https://github.com/amitbl/blocktube/wiki/Advanced-Blocking
In Ask HN: How do you control internet access for your kids?
YouTube fundamentally does not respect the time or attention of users - even if you pay for YouTube Premium. The only way I can stomach YT at this point is with blocktube and unhook; I can disable parts of the interface, block channels and content individually or with regular expressions, and filter comments with regex - a necessity given how many scams are being run right now. I dread the day they drop RSS feeds for channel updates. https://github.com/amitbl/blocktube https://unhook.app/ Edit: also see how YT search gives you unrelated nonsense. User-hostile may as well be their mission statement at this point.
In Blocklist for AI Music on YouTube
I dont see it mentioned BlockTube extension [0] anywhere in the comments yet. It automatically blocks videos/channels based on your defined keywords and it works perfectly. For some period of time my main YT page was filled with a variation of videos about "walking in Tokyo". I'm not interested in walking in cities nor Japan, so I have no idea where that came from. No matter how many of these videos I marked as "not interested", more of them kept coming for days. Blocktube just automatically purged them for me. Sometime I saw just a blank page (because all the videos were blocked automatically), so I had to reload page to see at least something. It took some time to get rid off the "noise", but my YT experience is now way better. [0] https://github.com/amitbl/blocktube
In YouTube’s ‘dislike’ barely works according to new study on recommendations

MAKE YOURSELF AT HOME

A few shortcuts

/
Search the collection
?
Open this guide
Esc
Close dialogs and navigation

Your saved repositories and interests stay in this browser.