Skip to content
/ lfpe Public

Lex Fridman Podcast Episodes Explorer. This application allows you to search for episodes (by guests, titles, rounds, tags & dates) in the Lex Fridman Podcast.

License

Notifications You must be signed in to change notification settings

jldblog/lfpe

Repository files navigation

License: GPL v3

Update DB Build and Deploy

Dr Aronnax, answered Captain Nemo,
my electricity is not the commonly used sort,
and that is all I wish to say on the matter.

Jules Verne, Twenty Thousand Leagues under the Sea
Chapitre XII — 1869 (translation by William Butcher)

Lex Fridman Podcast — Episodes Explorer


https://jldblog.github.io/lfpe/

Lex Fridman Podcast — Episodes Explorer is an application that allows you to search for episodes (by guests, titles, tags & dates) in the Lex Fridman Podcast.

Note: this project is not related to Lex Fridman.

Demo

The online demo of this project on GitHub is here : https://jldblog.github.io/lfpe/

Gallery

Home — Most viewed episodes

Search episodes by guests

Search episodes by titles

Search episodes by dates

Episode description

On a smartphone (dark mode)

How to build

1. Prerequisites

We assume that Node.js 18+ is installed.

2. Installation

git clone https://github.com/jldblog/lfpe.git
cd lfpe
npm install

3. Database generation

The script src/scripts/generate-db.ts uses the Youtube Data API v3.
You must create a Youtube API key, see how to do this on Obtaining authorization credentials or on this tutorial with examples.

export YOUTUBE_API_KEY=your-youtube-api-key-here

And now you can run the script with this command (as defined in package.json);

npm run generatedb

You should obtain something like:

> lfpe@1.0.1 generatedb
> npx tsx src/scripts/generate-db.ts

Found video: VPaOy3G1-2A
Found video: 2yHr9DPnSzk
Found video: r4wLXNydzeY
...
...
Add episode: 3
Add episode: 2
Add episode: 1
402 episodes found
Saved src/assets/db.json

Note (with a deep mathematical consideration):

  • #84 episode is private, see here why.
  • #100 episode is on another channel, but we added it in generate-db.ts.
  • So it is normal if the script found for example 402 episodes even if the current last episode is #403 !

4. Running the live development server

ng serve
...
...
Angular Live Development Server is listening on localhost:4200, open your browser on http://localhost:4200/

Related links

About

Lex Fridman Podcast Episodes Explorer. This application allows you to search for episodes (by guests, titles, rounds, tags & dates) in the Lex Fridman Podcast.

Topics

Resources

License

Code of conduct

Stars

Watchers

Forks