Voidling Guides is a kid-friendly LAN page for requesting game guides. A guide can cover a badge, character, morph, skin, secret, item, or mechanic. The app searches YouTube with a locked game/guide query, asks Google Antigravity to select an exact and apparently child-appropriate result, downloads it as a local WebM, and serves it without sending the child to YouTube.
The page uses the animated VOiDling sprite and the standard black, #1793D1,
and #D15517 color palette.
Requirements:
- Node.js 24 or newer
- authenticated Antigravity CLI (
agy) yt-dlpffmpegandffprobe
Check the machine and automatically install Antigravity CLI if it is missing:
npm run doctorDoctor skips an existing working agy, including standard installations that
are not yet visible on PATH. It reports a broken executable rather than
overwriting it. On Windows it installs Google's
Google.AntigravityCLI package through WinGet for the current user. On macOS and
Linux it runs Google's official CLI installer,
which installs under ~/.local/bin and configures the shell environment. It
verifies the installed binary before reporting success. Windows requires WinGet;
macOS/Linux require Bash and either curl or wget.
For diagnostics without installing software or initializing local data, use:
npm run doctor -- --check-onlynpm run setup:agy remains available to install Antigravity directly.
npm install only handles npm packages; this project has no runtime npm
dependencies. Doctor installs only a missing Antigravity CLI; Node.js and the
media tools listed above must also be installed. Installation failures make
doctor fail while it continues checking the other requirements.
Open a fresh terminal after installation so it sees the updated PATH. Run agy
once and complete Google's interactive sign-in.
The doctor checks that the executables run; it does not verify Google sign-in or make a model request. Once setup and sign-in are complete, start the site:
npm run webThe kids open the server's LAN address, for example:
http://192.168.1.50:3002
All page links, API requests, and video URLs are host-relative. Opening the site from another computer therefore stays on the address that computer opened; the Home link never substitutes the server's localhost address.
The process stays attached to the terminal. Press Ctrl+C to stop it.
Set the Dad password once from an interactive terminal. The command masks the
password while you type and stores only a salted scrypt hash in the ignored
data/admin-auth.json file:
npm run set-passwordThen open /dad using the same Voidling Guides address from any device allowed
by the LAN client list, for example:
http://192.168.1.50:3002/dad
Dad management has three sections:
- Games: add, edit, or remove approved game records; review pending game requests; and inspect game-request history. Approving a request removes it from the pending list and keeps its original name, date, and decision in history.
- Platforms: add, edit, or remove platform records, including platforms with no games yet. Rename updates related games and guide display labels. Removal is blocked while games or library entries use the platform.
- Guides: manage guide names, games/platforms, and YouTube URLs, review current library entries, and browse Previous Requests, the retained guide request and outcome log. Older log entries can be loaded without relying on the current library cards. Latest Activity also includes administrative events.
Pre-Approve checks a YouTube URL and saves the guide in the pre-approved list without starting a download. A library entry's Pre-Approve action fills that form for review. Check and approve also queues the video for immediate WebM download; the child does not need to request it again. Both actions retain URL, metadata, captions, and public-availability validation.
Edit forms have explicit Save changes and Cancel controls with success/error feedback. Game, platform, and pre-approved guide edits preserve record IDs; related library labels update without moving or deleting existing video files. A guide name correction also updates a matching pre-approved entry. Active search/download jobs must finish before their records can be edited or removed.
Every removal asks for confirmation and is written to the append-only audit log. Removing a completed library entry permanently deletes its managed WebM; removing only a pre-approved link leaves the downloaded copy alone. Removing a game also removes its pins, but is blocked until related library entries have been removed. Neither approval nor library removal erases Previous Requests.
If a game is missing from the kids' dropdown, the child can submit its platform
and full game name for Dad to review. This does not search YouTube or download
anything. Dad can approve or decline it from /dad; approval adds the game to
the dropdown, which refreshes automatically.
The entire /dad route tree uses the same configured client allowlist as the
kids' page, so devices outside the approved LAN are rejected before the login
page is served. Every approved LAN device can see the login form, but reading
Dad data or performing Dad actions requires the password. Login uses an
eight-hour in-memory session with an HTTP-only, SameSite-Strict cookie;
restarting the server locks the page again. Run npm run set-password again at
any time to replace the stored password. No default password exists.
The built-in server uses plain HTTP. Use the Dad portal only on a trusted LAN, because its password and session traffic are not encrypted in transit. For an untrusted network, add HTTPS through a reverse proxy or connect through a trusted VPN instead of widening the allowlist.
The server binds to 0.0.0.0:3002, but a fresh clone allows only localhost.
Configure the local LAN subnet once; this writes an ignored data/settings.json:
npm run configure-lan -- 192.168.1.0/24CIDR support lets every device in the selected subnet use both the kid-facing
page and the password-protected Dad login. For a temporary override, set a
comma-separated VOIDLING_ALLOWED_CLIENTS; use * only when every device that
can reach the port should have access. The host and port can be changed with
VOIDLING_HOST and VOIDLING_PORT.
Allow that same subnet through the host firewall:
npm run firewall -- add 192.168.1.0/24Remove the rule later with:
npm run firewall -- remove 192.168.1.0/24The command selects Windows Firewall on Windows and UFW on Linux. On Windows,
open PowerShell or Windows Terminal as administrator before running it;
Windows sudo does not need to be enabled. Linux uses sudo and requires UFW.
Other operating systems must configure their firewall separately.
Rules allow inbound TCP on VOIDLING_PORT (default 3002) only from the
specified subnet. Use the same port setting when starting the server and when
adding or removing rules. Windows additionally limits the rule to the Node
executable running the command, across Windows network profiles; this works
when Windows labels a home LAN Public. Repeating add updates the same rule,
and remove only removes that helper-managed subnet/port rule. Rerun add if
Node moves to a different executable path.
To replace an earlier subnet, use
npm run firewall -- replace 198.51.100.0/24 192.168.1.0/24. The Windows helper
only removes its own named rules for the previous clients. Firewall rules do
not change the application's client allowlist: also run configure-lan for
the intended subnet and restart the server. The web application never changes
machine-level firewall settings itself.
The Dad Approval page is the normal way to pin a guide. You can also edit
the ignored data/approved-guides.md locally. A level-two heading
approves a game and adds it to the dropdown:
## Roblox: Example GameDad edits store stable game and guide IDs and standalone platform records in HTML comments inside this Markdown catalog. Keep those comments when editing by hand. Existing catalogs load without a migration; legacy IDs are preserved when the first name edit writes the corresponding record. Use the Dad forms for renames so related library display labels stay synchronized.
An optional Markdown link pins a Dad-approved video for a guide. Pinned videos skip Antigravity selection but still receive YouTube metadata and file checks:
- [Example Guide](https://www.youtube.com/watch?v=VIDEO_ID)The application creates the local catalog from
approved-guides.example.md on first start. Save
manual edits, then request the exact guide name. Direct edits remain passive;
using the Dad Approval form instead validates and downloads the video
immediately. The catalog is re-read for every request, so normal edits do not
require a server restart.
- The child can select only an approved game and enter a 2–64 character guide name or topic. Missing games can be sent to Dad as a name-only approval request.
- The server rejects URLs, prompt-injection phrases, and clearly unsafe terms.
yt-dlpsearches for up to five candidates at a time using only the approved game and sanitized guide name. If a strict quoted search has no plausible result, two natural-language query variants improve recall without widening the subject matter.- Age-restricted, live, unavailable, unsafe-metadata, and unrelated candidates are rejected. Available English captions receive an additional term scan.
agy --mode plan --sandboxreceives only sanitized candidate metadata and must return an exact result plus the complete canonical guide name.- If the complete name is more specific than the request, the page pauses and asks Did you mean this guide? Nothing downloads until the child answers Yes. The prompt survives refreshes and server restarts, and both answers are recorded in the parent audit log.
- The chosen video is downloaded directly as VP9/Opus WebM when possible. A local ffmpeg WebM transcode is used when compatible streams are unavailable.
ffprobeverifies the completed file before it appears in the library.
The workflow fails closed. When no exact result can be verified, the page says:
I couldn't find the exact guide. Please go get approval from your Dad for the video first.
This reduces accidental or deliberately inappropriate searches, but metadata and automated review cannot guarantee every externally created video's content. Use a pinned guide when a specific video needs explicit parental approval.
Only one download runs at a time. Up to five more requests may wait in the queue, clients have a 10-second request cooldown, and duplicate game/guide requests reuse the existing job or video.
Approved games and pinned guide URLs live in data/approved-guides.md on the
machine running the server. They are not committed or downloaded by git pull.
To reuse the Linux catalog in a Windows checkout, back up any existing Windows
catalog and copy that file into the Windows checkout's data/ directory. The
app rereads the catalog on each request. Keep each machine's LAN settings and
Dad password setup local. Downloaded videos and library history are separate
from the catalog and are not transferred by copying it.
Generated data is ignored by Git and stored under data/:
data/library.json— persistent job/library statedata/settings.json— local client allowlist/CIDR configurationdata/approved-guides.md— local approved games and pinned videosdata/videos/<game>/<guide>.webm— completed local guidesdata/request-log.md— append-only parent audit logdata/admin-auth.json— salted Dad password hash, readable only by this user
The audit log is never exposed to kid-facing routes; authenticated Dad sessions
can review guide history and recent administrative events in /dad. Each entry
records request time, game, searched guide, requesting client IP,
success/failure, the video served, canonical YouTube URL, and the Antigravity
selection response. Example:
[2026-01-01T18:30:00.000Z - SERVED - Example Game - Example Guide - Example guide title - client=192.168.1.42 - https://www.youtube.com/watch?v=VIDEO_ID - AGY=SELECT|SAFE|EXACT|VIDEO_ID|Example Guide|Exact guide]
Completed videos and their library cards are deleted seven days after completion. Failed cards are deleted after 24 hours. The append-only request log is retained and is not affected by cleanup. Pending game requests remain until Dad reviews them; reviewed game requests remain in game-request history until Dad explicitly removes them. The audit record remains even after that removal. There is no duration or total-size cap.
The active 1536×1872 transparent sprite sheet is stored at
public/voidling-weightless-float.png; its grid has eight columns, nine
rows, and 192×208 cells. The homepage animates the first six frames of the
typing row (zero-based row 7). The original supplied voidling-assets.zip
stays local and is ignored by Git. See public/README.md for the complete sheet
layout.
npm run check
npm test
npm run doctorThere is no compilation/build step or runtime npm dependency. npm run check
validates JavaScript and Bash syntax, executable permissions, whitespace, and
source hygiene. npm test includes temporary-file HTTP tests for Dad
authentication, mutations, dependency checks, stable identity, and
approval/history retention.
For optional desktop/mobile browser checks, reuse an installed Playwright or Playwright Core package with its Chromium browser:
VOIDLING_PLAYWRIGHT_PATH=/absolute/path/to/playwright-core node scripts/check-dad-ui.jsThe browser gate serves the actual Dad UI and controller against a disposable fixture. It stubs video metadata/download work, checks save/cancel, visible errors, history, persistence, and layout overflow, and prints screenshot paths. It never reads or writes production data.
Forgejo and GitHub Actions run npm run check, npm test, and full-history
Gitleaks scans on pushes and pull requests. Keep all machine-specific settings,
approved games, request history, authentication data, and downloaded media under
the ignored data/ directory.
The service intentionally has no runtime npm dependencies. Its HTTP surface is
limited to static site assets, three kid-facing read APIs, the SSE /api/events
stream, the request and confirmation APIs, registered completed-video playback
with HTTP byte ranges, and the separately authenticated Dad routes available to
approved LAN clients.
The .forgejo/workflows/ checks run npm run check, npm test, and the
Gitleaks full-history scan on the isolated Linux worker. GitHub workflows remain
mirrored alongside them. Build jobs do not receive production deployment
credentials.