Git Product home page Git Product logo

toby-blazor's Introduction

Toby (Blazor)

Requires: .NET 8

This is a simple YouTube player for your favorite videos.

This is a rewrite of Toby using C# and Blazor. This project is using the server-side hosting model.

Usage

NOTE: Currently the database shipping in the repo is a slightly modified one from Toby. It's pre-populated with videos I like. Use the command /all to list them or /manage to delete them all. Or if using Visual Studio you can just delete the included database and run the Entity Framework migration to create a new empty database.

NOTE: If you want to search YouTube you'll need a YouTube Data API key. This code needs to be added to an environment variable on your machine called YOUTUBE_API_KEY.

To obtain a YouTube Data API key you need a Google account and need to go to Google's developer console to obtain one.

Search commands:

  • /all or /ls: lists all videos in the database
  • /clear: clear search results
  • /crp or /clear-recently-played: clear recently played
  • /group [name] or /g [name]: lists videos in a specific group
  • /favorites or /fav: list favorite videos
  • /manage or /mg: video management
  • /manage-recently-played or /mgrp: recently played management
  • /manage-groups or /mgg: group management
  • /recently-played or /rp: list all recently played videos
  • [search term]: search locally for video
  • /youtube [search term] or /yt [search term]: search YouTube for videos

NOTE: When using manage there is a search box to search within the videos you are managing. You can use /all to show all videos after a narrow search.

The Recently Played videos are limited to 30 videos.

Screenshots

Basic UI with Recently Played Preview

Basic UI with Recently Played Preview

Video Playback

Video Playback

Video Management

Video Management

Group Management

Group Management

Folder Layout

  • server: Blazor server-side project
  • electron: Run Toby inside Electron
    • Run Toby then start Electron (this will be changed in the future so that all you need to do is run Electron and it'll start Toby up)

Author(s)

Frank Hale <[email protected]>

Date

23 June 2024

License

MIT - see LICENSE

toby-blazor's People

Contributors

frankhale avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

Forkers

psychoboy

toby-blazor's Issues

UI components need rework

I'd like to hide the main UI components when a popup is opened. I cannot do that right now because the popup is embedded inside the video list component. We need a rework of the components to make this possible.

YouTube Player Error when quickly switching videos

          Hi
  1. Attached is a video of the error I get when trying to play the same video clip again. I don't know why this happens.
  2. You can add to your application the ability to play all your favorite video clips in turn (without having to click individual clips - one button play all)

regards
Bogdan

toby.mp4

Originally posted by @BogdanJak in #11 (comment)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.