https://github.com/chaiyokung/pixflow
An AI-powered application that automatically generates images on a schedule.
https://github.com/chaiyokung/pixflow
ai azure-openai dall-e-3 gpt-4o-mini t3-stack
Last synced: 2 months ago
JSON representation
An AI-powered application that automatically generates images on a schedule.
- Host: GitHub
- URL: https://github.com/chaiyokung/pixflow
- Owner: ChaiyoKung
- Created: 2025-02-21T15:32:27.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2025-02-21T15:53:14.000Z (over 1 year ago)
- Last Synced: 2025-02-21T16:37:59.022Z (over 1 year ago)
- Topics: ai, azure-openai, dall-e-3, gpt-4o-mini, t3-stack
- Language: TypeScript
- Homepage:
- Size: 51.8 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# PixFlow
An AI-powered application that automatically generates images on a schedule.
## Preparation
Ensure you have MongoDB set up with a replica set. You can use [MongoDB Atlas](https://www.mongodb.com/atlas) to easily configure this.
Create Azure Service Principal and assign roles to it.
```bash
az ad sp create-for-rbac --name "example"
# {
# "appId": "",
# "displayName": "example",
# "password": "",
# "tenant": ""
# }
az role assignment create --assignee "" --role "Cognitive Services OpenAI User" --scope "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg-example"
az role assignment create --assignee "" --role "Storage Blob Data Contributor" --scope "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg-example"
```
## Getting Started
Create `.env` by copying `.env.example`
```bash
cp .env.example .env
```
Install dependencies
```bash
bun install
```
Run the server
```bash
bun dev
```