{"id":23459431,"url":"https://github.com/devkimchi/social-media-assistant","last_synced_at":"2026-01-21T06:05:43.211Z","repository":{"id":236606420,"uuid":"696530617","full_name":"devkimchi/social-media-assistant","owner":"devkimchi","description":"This provides a total solution of generating social media posts for online marketing purpose, using Power Platform as a front-end app and workflow, and Azure Functions as a back-end API app.","archived":false,"fork":false,"pushed_at":"2023-09-26T13:53:47.000Z","size":1251,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-02-15T23:44:10.552Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Bicep","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-09-25T23:53:20.000Z","updated_at":"2024-05-17T09:57:37.000Z","dependencies_parsed_at":"2024-04-28T02:19:59.907Z","dependency_job_id":"66458e7f-39fd-43e2-87ef-5fba78c87b93","html_url":"https://github.com/devkimchi/social-media-assistant","commit_stats":null,"previous_names":["devkimchi/social-media-assistant"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/devkimchi%2Fsocial-media-assistant","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/devkimchi%2Fsocial-media-assistant/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/devkimchi%2Fsocial-media-assistant/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/devkimchi%2Fsocial-media-assistant/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/devkimchi","download_url":"https://codeload.github.com/devkimchi/social-media-assistant/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248484942,"owners_count":21111751,"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-12-24T06:14:31.005Z","updated_at":"2026-01-21T06:05:43.180Z","avatar_url":"https://github.com/devkimchi.png","language":"Bicep","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Social Media Assistant\n\nThis provides a total solution of generating social media posts for online marketing purpose, using Power Platform as a front-end app and workflow, and Azure Functions as a back-end API app.\n\n## Architecture\n\n![Architecture](./assets/architecture.png)\n\n## Prerequisites\n\n- [Azure Subscription](https://azure.microsoft.com/free?WT.mc_id=dotnet-108200-juyoo)\n- [Azure OpenAI Service](https://learn.microsoft.com/azure/ai-services/openai/overview?WT.mc_id=dotnet-108200-juyoo)\n- [Azure CLI](https://learn.microsoft.com/cli/azure/what-is-azure-cli?WT.mc_id=dotnet-108200-juyoo)\n- [Azure Developer CLI](https://learn.microsoft.com/azure/developer/azure-developer-cli/overview?WT.mc_id=dotnet-108200-juyoo)\n- [GitHub CLI](https://cli.github.com)\n- [Microsoft 365 Developer Program](https://learn.microsoft.com/office/developer-program/microsoft-365-developer-program?WT.mc_id=dotnet-108200-juyoo)\n- [Power Apps Developer Plan](https://learn.microsoft.com/power-platform/developer/plan?WT.mc_id=dotnet-108200-juyoo)\n- [Power Platform CLI](https://learn.microsoft.com/power-platform/developer/cli/introduction?WT.mc_id=dotnet-108200-juyoo)\n\n## Getting Started\n\n### Provisioning Azure Resources\n\n1. Fork this repository to your GitHub account, `{{GITHUB_USERNAME}}`.\n1. Run the commands below to set up a resource names:\n\n   ```bash\n   # PowerShell\n   $AZURE_ENV_NAME=\"social$(Get-Random -Min 1000 -Max 9999)\"\n   $GITHUB_USERNAME=\"{{GITHUB_USERNAME}}\"\n\n   # Bash\n   AZURE_ENV_NAME=\"social$RANDOM\"\n   GITHUB_USERNAME=\"{{GITHUB_USERNAME}}\"\n   ```\n\n1. Run the commands below to provision Azure resources:\n\n   ```bash\n   azd auth login\n   azd init -e $AZURE_ENV_NAME\n   azd up\n   ```\n\n   \u003e You might be asked to input your GitHub username and repository name.\n\n### Deploying Applications to Azure\n\n1. Run the commands below to deploy apps to Azure:\n\n   ```bash\n   az login\n   gh auth login\n   azd pipeline config\n   gh workflow run \"Azure Dev\" --repo $GITHUB_USERNAME/social-media-assistant\n   ```\n\n### Deprovisioning Azure Resources\n\n1. To avoid unexpected billing shock, run the commands below to deprovision Azure resources:\n\n   ```bash\n   azd down --force --purge --no-prompt\n   ```\n\n## Local Development\n\nUse `SocialMediaAssistant.sln` with [Visual Studio](https://visualstudio.microsoft.com/downloads?WT.mc_id=dotnet-108200-juyoo) or [Visual Studio Code](https://code.visualstudio.com?WT.mc_id=dotnet-108200-juyoo) with the [C# Dev Kit extension](https://marketplace.visualstudio.com/items?itemName=ms-dotnettools.csdevkit\u0026WT.mc_id=dotnet-108200-juyoo).\n\n### `local.settings.json` \u0026ndash; `SocialMediaAssistant.ApiApp`\n\n1. Copy `local.settings.sample.json` to `local.settings.json`.\n1. Substitute the following values in the `local.settings.json` with the actual values:\n\n   ```json\n   \"OpenAIApi__Endpoint\": \"https://aoai-{{AZURE_ENV_NAME}}.openai.azure.com/\",\n   \"OpenAIApi__AuthKey\": \"{{AOAI_API_KEY}}\",\n   \"OpenAIApi__DeploymentId\": \"{{DEPLOYMENT_ID}}\",\n   ```\n\n   - `{{AZURE_ENV_NAME}}`: Azure environment name. It looks like `social****` where `****` is a random number.\n   - `{{AOAI_API_KEY}}`: API Key of Azure OpenAI Service.\n   - `{{DEPLOYMENT_ID}}`: Azure OpenAI Service deployment ID. It looks like `model-gpt35turbo16k`.\n\n### Importing Power Automate Solution\n\n1. Open [Power Automate](https://make.powerautomate.com?WT.mc_id=dotnet-108200-juyoo).\n1. Import solution from `SocialMediaPostingAssistant.zip`.\n1. Update connection reference links in the `SocialMediaPostingAssistant` flow.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdevkimchi%2Fsocial-media-assistant","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdevkimchi%2Fsocial-media-assistant","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdevkimchi%2Fsocial-media-assistant/lists"}