{"id":19100452,"url":"https://github.com/devkimchi/aspire-youtube-summariser","last_synced_at":"2025-06-30T12:33:31.489Z","repository":{"id":207221236,"uuid":"716148573","full_name":"devkimchi/aspire-youtube-summariser","owner":"devkimchi","description":"This provides sample Aspire apps that summarise a YouTube video transcript to a given language","archived":false,"fork":false,"pushed_at":"2023-11-29T00:41:14.000Z","size":166,"stargazers_count":11,"open_issues_count":0,"forks_count":5,"subscribers_count":3,"default_branch":"main","last_synced_at":"2025-04-14T04:15:24.507Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"C#","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/devkimchi.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2023-11-08T14:39:19.000Z","updated_at":"2025-03-14T10:15:59.000Z","dependencies_parsed_at":"2023-11-14T18:25:09.565Z","dependency_job_id":"57244ceb-45b5-4730-bdba-00cc27083b37","html_url":"https://github.com/devkimchi/aspire-youtube-summariser","commit_stats":null,"previous_names":["devkimchi/aspire-youtube-summariser"],"tags_count":6,"template":false,"template_full_name":null,"purl":"pkg:github/devkimchi/aspire-youtube-summariser","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/devkimchi%2Faspire-youtube-summariser","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/devkimchi%2Faspire-youtube-summariser/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/devkimchi%2Faspire-youtube-summariser/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/devkimchi%2Faspire-youtube-summariser/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/devkimchi","download_url":"https://codeload.github.com/devkimchi/aspire-youtube-summariser/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/devkimchi%2Faspire-youtube-summariser/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":262773853,"owners_count":23362207,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-09T03:52:50.671Z","updated_at":"2025-06-30T12:33:31.434Z","avatar_url":"https://github.com/devkimchi.png","language":"C#","funding_links":[],"categories":["others"],"sub_categories":[],"readme":"# Aspire Youtube Summariser\n\nThis provides sample Aspire-orchestrated apps that summarise a YouTube video transcript to a given language.\n\n## Prerequisites\n\n- [.NET 8 SDK](https://dotnet.microsoft.com/download/dotnet/8.0?WT.mc_id=dotnet-107070-juyoo)\n- [Visual Studio 2022](https://visualstudio.microsoft.com?WT.mc_id=dotnet-107070-juyoo) 17.9 or later with the .NET Aspire workload installed\n- [Docker Desktop](https://docker.com/products/docker-desktop)\n- [Azure Developer CLI](https://learn.microsoft.com/azure/developer/azure-developer-cli/overview?WT.mc_id=dotnet-107070-juyoo)\n- [Azure CLI](https://learn.microsoft.com/cli/azure/what-is-azure-cli?WT.mc_id=dotnet-107070-juyoo)\n- [GitHub CLI](https://cli.github.com/)\n- [PowerShell](https://learn.microsoft.com/powershell/scripting/overview?WT.mc_id=dotnet-107070-juyoo)\n- [Azure subscription](https://azure.microsoft.com/free?WT.mc_id=dotnet-107070-juyoo)\n- [Azure OpenAI Service subscription](https://aka.ms/oaiapply)\n\n## Getting Started\n\n### Explore the app\n\n1. Checkout to the `existing` tag\n\n   ```bash\n   git checkout tags/existing\n   dotnet restore \u0026\u0026 dotnet build\n   ```\n\n1. Rename `appsettings.Development.sample.json` in the `ApiApp` project to `appsettings.Development.json` and add Azure OpenAI Service details \u0026ndash; endpoint, API key and deployment ID \u0026ndash; to the file. You can get these details from the [Azure Portal](https://portal.azure.com/?WT.mc_id=dotnet-107070-juyoo).\n\n1. Run the API app in a terminal\n\n   ```bash\n   dotnet run --project AspireYouTubeSummariser.ApiApp\n   ```\n\n1. Run the web app in another terminal\n\n   ```bash\n   dotnet run --project AspireYouTubeSummariser.WebApp\n   ```\n\n### Add .NET Aspire\n\n1. Checkout to the `aspire` tag\n\n   ```bash\n   git checkout tags/aspire\n   dotnet restore \u0026\u0026 dotnet build\n   ```\n\n1. Run the Aspire AppHost app\n\n   ```bash\n   dotnet run --project AspireYouTubeSummariser.AppHost\n   ```\n\n### Add Redis Cache to WebApp\n\n1. Checkout to the `redis` tag\n\n   ```bash\n   git checkout tags/redis\n   dotnet restore \u0026\u0026 dotnet build\n   ```\n\n1. Run the Aspire AppHost app\n\n   ```bash\n   dotnet run --project AspireYouTubeSummariser.AppHost\n   ```\n\n### Update Resiliency Settings\n\n1. Checkout to the `polly` tag\n\n   ```bash\n   git checkout tags/polly\n   dotnet restore \u0026\u0026 dotnet build\n   ```\n\n1. Run the Aspire AppHost app\n\n   ```bash\n   dotnet run --project AspireYouTubeSummariser.AppHost\n   ```\n\n### Add Azure Queue Storage and Table Storage for Async Processing\n\n1. Checkout to the `queue` tag\n\n   ```bash\n   git checkout tags/queue\n   dotnet restore \u0026\u0026 dotnet build\n   ```\n\n1. Rename `appsettings.Development.sample.json` in the `Worker` project to `appsettings.Development.json` and add Azure OpenAI Service details \u0026ndash; endpoint, API key and deployment ID \u0026ndash; to the file. You can get these details from the [Azure Portal](https://portal.azure.com/?WT.mc_id=dotnet-107070-juyoo).\n\n1. Rename `appsettings.Development.sample.json` in the `AppHost` project to `appsettings.Development.json` and add Azure Queue/Table Storage Account details \u0026ndash; connection strings \u0026ndash; to the file You can get these details from the [Azure Portal](https://portal.azure.com/?WT.mc_id=dotnet-107070-juyoo).\n\n1. Run the Aspire AppHost app\n\n   ```bash\n   dotnet run --project AspireYouTubeSummariser.AppHost\n   ```\n\n### Deploy to Azure\n\n1. Checkout to the `main` branch\n\n   ```bash\n   git switch main\n   dotnet restore \u0026\u0026 dotnet build\n   ```\n\n1. Rename `appsettings.Development.sample.json` in the `AppHost` project to `appsettings.Development.json`.\n\n1. Add Azure OpenAI Service details \u0026ndash; endpoint, API key and deployment ID \u0026ndash; to the file. You can get these details from the [Azure Portal](https://portal.azure.com/?WT.mc_id=dotnet-107070-juyoo).\n\n1. Add Azure Queue/Table Storage Account details \u0026ndash; connection strings \u0026ndash; to the file You can get these details from the [Azure Portal](https://portal.azure.com/?WT.mc_id=dotnet-107070-juyoo).\n\n1. Run the following commands in order:\n\n   ```bash\n   # Initialise azd\n   AZURE_ENV_NAME=\"aspire$RANDOM\"\n   azd init -e $AZURE_ENV_NAME\n\n   # Provision resources to Azure\n   azd provision\n\n   # Provision GitHub Actions environment\n   azd pipeline config\n   pwsh Set-GitHubActionsVariables.ps1 -GitHubAlias \u003cGitHubAlias\u003e\n\n   # Provision rest of resources to Azure outside Aspire\n   pwsh Run-PostProvision.ps1 -GitHubAlias \u003cGitHubAlias\u003e\n\n   # Deploy apps to Azure\n   azd deploy\n   ```\n\n1. Push code changes to the GitHub repository to trigger a GitHub Actions workflow.\n\n## Resources\n\n- [.NET Aspire overview](https://learn.microsoft.com/dotnet/aspire/get-started/aspire-overview?WT.mc_id=dotnet-107070-juyoo)\n- [.NET Aspire orchestration](https://learn.microsoft.com/dotnet/aspire/app-host-overview?WT.mc_id=dotnet-107070-juyoo)\n- [.NET Aspire components](https://learn.microsoft.com/dotnet/aspire/components-overview?WT.mc_id=dotnet-107070-juyoo)\n- [.NET Aspire samples](https://github.com/dotnet/aspire-samples)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdevkimchi%2Faspire-youtube-summariser","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdevkimchi%2Faspire-youtube-summariser","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdevkimchi%2Faspire-youtube-summariser/lists"}