mirror of
https://github.com/bitbaum/heidi.git
synced 2026-12-04 19:38:12 +01:00
The listening lab, built on the media that already exist. A learner follows
YouTube channels they watch anyway (a link, a video link or the @handle, or
one of the register's rows with what is spoken beside it); Heidi reads each
channel's public Atom feed — no API key — hourly on the box and inline when
the page opens, lists what is new since the last visit, and sends a Web Push
to the browsers that asked. Following rings for the next video, never the
back catalogue, and nothing here reminds anyone to practise.
One video is the lab's exercise in HEIDI.md's order: a gist question before
the first listen, three to five detail questions in the bridge after it,
each wrong answer answered with the line that was said and a button that
plays that second (IFrame API seek), then the transcript, tap a line to hear
it. A count with its denominator, no score. What was answered stays in the
browser (heidi.videos.v1) and feeds the streak.
The transcript is the platform's captions, in a language the pack accepts
(lib/channels/accepted.ts: the target, then sibling/roof bridges; never a
gloss language; automatic captions only where the pack trusts the
recogniser), and its source is printed every time: the publisher's,
automatic («bei Mundart oft falsch») or pasted. YouTube refuses data-centre
addresses the caption tracks often enough that the refusal is a first-class
state: the screen then shows the three steps to copy the transcript from
YouTube's own panel, and parsePasted reads that format, SRT and WebVTT.
Questions are written by the model from the transcript once per video, on
the first follower's request (never in the sweep — no background job spends
the free pool), refused unless every detail question cites a real line, and
shared with every follower.
Schema: channels, channel_videos, channel_follows, push_subscriptions
(drizzle/0008). Routes: /api/channels, /api/videos/[id]/{transcript,
questions}, /api/cron/channels (bearer CRON_SECRET), /api/push/*. Pages:
/channels, /channels/[video], a dashboard panel, a settings section, an
invitation on /listen. Seven dictionaries, privacy flows, HEIDI.md,
CHANGELOG. The box's hourly timer row is in loki's install-app-crons.sh;
CRON_SECRET and VAPID_* in .env.example.
Claude-Session: https://claude.ai/code/session_01RKRxpcVWoZwtg6Gfr9m6Rb
Co-authored-by: Claude <noreply@anthropic.com>
60 lines
3.2 KiB
XML
60 lines
3.2 KiB
XML
<?xml version="1.0" encoding="UTF-8"?>
|
||
<feed xmlns:yt="http://www.youtube.com/xml/schemas/2015" xmlns:media="http://search.yahoo.com/mrss/" xmlns="http://www.w3.org/2005/Atom">
|
||
<link rel="self" href="http://www.youtube.com/feeds/videos.xml?channel_id=UCqdXpIZSamBceDmH8uOoTHA"/>
|
||
<id>yt:channel:qdXpIZSamBceDmH8uOoTHA</id>
|
||
<yt:channelId>qdXpIZSamBceDmH8uOoTHA</yt:channelId>
|
||
<title>SRF News & Hintergründe</title>
|
||
<link rel="alternate" href="https://www.youtube.com/channel/UCqdXpIZSamBceDmH8uOoTHA"/>
|
||
<author>
|
||
<name>SRF News & Hintergründe</name>
|
||
<uri>https://www.youtube.com/channel/UCqdXpIZSamBceDmH8uOoTHA</uri>
|
||
</author>
|
||
<published>2018-06-05T15:37:45+00:00</published>
|
||
<entry>
|
||
<id>yt:video:aUvUmnzEpyU</id>
|
||
<yt:videoId>aUvUmnzEpyU</yt:videoId>
|
||
<yt:channelId>UCqdXpIZSamBceDmH8uOoTHA</yt:channelId>
|
||
<title>Epsteins Netz 4/4: Survivor Sister</title>
|
||
<link rel="alternate" href="https://www.youtube.com/watch?v=aUvUmnzEpyU"/>
|
||
<author>
|
||
<name>SRF News & Hintergründe</name>
|
||
<uri>https://www.youtube.com/channel/UCqdXpIZSamBceDmH8uOoTHA</uri>
|
||
</author>
|
||
<published>2026-10-21T23:17:04+00:00</published>
|
||
<updated>2026-10-22T07:41:06+00:00</updated>
|
||
<media:group>
|
||
<media:title>Epsteins Netz 4/4: Survivor Sister</media:title>
|
||
<media:content url="https://www.youtube.com/v/aUvUmnzEpyU?version=3" type="application/x-shockwave-flash" width="640" height="390"/>
|
||
<media:thumbnail url="https://i2.ytimg.com/vi/aUvUmnzEpyU/hqdefault.jpg" width="480" height="360"/>
|
||
<media:description>Sie nennen sich «Survivor Sisters» und sprechen öffentlich über sexuellen Missbrauch durch Jeffrey Epstein und andere mächtige Männer. In Folge 4 von «Epsteins Netz – bis in die Sc…</media:description>
|
||
<media:community>
|
||
<media:starRating count="40" average="5.00" min="1" max="5"/>
|
||
<media:statistics views="1093"/>
|
||
</media:community>
|
||
</media:group>
|
||
</entry>
|
||
<entry>
|
||
<id>yt:video:F-HDWrd2WbA</id>
|
||
<yt:videoId>F-HDWrd2WbA</yt:videoId>
|
||
<yt:channelId>UCqdXpIZSamBceDmH8uOoTHA</yt:channelId>
|
||
<title>Orangensaft im Test: Lohnt sich teurer Orangensaft aus dem Kühlregal? | 2026 | Kassensturz | SRF</title>
|
||
<link rel="alternate" href="https://www.youtube.com/watch?v=F-HDWrd2WbA"/>
|
||
<author>
|
||
<name>SRF News & Hintergründe</name>
|
||
<uri>https://www.youtube.com/channel/UCqdXpIZSamBceDmH8uOoTHA</uri>
|
||
</author>
|
||
<published>2026-10-21T15:15:33+00:00</published>
|
||
<updated>2026-10-22T08:24:36+00:00</updated>
|
||
<media:group>
|
||
<media:title>Orangensaft im Test: Lohnt sich teurer Orangensaft aus dem Kühlregal? | 2026 | Kassensturz | SRF</media:title>
|
||
<media:content url="https://www.youtube.com/v/F-HDWrd2WbA?version=3" type="application/x-shockwave-flash" width="640" height="390"/>
|
||
<media:thumbnail url="https://i3.ytimg.com/vi/F-HDWrd2WbA/hqdefault.jpg" width="480" height="360"/>
|
||
<media:description>Orangensäfte aus dem Kühlregal können im Detailhandel doppelt so viel kosten wie die ungekühlten Säfte. «Kassensturz» will wissen: Lohnt sich der Aufpreis? Und welcher Orangensaft …</media:description>
|
||
<media:community>
|
||
<media:starRating count="67" average="5.00" min="1" max="5"/>
|
||
<media:statistics views="9066"/>
|
||
</media:community>
|
||
</media:group>
|
||
</entry>
|
||
</feed>
|