replicate/fast-flux-demo
TypeScript
Captured source
source ↗replicate/fast-flux-demo
Description: A Next.js app for fast image generation with Flux on Replicate
Language: TypeScript
Stars: 113
Forks: 17
Open issues: 2
Created: 2024-09-23T17:18:15Z
Pushed: 2026-03-09T23:45:02Z
Default branch: main
Fork: no
Archived: no
README:
Fast Flux Demo
A Next.js app that shows off how fast Flux is on Replicate.
Check it out at fast-flux-demo.replicate.workers.dev
Running locally
To run this app locally or deploy your own copy, you'll need:
- Node.js (20 or later)
- A Replicate API token
Set your Replicate API token in your environment:
export REPLICATE_API_TOKEN=r8_...
Then install dependencies and run the development server:
npm install && npm run dev
Then open localhost:3000 in your browser to see the app.
Continuous Deployment
This project uses GitHub Actions for continuous deployment. Every push to the main branch triggers a workflow that builds and deploys the site to Cloudflare Workers.
The deployment process is defined in .github/workflows/deploy.yml. It uses the Wrangler GitHub Action to publish the site to Cloudflare.
To set up deployment for your fork of this project:
1. Generate a Cloudflare API token with the necessary permissions. 2. In your GitHub repository settings, go to Secrets and add a new secret named CLOUDFLARE_API_TOKEN with your Cloudflare API token as the value.
Once set up, every push to the main branch will automatically deploy your site.
Notability
notability 3.0/10New demo repo with low stars, routine.