Skip to content

owdproject/app-youtube

Repository files navigation

YouTube

YouTube App for Open Web Desktop.


Overview

This app for Open Web Desktop provides a YouTube and YouTube Music player with a rotating featured gallery on the dashboard.

Demo · Documentation · Support

Installation

pnpm desktop add @owdproject/app-youtube

Usage

Available commands

youtube <youtube-url>
youtube <youtube-url> --new
youtube <youtube-url> --music
youtube <youtube-url> --autoplay
youtube <youtube-url> --no-check

Configuration

Add the app to your desktop.config.ts and customize the featured gallery:

import { defineDesktopConfig } from '@owdproject/core'

export default defineDesktopConfig({
  apps: [
    '@owdproject/app-youtube'
  ],
  youtube: {
    galleryRotateIntervalMs: 8000,
    featuredStations: [
      { id: 'jfKfPfyJRdk', title: 'Lofi Girl' },
      { id: 'tNkZs5MStGQ', title: 'Ambient Nature Sounds' },
    ]
  }
})

Each featured station supports an optional thumbnail URL. Video IDs (11 characters) get a YouTube cover automatically. The dashboard shows a 2×2 gallery; every galleryRotateIntervalMs milliseconds one tile cycles to the next featured item. Click a tile to play.

License

This application is released under the MIT License.

About

YouTube app for OWD Client

Topics

Resources

License

Stars

0 stars

Watchers

0 watching

Forks

Sponsor this project

 

Packages

 
 
 

Contributors