cloudflare / cloudflare/templates

Template Proposal:

Open
#961 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
TypeScript
Stars
2.1k
Forks
1k
Avg merge
17h 44m
Merged PRs (30d)
10

Description

AI art gallery template — multi-LLM orchestration on Cloudflare's free tier, zero dependencies.
https://github.com/[danielw-sudo/AIGC-portfolio
What does this template do?
A full-stack AI art gallery and blog that orchestrates multiple LLM providers (Cloudflare Workers AI, NVIDIA NIM, Google Gemini) without middleware or vendor SDKs. Users upload artwork, AI auto-tags and describes it, and the site serves as a portfolio.

Why is this valuable for the Cloudflare ecosystem?
Showcases D1 + R2 + Workers AI together — most templates use one binding, this uses all three in a real production pattern
Zero-cost deployment — runs entirely on free tiers, demonstrating that serious apps can start at $0 on Cloudflare
Multi-provider AI routing — a clean pattern (string-prefix routing, ~80 lines per provider) that developers can extract and reuse
Three audience layers — non-technical creators (zero-code deploy), site admins (GUI dashboard), developers (agentic coding with .claude/ and .antigravity/ context files)
Tech stack
Astro (SSR) on Cloudflare Workers
D1 (13 tables, normalized schema with migrations)
R2 (image storage with public URL serving)
Workers AI + NVIDIA NIM + Google Gemini (provider-agnostic routing)
Tailwind CSS 4
9 direct dependencies, zero React
Key features
Admin panel with AI-powered content management
Butler chatbot with live site context injection
Vision analysis (auto-tag, describe, prompt recovery)
Smart onboarding (server-rendered checklist, seed content, one-click cleanup)
setup.sh one-command provisioning (creates D1, R2, seeds content, deploys)
GitHub Actions auto-deploy (secret-gated for template forks)
Links
Repo: https://github.com/danielw-sudo/AIGC-portfolio
Release: https://github.com/danielw-sudo/AIGC-portfolio/releases/tag/v1.3.0
License: MIT
Notes
Currently on Astro 5 with @astrojs/cloudflare v12. Astro 6 upgrade (v13 adapter with cloudflare:workers env pattern) is in progress. Happy to align with any template structure requirements.

Contributor guide

Open the contributing guide

Research direction

Review the linked AIGC-portfolio repository, especially setup.sh, its database migrations, and the GitHub Actions deployment workflow, then compare the project structure with existing templates in this repository. Done would require confirming the template requirements with maintainers and establishing that the proposed Astro, Cloudflare, and multi-provider AI application fits them.

Written by the indexing model from the issue text.

Assessment

Tech stack
github-actions, shell, tailwindcss, typescript
Domain
ai, cloud, databases, devops, full-stack, web-dev
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.