MCPcopy Index your code
hub / github.com/addyosmani/yt-jukebox

github.com/addyosmani/yt-jukebox @v0.0.3

Chat with this repo
repository ↗ · DeepWiki ↗ · release v0.0.3 ↗ · + Follow
113 symbols 197 edges 5 files 65 documented · 58% updated 12y ago★ 624 open issues

Browse by type

Functions 113 Types & classes 0
What it actually does AI analysis from the code graph — generated when you open this
loading…
README

yt-jukebox

A YouTube Jukebox element built with Polymer.js.

Setup

Install with npm and bower: npm install && bower install. You can then preview the application by running grunt server.

Run bower info yt-jukebox to list the available versions of yt-jukebox available.

Usage:

Include the element after referencing <link rel="import" href="https://github.com/addyosmani/yt-jukebox/raw/v0.0.3/polymer.html"> in your page:

<yt-jukebox></yt-jukebox>

Attributes supported:

  • maxResults - the maximum number of results to display
  • muted - whether the video player should be muted
  • index - the tab to display

Notes

  • This is a Polymer port of JukeTube - an AngularJS app.
  • This application is not yet ready for production use
  • It does not use the newer Bower setup for Polymer elements (yet)
  • It has only been tested in Chromium edge builds / Canary
  • It uses custom versions of elements found in polymer-elements
  • A tutorial based on a newer version of this app is currently planned

Elements

  • yt-jukebox
  • yt-input
  • yt-search
  • yt-video
  • yt-jukebox-ratings (polymer-ui-ratings)
  • yt-jukebox-tabs (polymer-ui-tabs)
  • yt-jukebox-selector (polymer-selector)

Purpose

When you attend parties, YouTube is often used as the sole music provider. People in turn launch the video they want to hear. The process goes as follows:

  • open a new tab
  • browse to YouTube
  • search for a video
  • open and instantly pause it (to preload it)
  • wait for the current video to stop
  • launch the new video

Several problems arise from this process:

  • need to wait for the current video to stop before launching a new one
  • need to permanently have someone queuing and launching a new video
  • no automatic play, so if the current video ends, there's no music
  • time spent queuing a new video
  • tons of tabs opened

Features

JukeTube is an attempt to simplify this scenario.

  • Single page app
  • Ajax search
  • Playlists (upcoming and archived videos)
  • Automatic play (as soon as the current video ends)

License

MIT © Addy Osmani

Core symbols most depended-on inside this repo

Shape

Function 113

Languages

TypeScript100%

Modules by API surface

test/lib/mocha/mocha.js71 symbols
test/lib/chai.js41 symbols
Gruntfile.js1 symbols

For agents

$ claude mcp add yt-jukebox \
  -- python -m otcore.mcp_server <graph>

⬇ download graph artifact

Ask about this repo answers extend the page