When URLs go IRL: AKA The only way I'm letting my kid near YouTube
content
$type
pub.leaflet.content
pages
0
id
019c86ca-47d7-7333-9fc2-5d0be4d74dfc
$type
pub.leaflet.pages.linearDocument
blocks
0
$type
pub.leaflet.pages.linearDocument#block
block
$type
pub.leaflet.blocks.text
facets
0
index
byteEnd
127
byteStart
71
features
0
$type
pub.leaflet.richtext.facet#bold
1
index
byteEnd
449
byteStart
357
features
0
$type
pub.leaflet.richtext.facet#bold
plaintext
You may be coming here from one of my videos - welcome, and thank you! But I must say up front that this is not a how-to guide. This is a description of how I set things up. Unfortunately, I don't know if there's a clean way to package something like this up to work with any arbi…
1
$type
pub.leaflet.pages.linearDocument#block
block
$type
pub.leaflet.blocks.header
level
2
facets
0
index
byteEnd
31
byteStart
0
features
0
$type
pub.leaflet.richtext.facet#highlight
plaintext
OK SO WHAT DID I ACTUALLY MAKE:
2
$type
pub.leaflet.pages.linearDocument#block
block
url
https://www.youtube.com/embed/xAKTeA6J8d8?rel=0
$type
pub.leaflet.blocks.iframe
height
300
3
$type
pub.leaflet.pages.linearDocument#block
block
$type
pub.leaflet.blocks.text
facets
plaintext
4
$type
pub.leaflet.pages.linearDocument#block
block
$type
pub.leaflet.blocks.unorderedList
children
0
$type
pub.leaflet.blocks.unorderedList#listItem
content
$type
pub.leaflet.blocks.text
facets
0
index
byteEnd
171
byteStart
135
features
0
$type
pub.leaflet.richtext.facet#bold
plaintext
My daughter gets a binder full of printed paper. Each page has the thumbnail of a YT video as well as a QR code linking to that video. We choose these videos as a family! There are roughly 20 in there at a given time, and we swap a few out every week or so. Videos are as short a…
children
1
$type
pub.leaflet.blocks.unorderedList#listItem
content
$type
pub.leaflet.blocks.text
facets
plaintext
When screen time is allowed (usually in the morning while the adults get their shit together), the binder comes out along with a small handheld QR code scanner. One of us is always with her - even though we've already approved the content, this is not meant to be a babysitter.
children
2
$type
pub.leaflet.blocks.unorderedList#listItem
content
$type
pub.leaflet.blocks.text
facets
plaintext
When she scans a QR code from the binder, the associated video plays on our TV. There are no transport controls. It plays from start to finish. When it's done, the TV goes back to it's screensaver.
children
3
$type
pub.leaflet.blocks.unorderedList#listItem
content
$type
pub.leaflet.blocks.text
facets
plaintext
After 5 scans, the scanner stops working. The indicator LED turns red, showing her that it's time to stop watching.
children
5
$type
pub.leaflet.pages.linearDocument#block
block
$type
pub.leaflet.blocks.header
level
2
facets
plaintext
OK BUT WHY?
6
$type
pub.leaflet.pages.linearDocument#block
block
$type
pub.leaflet.blocks.unorderedList
children
0
$type
pub.leaflet.blocks.unorderedList#listItem
content
$type
pub.leaflet.blocks.text
facets
plaintext
There's a ton of high-quality, free (we're the product, blah, blah), educational content on YouTube. If she's gonna be in front of a screen, we'd prefer that some of that time is spent learning.
children
1
$type
pub.leaflet.blocks.unorderedList#listItem
content
$type
pub.leaflet.blocks.text
facets
plaintext
There's a ton of dogshit content on YouTube that's designed only to grab and hold her attention. If she's gonna be in front of a screen, we'd prefer that none of that time is spent watching this.
children
2
$type
pub.leaflet.blocks.unorderedList#listItem
content
$type
pub.leaflet.blocks.text
facets
plaintext
We've observed that when she knows that there's a bunch of other stuff to watch, she wants to switch what she's watching more frequently. We're trying to cultivate an attention span over here! Seeing 30 new thumbnails on the way to the video we agreed on inevitably leads to "wait…
children
3
$type
pub.leaflet.blocks.unorderedList#listItem
content
$type
pub.leaflet.blocks.text
facets
plaintext
She thinks it's fun!! Turns out kids like to use tools and scan stuff. She loves that she doesn't have to ask us to do things for her.
children
4
$type
pub.leaflet.blocks.unorderedList#listItem
content
$type
pub.leaflet.blocks.text
facets
0
index
byteEnd
98
byteStart
97
features
0
$type
pub.leaflet.richtext.facet#italic
plaintext
It takes very, very little time to add or remove content. I didn't want to create something that I would get sick of using, otherwise it would fall out of use. All you have to do to add a video is copy the thumbnail and QR Code to a Word document and hit print.
children
7
$type
pub.leaflet.pages.linearDocument#block
block
$type
pub.leaflet.blocks.header
level
2
facets
plaintext
OK BUT WHY NOT JUST...
8
$type
pub.leaflet.pages.linearDocument#block
block
$type
pub.leaflet.blocks.text
facets
0
index
byteEnd
434
byteStart
280
features
0
$type
pub.leaflet.richtext.facet#bold
plaintext
I have received many, many comments across my socials with suggestions for alternatives to this. Most of them are either features of the YouTube Kids app or some other third party software that wraps YouTube in some way. Awesome! These are probably simpler than what I have here. …
9
$type
pub.leaflet.pages.linearDocument#block
block
$type
pub.leaflet.blocks.header
level
1
facets
0
index
byteEnd
10
byteStart
0
features
0
$type
pub.leaflet.richtext.facet#highlight
plaintext
OK SO HOW?
10
$type
pub.leaflet.pages.linearDocument#block
block
$type
pub.leaflet.blocks.text
facets
0
index
byteEnd
56
byteStart
41
features
0
$type
pub.leaflet.richtext.facet#bold
1
index
byteEnd
240
byteStart
229
features
0
uri
https://micropython.org/
$type
pub.leaflet.richtext.facet#link
plaintext
FIRST OFF so many people asked about the QR code scanner. It's an M5Stack Atomic QR base combined with the Atom Lite microcontroller board. It's cheap, accurate, and has WiFi built in, BUT you have to program it yourself. I used MicroPython to program mine, and the description of…
Another potential option if you're not interested in getting into the code is to use one of these off-the-shelf barcode scanners from Amazon. Turns out most of them read QR codes as well! The cool thing about these is that you can plug them in to a computer/TV via USB and they ac…
13
$type
pub.leaflet.pages.linearDocument#block
block
$type
pub.leaflet.blocks.text
facets
plaintext
14
$type
pub.leaflet.pages.linearDocument#block
block
$type
pub.leaflet.blocks.header
level
2
facets
plaintext
Software
15
$type
pub.leaflet.pages.linearDocument#block
block
$type
pub.leaflet.blocks.text
facets
0
index
byteEnd
15
byteStart
10
features
0
$type
pub.leaflet.richtext.facet#bold
1
index
byteEnd
90
byteStart
76
features
0
uri
https://www.home-assistant.io/
$type
pub.leaflet.richtext.facet#link
plaintext
There are three pieces of software that make this system work. The first is Home Assistant
Home Assistant is a free, open source, smart home server. In other words, it's a software application that lets you connect, control, and automate the "smart" devices on your network. If you have Google Home or Alexa or Apple's thing set up at home - Home Assistant is similar, ex…
18
$type
pub.leaflet.pages.linearDocument#block
block
$type
pub.leaflet.blocks.text
facets
0
index
byteEnd
81
byteStart
61
features
0
uri
https://www.home-assistant.io/green
$type
pub.leaflet.richtext.facet#link
plaintext
I have Home Assistant running on a dedicated computer called Home Assistant Green. It comes with Home Assistant already installed, you just have to plug it into your router. It's super easy to set up and it does an incredible job of finding any smart devices you already have set …
19
$type
pub.leaflet.pages.linearDocument#block
block
$type
pub.leaflet.blocks.text
facets
plaintext
20
$type
pub.leaflet.pages.linearDocument#block
block
$type
pub.leaflet.blocks.text
facets
plaintext
21
$type
pub.leaflet.pages.linearDocument#block
block
$type
pub.leaflet.blocks.text
facets
0
index
byteEnd
63
byteStart
0
features
0
$type
pub.leaflet.richtext.facet#bold
1
index
byteEnd
71
byteStart
63
features
0
$type
pub.leaflet.richtext.facet#bold
1
uri
https://jellyfin.org/
$type
pub.leaflet.richtext.facet#link
plaintext
The second piece of software I used for this project is called Jellyfin
Jellyfin is a media server. You install it onto your computer, tell it where all your music and video files are, and it lets you access and stream them from any other device on your network. It provides a beautiful web app for searching and organizing your media. And just like Ho…
24
$type
pub.leaflet.pages.linearDocument#block
block
$type
pub.leaflet.blocks.text
facets
0
index
byteEnd
72
byteStart
64
features
0
$type
pub.leaflet.richtext.facet#italic
plaintext
At this point you might be saying "wait... I thought these were YouTube videos, why are you talking about this media server thing?" That's where the last piece of software comes in.
25
$type
pub.leaflet.pages.linearDocument#block
block
$type
pub.leaflet.blocks.text
facets
plaintext
26
$type
pub.leaflet.pages.linearDocument#block
block
$type
pub.leaflet.blocks.text
facets
0
index
byteEnd
64
byteStart
0
features
0
$type
pub.leaflet.richtext.facet#bold
1
index
byteEnd
237
byteStart
126
features
0
$type
pub.leaflet.richtext.facet#bold
2
index
byteEnd
381
byteStart
375
features
0
uri
https://github.com/yt-dlp/yt-dlp
$type
pub.leaflet.richtext.facet#link
plaintext
The third piece of software is... a little custom thing I wrote! It's a lightweight web app that glues everything together. It takes in a YouTube URL from the QR code scanner over WiFi and downloads the video into my Jellyfin Library. You're not... really supposed to be downloa…
27
$type
pub.leaflet.pages.linearDocument#block
block
$type
pub.leaflet.blocks.text
facets
plaintext
28
$type
pub.leaflet.pages.linearDocument#block
block
$type
pub.leaflet.blocks.text
facets
plaintext
29
$type
pub.leaflet.pages.linearDocument#block
block
$type
pub.leaflet.blocks.header
level
1
facets
0
index
byteEnd
38
byteStart
0
features
0
$type
pub.leaflet.richtext.facet#highlight
plaintext
OK PLEASE PUT ALL THIS TOGETHER FOR ME
30
$type
pub.leaflet.pages.linearDocument#block
block
$type
pub.leaflet.blocks.text
facets
plaintext
1. My kid flips through her binder, picks a video to watch. She scans the QR code with the scanner.
31
$type
pub.leaflet.pages.linearDocument#block
block
$type
pub.leaflet.blocks.text
facets
plaintext
2. The scanner connects to my web app over with an HTTP request over WiFi. It passes the YouTube URL it scanned as a query parameter. The scanner has an indicator LED that turns yellow when the request goes out. This signals to her that it's working, but she needs to wait for pla…
32
$type
pub.leaflet.pages.linearDocument#block
block
$type
pub.leaflet.blocks.text
facets
plaintext
3. My web app checks to see if the file has already been downloaded. If it has not, it uses yt-dlp under the hood to download it. Videos can take up to ~20 seconds to download, but that delay only happens the first time she scans. Note that my web app keeps the request from the Q…
33
$type
pub.leaflet.pages.linearDocument#block
block
$type
pub.leaflet.blocks.text
facets
plaintext
4. Once the video download has been confirmed, my web app copies the file into a folder on my computer that Jellyfin knows to scan for videos. It then sends an internal HTTP request to Jellyfin and instructs it scan for new files. Finally, it uses one last HTTP request to perform…
34
$type
pub.leaflet.pages.linearDocument#block
block
$type
pub.leaflet.blocks.text
facets
plaintext
5. Once the QR scanner receives the Jellyfin ID for the video it downloaded, the indicator LED changes from Yellow to Blue to indicate success (my daughter yells "It's blue, Dada!!"). It takes the Jellyfin ID and sends to my Home Assistant server, which has been configured with a…
35
$type
pub.leaflet.pages.linearDocument#block
block
$type
pub.leaflet.blocks.text
facets
plaintext
6. Home Assistant tells my TV to play the given content from Jellyfin. Done
36
$type
pub.leaflet.pages.linearDocument#block
block
$type
pub.leaflet.blocks.text
facets
plaintext
If any of the steps fail, the QR scanner will either receive an explicit error message or will simply time out. Either way, if it never receives a Jellyfin media ID, it blinks red, and my daughter knows to try again or come get me to fix it!
37
$type
pub.leaflet.pages.linearDocument#block
block
id
019c8846-eb3b-7bbf-ab4a-8cc0efb7ad0c
$type
pub.leaflet.blocks.page
38
$type
pub.leaflet.pages.linearDocument#block
block
$type
pub.leaflet.blocks.text
facets
plaintext
39
$type
pub.leaflet.pages.linearDocument#block
block
$type
pub.leaflet.blocks.text
facets
plaintext
A few weeks in - it's working great. And though I'd already spent some time and $$ setting up Home Assistant, this took me very little time, and pretty much 0 dollars? I should add a disclaimer that though I wrote this post by hand, I used Claude Code to write some of the code fo…
Description
Atom-Lite is a very compact development board in the M5Stack development kit series, with a size of only 24.0 x 24.0 mm, providing more GPIO for user customization, making it very suitable for embedded smart hardware development. The main controller uses the ESP32-PIC…
Description
Atomic QRCode2 Base is specifically designed for the ATOM series hosts. It is an integrated 1D/2D barcode scanning base that supports 3 major types of 2D barcodes and 8 types of 1D barcodes. The base features a built-in buzzer and supplementary LED light, providing so…