Azure-Samples /
microblog-ai-remix
A full-stack AI-powered microblogging application leveraging Azure Static Web Apps, Azure Functions, and Remix SSR with Azure OpenAI GPT-4o.
26/100 healthLoading repository data…
glaucia86 / repository
A full-stack AI-powered microblogging application leveraging Azure Static Web Apps, Azure Functions, and Remix SSR with Azure OpenAI GPT-4o.
A transparent discovery signal based on current public GitHub metadata.
This score does not audit code, security, maintainers, documentation quality, or suitability. Verify the repository and its current documentation before adoption.
Microblog AI is an application that showcases the power of Azure Static Web Apps combined with Azure Functions and Server-Side Rendering (SSR) using Remix. The application leverages Azure OpenAI's GPT-4o artificial intelligence to enable the creation of microblogs in a simple and intuitive way.
Microblog AI is a web application that allows users to create, edit, and view microblogs with the assistance of an advanced AI model. The main goal of this application is to demonstrate how Azure Static Web Apps, combined with Azure Functions and Server-Side Rendering (SSR) using Remix, can be used to build modern, scalable, and efficient web applications. This approach combines the benefits of SSR, such as faster load times and improved SEO, with the scalability and ease of management of a serverless architecture.
The application is designed to be user-friendly, with an intuitive interface that allows users to focus on writing content. Using Azure OpenAI's GPT-4o, users can generate ideas and content quickly and intelligently. Microblog AI is ideal for writers, bloggers, and anyone who wants to share their ideas efficiently.
For more information on the Hybrid Apps approach in Azure Static Web Apps, refer to the official documentation.
graph TD
subgraph Client Side
A[Browser]
end
subgraph Azure Static Web Apps
B[Static Web App Host]
C[Remix Application - app folder]
subgraph Routes & Services
D1[app/routes/generate.tsx]
D2[app/services/openaiService.ts]
end
end
subgraph Server Side - server folder
E[Azure Functions v4]
F[Remix Azure Functions Adapter]
end
subgraph Azure Services
G[Azure OpenAI Services]
H[GPT-4o Model]
end
subgraph Development Tools
I[swa-cli]
J[GitHub Copilot]
end
A <--> B
B <--> C
C --> D1
D1 --> D2
C <--> F
F <--> E
D2 --> G
G --> H
I -.-> B
J -.-> C
classDef default fill:#8B4513,color:white, stroke:#333,stroke-width:2px
classDef azure fill:#0078D4,color:white,stroke:#0078D4
classDef client fill:#FF6B6B,color:white,stroke:#FF4949
classDef server fill:#4ECDC4,color:white,stroke:#45B7AF
classDef dev fill:#2D3748,color:white,stroke:#1A202C
class A client
class B,C azure
class E,F server
class G,H azure
class I,J dev
The application follows a modern web architecture leveraging Azure services and Remix framework:
Client Side
Azure Static Web Apps
app folder):
generate.tsx: Handles AI content generation UI and form logicopenaiService.ts: Manages Azure OpenAI API integrationServer Side (server folder)
Azure Services
Development Tools
openaiService.tsThis architecture ensures optimal performance through SSR while maintaining direct access to AI services for content generation.
npm install -g @azure/static-web-apps-cli)Here is an example of the Microblog AI project in action:
Note: This project uses Azure Functions v4 programming model, which requires Node.js versions up to 20.x for compatibility.
To run this application locally, follow these steps:
Fork the Repository:
Clone the Forked Repository:
git clone <your-fork-url>
cd microblog-ai
npm install
cd server
npm install
Environment Configuration:
.env file in the project's root directory with the following environment variables:AZURE_OPENAI_API_KEY=<your-azure-openai-key>
AZURE_OPENAI_ENDPOINT=<your-openai-endpoint>
AZURE_OPENAI_DEPLOYMENT_NAME=<your-openai-model>
AZURE_OPENAI_API_VERSION=<your-openai-api-version>
local.settings.json file in the server folder with the following content:{
"IsEncrypted": false,
"Values": {
"AzureWebJobsStorage": "UseDevelopmentStorage=true",
"FUNCTIONS_WORKER_RUNTIME": "node",
"AZURE_OPENAI_API_KEY": "<your-azure-openai-key>",
"AZURE_OPENAI_ENDPOINT": "<your-openai-endpoint>",
"AZURE_OPENAI_DEPLOYMENT_NAME": "<your-openai-model>",
"AZURE_OPENAI_API_VERSION": "<your-openai-api-version>"
},
"Host": {
"LocalHttpPort": 7071,
"CORS": "*",
"CORSCredential": true
}
}
Build the Project:
npm run build
npm run build:all
Run the Application:
npm run dev
Simulate Production Environment:
swa start
The application will be available at http://localhost:4280.
Important: This application requires an Azure subscription with access to Azure OpenAI Service. Ensure you have:
- An active Azure subscription
- Access to Azure OpenAI Service
- A deployed GPT-4 model named 'gpt-4o'
- Valid API credentials (endpoint and key)
For more information on deploying an LLM model in Azure Foundry, refer to the official documentation.
Node.js Version Mismatch
nvm use 20)Azure OpenAI Access
Local Development
local.settings.json or kill the process using the current port.Contributions are welcome! Feel free to open issues and pull requests for improvements, bug fixes, or new features.
This project is licensed under the MIT License. By contributing to this repository, you agree that your contributions will be licensed under the MIT license. For more details, see the LICENSE file.
Selected from shared topics, language and repository description—not editorial ratings.
Azure-Samples /
A full-stack AI-powered microblogging application leveraging Azure Static Web Apps, Azure Functions, and Remix SSR with Azure OpenAI GPT-4o.
26/100 healthReverendBayes /
Real-time behavioral intelligence for call centers. Transcribes support calls, redacts PII, extracts emotional tone, classifies issues, and delivers insight-rich dashboards — powered by GPT-3.5 (cheap tokens), Whisper, DuckDB, and a polished React+TypeScript frontend. No Azure. No Power BI. No vendor lock-in. Just full-stack AI that runs local.
76/100 healthERNI-Academy /
A full-stack hotel booking application using Spring Boot (Java) for the backend and Angular (TypeScript) for the frontend. Integrates AI-powered chat and document retrieval using Azure OpenAI and PGVector.
56/100 healthGanesh2609 /
Full-stack Healthcare Management System with AI-powered sentiment analysis. Features role-based dashboards for patients, doctors, nurses & admins. Built with React/TypeScript, Node.js, PostgreSQL & Azure Cognitive Services.
27/100 healthMuhomorik /
AI-powered Q&A over investment fund factsheets (PRIIP/KID documents). Full-stack RAG pipeline with semantic search, natural language answers with source citations, and near-zero hosting costs on Azure free tiers.
55/100 healthbroken2befixed /
Real-time behavioral intelligence for call centers. Transcribes support calls, redacts PII, extracts emotional tone, classifies issues, and delivers insight-rich dashboards — powered by GPT-3.5 (cheap tokens), Whisper, DuckDB, and a polished React+TypeScript frontend. No Azure. No Power BI. No vendor lock-in. Just full-stack AI that runs local.
37/100 health