This project is a App that allows users to generate "Previously on" type summaries for TV series episodes. The application interacts with external services like Azure OpenAI, OpenSubtitles, and Trakt to fetch and summarize subtitle content.
- .NET SDK
- Visual Studio or Visual Studio Code
- Trakt API credentials
- OpenSubtitles API key
-
Clone the repository:
git clone https://github.com/your-repo/blazor-hybrid-web-app.git cd blazor-hybrid-web-app
-
Create
appsettings.json
file:In the root directory of the project, create a file named
appsettings.json
with the following content:{ "Trakt": { "ClientId": "your-trakt-client-id", "ClientSecret": "your-trakt-client-secret" }, "OpenSubtitles": { "ApiKey": "your-opensubtitles-api-key" } }
Replace the placeholders with your actual Trakt API credentials and OpenSubtitles API key.
-
Restore dependencies:
dotnet restore
-
Run the application:
dotnet run
- Open the application in your browser.
- Enter the show name, season number, and episode number.
- Click the "Generate Summary" button to generate a "Previously on" summary for the selected episodes.
This project is licensed under the MIT License. See the LICENSE file for more details.