MarketingWriter is an intelligent marketing copy generation application powered by GitHub Models, Azure Container App, Streamlit and Generated by GitHub Copilot.
You can access the live application here.
- Generate complete marketing copy from user input ideas, bullet points, or product specifications.
- Support for selecting various product values and emotional values.
- Support for multiple language outputs, including English, Chinese, Japanese, and Korean.
- Generate copy based on user-specified age range and word count.
- Real-time display of generated copy.
- GitHub Models with Azure OpenAI: Used to generate content using large language model.
- Streamlit: Used to build the user interface.
- Github Copilot: generate app code and solve problem
- Azure Developer CLI: one-click journey for deployment
The application requires the following environment variables:
GITHUB_TOKEN
: GitHub token used to access the Azure OpenAI service.
-
Create a folder for marketingwriter
mkdir marketingwriter cd marketingwriter
-
Use azd init this template:
azd init --template https://github.com/xuhaoruins/marketingwriter
-
update
.env
with your GitHub Token. You can create a new fine-grained PAT via the Developer Settings section in your account settings.echo "GITHUB_TOKEN=your_github_token_here" > src/.env
-
Start the app:
azd up
-
If missing environment variables setting, you can update the environment variables using the Azure CLI after deployment:
az login az containerapp update --name <your-app-name> --resource-group <your-resource-group> --set-env-vars GITHUB_TOKEN=your_github_token_here