# MeTube — tasks

The live checklist for this tool. `[x]` done, `[ ]` to do. Open questions for Austin are in `DECISIONS.md`. Keep "Next up" current: it is the first thing the next person (or agent) reads. Ideas and the research behind them are in `POSSIBILITIES.md`.

## Next up

1. **Austin: install 0.1.0 and try it on the real YouTube** (steps on `/metube`). It was built and tested only against stand-in pages (YouTube's real element names, wide and narrow layouts), because the build environment cannot reach youtube.com. Open the toolbar popup on a YouTube tab and press "Copy diagnostics": it says which features found their elements. The likely first problems: a selector that found nothing (then the feature does nothing; fix the selector in `SEL`), Mega Minimal's player not filling the window, the view-count words missing for your language, dark mode leaving some panels light.
2. Try each of the twelve first-round features once on the real site, on a wide window and on a narrow one (resize the window below 1000 px), and say which ones did nothing. Use `?metube=off` on a YouTube address to compare with the real page.
3. Answer the open questions in `DECISIONS.md`.
4. Pick what to build next from the shortlist at the end of `POSSIBILITIES.md` (the subscription feed from RSS and the element zapper are the two that would make MeTube much sturdier).

## Phase 1: the first twelve (v0.1.0, done)

- [x] 1. Hide suggested videos (wide and narrow; keeps a playlist panel and live chat; widens the video when the right column is empty). Also hides end-of-video suggestions and cards separately.
- [x] 2. Thumbnails: blur (strength 2 to 40 px) or remove; reveal while the pointer is on one; everywhere or feeds only; hover previews switched off with it.
- [x] 3. Hide view counts (text sweep, any language, editable words).
- [x] 4. Hide subscriber counts (same).
- [x] 5. Hide comments (including the small comments box of the narrow layout).
- [x] 6. Skip the home page: to the subscription feed, history, Watch later, library or a page of your choice; from a fresh load, from the logo and from inside the app; loop guard; `?metube=off`.
- [x] 7. Dark mode: off, always, or match the computer; no reload; survives YouTube taking the attribute away.
- [x] 8. Subscription feed: hide "Most relevant" (found by heading, words editable).
- [x] 9. Hide Shorts: in the subscription feed only, or everywhere (feeds, search, sidebar).
- [x] 10. Theatre mode: off, once per video, or keep on; respects a choice to leave; skips full screen and the narrow layout.
- [x] 11. Statistics page: totals, a chart per day, time of day, pages, top channels and videos, 7 days to everything, export and clear.
- [x] 12. Mega Minimal: only the player on a video, only the MeTube icon elsewhere; colour, icon size and an optional reminder; Alt+Shift+M.
- [x] Extras while building the registry: description box, live chat, chips, sidebar, notification count, merchandise, end screens, hover previews, mostly-watched videos hidden at a chosen percentage, grayscale.
- [x] Settings page (search, presets with undo, backup and restore of settings and statistics, reset with undo), popup (quick settings, presets, status, copy diagnostics, check for updates), shortcuts Alt+Shift+M and Alt+Shift+Y.
- [x] Tests: 27 unit tests; 48 end-to-end checks against stand-in pages.

## Phase 2: sturdier (not started)

- [ ] Element zapper: click anything on a page, and MeTube remembers a rule to hide it on that kind of page, with a list of the rules to switch off or delete.
- [ ] Subscription feed built from the channels' RSS feeds (new host permission; needs a decision), chronological, no Shorts, with a local "seen" marker.
- [ ] A "selector health" notice: when a switched-on feature finds nothing on a page where it should, say so in the popup.
- [ ] Title keyword and channel filters (a block list, a allow list), length filters, hide live, premieres and members-only.
- [ ] `m.youtube.com` (its own `ytm-` elements).

## Phase 3: habits and the player

- [ ] A daily time budget and a curfew that end in the Mega Minimal page; break reminders; a pause before a video ("why are you here?").
- [ ] Player controls in the page world (`"world": "MAIN"`): remembered speed, autoplay off, automatic quality, screenshot, A–B loop.
- [ ] Schedules (a preset by day and time) and a settings lock with a cooling-off delay.
- [ ] Notes and timestamps per video; a local search over everything watched.

## Later ideas

- [ ] De-clickbait (DeArrow or a local rule), SponsorBlock, Return YouTube Dislike. Each is a network request about what is watched, so each needs a recorded decision first.
- [ ] `chrome.storage.sync` for settings across Chrome profiles.
- [ ] Chrome Web Store listing (needs a review of the permissions and a privacy policy).
