Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/frankhale/toby-blazor
A simple YouTube player written in C# / Blazor Server Side
https://github.com/frankhale/toby-blazor
aspnetcore blazor blazor-application blazor-server bootstrap csharp dotnet-core electron entity-framework-core razor sqlite youtube-player
Last synced: 14 days ago
JSON representation
A simple YouTube player written in C# / Blazor Server Side
- Host: GitHub
- URL: https://github.com/frankhale/toby-blazor
- Owner: frankhale
- License: mit
- Created: 2019-11-19T04:32:38.000Z (almost 5 years ago)
- Default Branch: master
- Last Pushed: 2024-06-26T02:12:26.000Z (5 months ago)
- Last Synced: 2024-10-30T01:28:55.237Z (17 days ago)
- Topics: aspnetcore, blazor, blazor-application, blazor-server, bootstrap, csharp, dotnet-core, electron, entity-framework-core, razor, sqlite, youtube-player
- Language: C#
- Homepage:
- Size: 3.72 MB
- Stars: 22
- Watchers: 6
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.txt
Awesome Lists containing this project
README
# Toby (Blazor)
**Requires: .NET 8**
This is a simple YouTube player for your favorite videos.
This is a rewrite of [Toby](https://github.com/frankhale/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](https://github.com/frankhale/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](https://console.developers.google.com/) 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](screenshots/five.png)
### Video Playback
![Video Playback](screenshots/two.png)
### Video Management
![Video Management](screenshots/three.png)
### Group Management
![Group Management](screenshots/four.png)
## 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](LICENSE.txt)