Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/RogerBarreto/sk-youtube-summarizer
Using Semantic Kernel to Summarize Youtube Videos
https://github.com/RogerBarreto/sk-youtube-summarizer
Last synced: about 1 month ago
JSON representation
Using Semantic Kernel to Summarize Youtube Videos
- Host: GitHub
- URL: https://github.com/RogerBarreto/sk-youtube-summarizer
- Owner: RogerBarreto
- License: mit
- Created: 2023-05-06T15:39:05.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2023-05-09T15:39:54.000Z (over 1 year ago)
- Last Synced: 2024-10-28T20:20:01.439Z (about 2 months ago)
- Language: C#
- Size: 803 KB
- Stars: 7
- Watchers: 1
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
- awesome-semantickernel - Using Semantic Kernel to Summarize Youtube Videos
README
# 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](https://user-images.githubusercontent.com/19890735/236685352-3e31e223-8fe7-4823-8d29-d2accf5fea17.gif)
Linux -> English Summarization:
![summarizer-linux-english](https://user-images.githubusercontent.com/19890735/236685356-5b83e37f-5e9e-4d51-b3bb-0799d2594cea.gif)
## End user - Setup
Get the released version executable. Here: [v0.1.0](https://github.com/RogerBarreto/sk-youtube-summarizer/releases/tag/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.
```json
{
"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](https://learn.microsoft.com/en-us/aspnet/core/security/app-secrets) 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:
```powershell
dotnet user-secrets init
dotnet user-secrets set "OPENAI_KEY" ""
```Running / Debugging
```powershell
dotnet run
```### Deploying / Publishing
Windows:
```powershell
dotnet publish -r win-x64 -c Release
```Linux:
```powershell
dotnet publish -r linux-x64 -c Release -p:PublishReadyToRun=true
```## Projects Used
- [Microsoft Semantic Kernel](https://github.com/microsoft/semantic-kernel) (Package)
- [YouTube Transcript API Sharp](https://github.com/BobLd/youtube-transcript-api-sharp) (Modified)