RogerBarreto / sk-youtube-summarizer

Using Semantic Kernel to Summarize Youtube Videos

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Summarize Youtube Videos Quickly for You

This project has the simple purpose of make it very easy and fast to summarize youtube video transcriptions in your preferred language and platform (Windows or Linux)

Windows -> Portuguese Summarization:

summarizer-win-portuguese

Linux -> English Summarization:

summarizer-linux-english

End user - Setup

Get the released version executable. Here: v0.1.0

Setup your OpenAI API Key

Create an environment variable named OPENAI_KEY with your OpenAI API Key.

Optionally you can use your own preferred languages to summarize

Change config.json file with your preferred languages and leave it in the same folder as the application.

{
  "languages": ["English", "Your Language 1", "Your Language 2", ...]
}

Developer Setup

Secrets

If you already have an environment variable named OPENAI_KEY you can skip this step as it will override the user secret value.

⚠️ Use .NET Secret Manager to avoid the risk of leaking secrets into the repository, branches and pull requests.

⚠️ If you have not used the Secret Manager tool before, you must first initialize the user secrets store in the project directory. Run the following command from the project directory:

dotnet user-secrets init
dotnet user-secrets set "OPENAI_KEY" "<your key>"

Running / Debugging

dotnet run

Deploying / Publishing

Windows:

dotnet publish -r win-x64 -c Release

Linux:

dotnet publish -r linux-x64 -c Release -p:PublishReadyToRun=true

Projects Used

About

Using Semantic Kernel to Summarize Youtube Videos

License:MIT License


Languages

Language:C# 100.0%