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.
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.
- 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)
Frank Hale <frankhale@gmail.com>
23 June 2024
MIT - see LICENSE