Skip to content

⚠️ 🤖 Seminar search#361

Open
tzanio wants to merge 4 commits intomasterfrom
seminar-search
Open

⚠️ 🤖 Seminar search#361
tzanio wants to merge 4 commits intomasterfrom
seminar-search

Conversation

@tzanio
Copy link
Member

@tzanio tzanio commented Feb 15, 2026

⚠️ This PR is a demonstration of what is possible with 🤖 coding agents. We have not decided how to handle such PRs yet.

Codex-assisted implementation of search inside the seminar PDFs and YouTube recording transcripts.

The search results have links to the individual slides and video times when the term is mentioned.

See the new src/seminar directory for the scripts that produce the search indices and the JS code that performs the search.

Screenshot 2026-02-14 at 11 40 27 PM

Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Adds a client-side full-text search experience for seminar PDFs and YouTube transcript captions, including per-slide and timestamp deep links.

Changes:

  • Introduces a new seminar search UI, styling, and JS implementation (boolean queries, ranking, snippet highlighting).
  • Adds Python builders to generate/search PDF and YouTube inverted indexes with caching.
  • Wires the search script into the MkDocs site and adds repo guidance / large-generated-file diff suppression.

Reviewed changes

Copilot reviewed 11 out of 13 changed files in this pull request and generated 8 comments.

Show a summary per file
File Description
template/css/base.css Adds styling for the seminar search widget and results cards.
src/seminar/search.js Implements the client-side search UI and query evaluation for PDF + YouTube indexes.
src/seminar/pdf Adds a symlink pointer to the seminar PDF directory for build scripts.
src/seminar/img Adds a symlink pointer to the seminar image directory for metadata discovery.
src/seminar/build-youtube-index.py Builds a YouTube transcript inverted index from playlist subtitles with caching/reporting.
src/seminar/build-pdf-index.py Builds a PDF text inverted index using pdftotext with caching.
src/seminar/build-all.py Adds a wrapper to build both indexes with exit codes for automation.
src/seminar/README.txt Documents maintenance workflow, query syntax, and generated file policy.
src/seminar.md Adds the search widget markup to the seminar page.
mkdocs.yml Attempts to load the new search JS via MkDocs configuration.
.gitattributes Suppresses diffs for generated index JSON files and marks them as generated.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@tzanio tzanio changed the title Seminar search ⚠️ 🤖 Seminar search Feb 17, 2026
@hauten
Copy link
Contributor

hauten commented Feb 19, 2026

So far, I have added a note to the README after testing what happens if you have only an abstract, not a video transcript.
image

@hauten
Copy link
Contributor

hauten commented Feb 19, 2026

README line 72 about ordering: "most recent" doesn't seem to work well with PDFs b/c they have no date? Example search term: llvm

  • Relevance: This looks correct for the search term's appearance frequency - 21, 3, 1
  • Most Recent: Moxey/EJ (PDF only) is the most recent seminar but the last result
image image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants