Skip to content

Repository files navigation

Tango Video Search

Problem: YouTube search for tango performances is inefficient. Results are buried due to YouTube's algorithmic sorting and inconsistent metadata.

Solution: Tango Video Search provides a streamlined interface to filter by dancers, orchestra, song, singer, event, year, or YouTube channel with minimal friction.

How it works: It’s powered by an LLM-curated index built from YouTube metadata. That means faster, more accurate retrieval of the performances you're looking for.

Features

  • Filter videos by dancer combinations and orchestras
  • Refine results by song, singer, event, year, or YouTube channel
  • Responsive video grid layout
  • Quick filtering through video cards
  • Video metadata display

Tech Stack

Development

Requires Node.js 24.11 or newer and the Vite+ vp CLI. Database update commands also require the sqlite3 CLI.

Install dependencies:

vp install --frozen-lockfile

Load the latest local SQLite snapshot into local D1:

vp run db:update --local --reset

Run the React Router development server:

vp run dev

Run the built Worker locally through Wrangler:

vp run preview

Database

Note

The database is not included in the repository.

The application reads from a D1 binding named DB. Local data updates are generated from the newest data/sqlite-YYYY-MM-DD.db snapshot. The schema includes:

  • Videos (YouTube metadata)
  • Performances (tango-specific metadata)
  • Dancers, Orchestras, Songs, Singers, and Curations

Useful commands:

vp run db:update --sql-only
vp run db:update --local --reset
vp run db:update --remote

Deployment

Cloudflare deployment is handled by Cloudflare Workers Builds after the GitHub repository is connected in Cloudflare:

  • Pushes to main deploy production.
  • Non-production branch builds upload Cloudflare preview versions.
  • GitHub Actions runs repository checks on PRs and pushes to main.
  • Node.js 24 is pinned with .node-version for Cloudflare Builds.
vp run check
vp run deploy

About

fast and filterable search interface for YouTube tango performances (dancer/orchestra)

Resources

Stars

1 star

Watchers

1 watching

Forks

Contributors

Languages