Summarize Youtube Videos Quickly for You
May 7, 2023 · View on GitHub
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:

Linux -> English Summarization:

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
- Microsoft Semantic Kernel (Package)
- YouTube Transcript API Sharp (Modified)