跳到正文

正在自动登录…

← 返回项目列表

qianshuixia/shrimpreel

AI视频生成SaaS站点搭建

这是一个开源SaaS模板,用于构建“单张照片生成符合病毒式模板的AI视频”网站,每个热门关键词对应一个站点,部署在Cloudflare上。适合想快速搭建类似AI视频生成服务的开发者。

AI 中文解读 · 根据仓库描述与 README 生成 · 2026/10/21 18:36:23 · 查看原文

普通TypeScript应用与服务兼有 开发工具
累计 Stars
178
当前热度
未达当前门槛
仓库创建时间
打开 GitHub ↗

选用指南

AI 根据 README 整理 · 2026/10/21 18:36:23

适用场景

适用于为不同热门关键词创建独立站点的场景,每个站点对应一个关键词,支持SEO优化和多语言。

查看 README 依据
# ShrimpReel English | [简体中文](README.zh-CN.md) Built by [浅水虾 (qianshuixia)](https://x.com/qianshuixia2026). An open-source template for "one photo → an AI video that follows a viral template" SaaS sites. Every trending keyword gets its own site: create a repo from this template, change the config, copy and media, and ship. Everything runs on Cloudflare: Workers + D1 + R2 + KV + Queues + Rate Limiting + Cron Triggers.
- Content and SEO: one-page home (How it works / What is), an extensible article collection (`/guides` hub, related articles), legal pages, contact form; SSR canonical, hreflang, JSON-LD and sitemap; copy is code-split per locale; `npm run seo:check` lints the whole site. Feature notes and plans: [docs/SAAS_VIDEO_FEATURES.md](docs/SAAS_VIDEO_FEATURES.md) and [ROADMAP.md](ROADMAP.md). SEO rules, keyword planning and audit results: [docs/SEO_AUDIT.md](docs/SEO_AUDIT.md). ## Local development ```bash npm install cp .dev.vars.example .dev.vars # set at least SESSION_SECRET
使用方式

通过命令行工具创建新站点,运行脚手架脚本生成配置,然后本地开发和部署。

查看 README 依据
git clone https://github.com/qianshuixia/shrimpreel.git moonhop && cd moonhop git remote rename origin upstream git remote add origin git@github.com:<owner>/moonhop.git ``` Don't use GitHub's "Use this template": the new repo shares no history with the template, so `git merge upstream/main` won't work later. Forks of a public repo can't be private, so site repos usually aren't forks either. 2. **Run the scaffolder** ```bash node scripts/new-site.mjs --keyword "Moon Hop" --domain moonhop.ai --keywords "AI dance video,Moon Hop filter" # dry run
node scripts/new-site.mjs --keyword "Moon Hop" --domain moonhop.ai --keywords "AI dance video,Moon Hop filter" --write # write ``` It updates the following, then prints a checklist of what still has to be done by hand: - `site.ts`: keyword, brand, domain, email, `template.id`, article slugs, secondary keywords, publish/update dates; it also clears the previous site's verification tokens, IndexNow key and analytics IDs. - `wrangler.jsonc`: resource names and the ratelimit `namespace_id`; D1/KV ids are reset to placeholders. - `package.json`: `name`.
部署要求

需要Node.js和npm,使用npm 11.19或更高版本,并部署到Cloudflare Workers。

查看 README 依据
npm run seed:local # apply D1 migrations and upload seed/templates/*.mp4 to local R2 npm run dev -- --host 127.0.0.1 # http://127.0.0.1:3000 ``` - Use npm 11.19 or newer; `devEngines` in `package.json` warns on older versions. Running `npm install` with an older npm rewrites `package-lock.json` into a form that `npm ci` on CI rejects (`Missing: @emnapi/core@… from lock file`). - `PAYMENT_PROVIDER=mock` and `VIDEO_PROVIDER=mock` by default: buying opens a mock checkout and generating copies the template video. Nothing is charged.
- If the template changed `wrangler.staging.jsonc`, the site gets a modify/delete conflict; resolve it with `git rm wrangler.staging.jsonc`. ## Deploying to Cloudflare Create the resources once per site (names must match `wrangler.jsonc`): ```bash npx wrangler d1 create <name> # put the database_id in wrangler.jsonc npx wrangler r2 bucket create <name>-media npx wrangler kv namespace create <name>-kv # put the id in wrangler.jsonc; titles are unique per account, don't call them all KV npx wrangler queues create <name>-jobs npx wrangler queues create <name>-jobs-dlq
已知限制

项目目前仅通过本地测试,未在生产环境部署,部分功能可能未经验证。

查看 README 依据
> Status: the full flow works locally (unit tests + Playwright e2e). It has not been deployed as a production site yet; [ROADMAP.md](ROADMAP.md) lists what has and hasn't been verified against real services. Code comments, ROADMAP and `docs/` are currently in Chinese. - Frontend/SSR: TanStack Start (React 19) + Tailwind 4. English at `/`, Chinese at `/zh`. - API: Hono (`/api/*`, `/media/*`, `/sitemap.xml`, `/robots.txt`, IndexNow key file); entry point `src/server.ts`. - Payments: Waffo Pancake (default) or Dodo Payments, both Merchants of Record. `mock` is for local dev and e2e only.

README

正在加载 README…

收录信息

仓库创建时间
2026/10/21 02:08:00
首次达标收录
2026/10/21 18:31:02
统计更新时间
2026/10/22 19:01:00

按创建时长与累计 Stars 判断等级。首次达标收录后,即使未达当前门槛仍保留;累计 Stars 和仓库状态会定期更新。确认只有 README 及辅助文件的仓库会停止公开。

模型评估

普通加权总分 3.5 / 5

新颖度
2.3
实用价值
4.2
成熟度
4.1
实质含量
3.8

由 Jev 模型根据仓库描述与 README 评估,2026/10/21 18:31:02 生成。评分仅供参考,不是代码、安全或许可证审查;热度等级另按创建时长与累计 Stars 计算。

仓库信息

最近推送
2026/10/22 02:03:41
许可证标识
MIT
Fork 数
65
当前状态
未归档

收录记录

按创建时长与累计 Stars 首次收录:小火
首次发现项目