SkillAgentSearch skills...

Wdl

Search, read and navigate transcripts from web.dev LIVE videos

Install / Use

/learn @samdutton/Wdl
About this skill

Quality Score

0/100

Supported Platforms

Universal

README

Build search and readable transcripts for conference videos

This is a Node application that processes caption files from conference videos to enable search and create readable transcripts.

The code could easily be adapted to work with caption files from other playlists.

<!--- Try it out at [samdutton.github.io/wdl](https://samdutton.github.io/wdl). --->

Installation and usage

  1. Clone or download the code.
  2. Add your SRT caption files to the input directory. See get-youtube-captions.md for instructions on how to how to retrieve caption files for YouTube videos.
  3. From a terminal cd to the src directory and run node index.js -s, optionally setting flags (see below). This creates HTML for readable transcripts (in the docs folder) and builds the search index if the -s flag is set.
  4. Progress updates and errors are logged to the console.
  5. When conversion is complete, view the results from index.html in the app directory, the directory used for GitHub Pages. This directory includes a CSS file and a JavaScript file to style the transcripts and enable interaction.

SRT and app directories

  • When you clone the repo, the directories for the SRT caption files and the app contain sample files.
  • You can customize srt and app directories — see flags below.

Error handling

Check for errors in error-log.txt.

Command line options

-a, --append      Append output to existing files in output directory
-h, --help        Show help
-i, --input       Input directory, default is [_input_](src/input)
-l, --validate    Validate HTML output, default is false
-o, --output      Output directory, default is [_output_](src/docs)
-s, --search      Create search index
-t, --transcript  Create transcript HTML files, default is false
-u, --upload      Upload records to search service, default is false

Feedback, feature requests and bug reports

  • Please file an issue including input files where relevant.
  • See the TODO file for work in progress.

Known issues

Google Translate widget

This widget is no longer supported and the language selection popup is not laid out responsively.

Probably best to remove unless the layout can be fixed (others have tried!)


<!--- Please note that this is not an official Google product. --->
View on GitHub
GitHub Stars6
CategoryContent
Updated2y ago
Forks0

Languages

JavaScript

Security Score

70/100

Audited on Jan 29, 2024

No findings