经 AI Skill Hub 精选评估,开源AI工作流 获评「强烈推荐」。这款Agent工作流在功能完整性、社区活跃度和易用性方面表现出色,AI 评分 8.0 分,适合有一定技术背景的用户使用。
开源AI工作流 是一套完整的 AI Agent 自动化工作流方案。通过可视化的节点编排,将复杂的多步骤任务拆解为清晰的自动化流程,实现全程无人值守的智能处理。支持与数百种外部服务和 API 无缝集成,适合构建数据处理管线、业务自动化和 AI 辅助决策系统。
开源AI工作流 是一套完整的 AI Agent 自动化工作流方案。通过可视化的节点编排,将复杂的多步骤任务拆解为清晰的自动化流程,实现全程无人值守的智能处理。支持与数百种外部服务和 API 无缝集成,适合构建数据处理管线、业务自动化和 AI 辅助决策系统。
# 方式一:npm 全局安装 npm install -g saas-starter # 方式二:npx 直接运行(无需安装) npx saas-starter --help # 方式三:项目依赖安装 npm install saas-starter # 方式四:从源码运行 git clone https://github.com/stickerdaniel/saas-starter cd saas-starter npm install npm start
# 命令行使用
saas-starter --help
# 基本用法
saas-starter [options] <input>
# Node.js 代码中使用
const saas_starter = require('saas-starter');
const result = await saas_starter.run(options);
console.log(result);
# saas-starter 配置说明 # 查看配置选项 saas-starter --config-example > config.yml # 常见配置项 # output_dir: ./output # log_level: info # workers: 4 # 环境变量(覆盖配置文件) export SAAS_STARTER_CONFIG="/path/to/config.yml"
A free, open-source SaaS template built with SvelteKit, Convex, Better Auth, Tolgee, and Tailwind. Auth, billing, admin, AI chat, email, and i18n are all implemented end-to-end so you and your AI agents have real patterns to build on. Deploy on Cloudflare Workers or Vercel for $0.
See a live demo of the user-facing side at saas.daniel.sticker.name. Admin features like the admin panel, support dashboard, and user management are not accessible there. To explore everything, follow the steps below.
Renovate groups non-major updates into a single PR and creates separate PRs for packages that tend to ship breaking changes (Better Auth, AI SDK, ESLint), so upgrades are easier to review.
Each PR gets its own preview deployment with an isolated Convex preview backend. Supports both Cloudflare Workers and Vercel.
Create a Convex project at dashboard.convex.dev and connect your repo to your hosting platform.
The deploy script (scripts/deploy.ts) auto-detects the platform from environment variables (WORKERS_CI, CF_PAGES, or VERCEL), tags and pulls translations, runs bunx convex deploy to create a preview backend named after the branch, auto-computes PUBLIC_CONVEX_URL and PUBLIC_CONVEX_SITE_URL from the deploy output, and sets SITE_URL on the Convex instance to match the preview URL. When PREVIEW_ADMIN_PASSWORD is set, it also seeds an admin user.
<details> <summary><strong>Cloudflare Workers setup</strong></summary>
Deploy via Cloudflare Workers with Workers Builds:
1. Create Worker
name in wrangler.toml to your project namebunx wrangler deploy (first deploy creates the Worker)2. Connect repo
3. Configure build commands
| Field | Value |
|---|---|
| Build command | bunx varlock run -- bun scripts/deploy.ts |
| Deploy command | bunx wrangler deploy |
| Non-production branch deploy command | bun scripts/cf-deploy.ts |
4. Add build variables (plain text, visible in logs)
| Variable | Value | Notes |
|---|---|---|
WORKERS_NAME | Name from wrangler.toml | Required for preview URL construction |
WORKERS_SUBDOMAIN | Account subdomain (e.g., daniel-ce4) | Visible at Workers & Pages overview as *.workers.dev |
SITE_URL | https://your-domain.com | Production custom domain. Ignored for previews (URL is auto-constructed from WORKERS_NAME/WORKERS_SUBDOMAIN). Falls back to workers.dev URL if unset. |
5. Add build secrets (encrypted, hidden from logs)
| Secret | Where to find it |
|---|---|
CONVEX_DEPLOY_KEY | Convex dashboard > Project Settings > Production Deploy Keys |
CONVEX_PREVIEW_DEPLOY_KEY | Convex dashboard > Project Settings > Preview Deploy Keys |
6. Set Convex default env vars for previews
Each preview Convex deployment starts with no env vars. Set defaults in Convex dashboard > Project Settings > Default Environment Variables with only Preview/Development checked (not Production):
BETTER_AUTH_SECRET, RESEND_API_KEY, AUTH_EMAIL, EMAIL_ASSET_URL, AUTUMN_SECRET_KEY, OPENROUTER_API_KEY
Optionally add AUTH_E2E_TEST_SECRET for E2E tests on previews.
7. Enable branch builds
Enable non-production branch builds for preview deployments. Push a branch and Workers Builds creates a preview deployment with a stable per-branch URL.
</details>
<details> <summary><strong>Vercel setup</strong></summary>
Connect your repo to Vercel. Set the required Vercel and Convex preview variables listed in the environment variable matrix below.
Push a branch and Vercel creates a preview deployment with its own Convex preview backend.
</details>
Convex cleans up preview deployments after 5 days (14 days on Professional). If you hit DeploymentQuotaReached anyway (team quota is 40, counted across all projects), the deploy script can self-heal by pruning the oldest eligible preview — opt in by setting CONVEX_MANAGEMENT_TOKEN and CONVEX_PROJECT_ID (see the env matrix).
Set the required platform and Convex production variables listed in the environment variable matrix below.
Push to your production branch (default: main) and the connected platform deploys automatically, or trigger a manual deploy:
Cloudflare Workers:
bunx wrangler deploy
Vercel:
vercel --prod
<details> <summary><strong>Self-hosted production with Coolify</strong></summary>
Use the existing Cloudflare Workers or Vercel setup for preview deployments, and run production on Coolify when you want a self-hosted Node app with the same Convex cloud backend.
Architecture:
Coolify setup:
bunx varlock run -- bun scripts/deploy.ts
node build
4. Set app-level environment variables in Coolify: - NODE_ADAPTER=1 - CONVEX_DEPLOY_KEY - TOLGEE_API_KEY (optional) - CONVEX_INTERNAL_URL (optional, only if the app container can reach Convex through a private Docker network URL) 5. Set the required Convex production environment variables in the Convex dashboard 6. Set SITE_URL on the Convex production deployment to your public production domain
The build command intentionally reuses scripts/deploy.ts so production stays aligned with the existing deploy flow: Tolgee sync remains optional, Convex is deployed during the build, and PUBLIC_CONVEX_URL / PUBLIC_CONVEX_SITE_URL are computed automatically from the deploy output instead of being copied into Coolify by hand.
</details>
Four commands to a running app with a local Convex backend and seeded admin:
gh repo create my-saas-product --template stickerdaniel/saas-starter --clone
cd my-saas-product
bun install
bun run dev
Visit http://localhost:5173 and sign in:
admin@local.dev
LocalDevAdmin123!
No external services required. To activate optional features (email, OAuth, billing, AI), add keys to .env.convex.local. See the environment variable matrix below.
<details> <summary><strong>What about the Convex cloud dev deployment?</strong></summary>
I'd recommend the local embedded backend for day-to-day work. Each git worktree gets its own isolated Convex instance, you can develop multiple features in parallel without conflicts.
bunx convex init # creates a Convex project
convex init prints a CONVEX_DEPLOYMENT value — add it to .env.local. bun run dev still uses the local embedded backend; the variable is only needed for dev:cloud and the Convex CLI.
bun run dev:cloud # frontend + cloud Convex backend
bunx convex env set KEY value # set backend env vars (see .env-convex.schema / env matrix below)
</details>
Users can update their profile, change their password with live strength feedback, swap their email (triggers re-verification), manage passkeys, and review or revoke active sessions. Uploaded avatars and attachments are validated on the server and cleaned up automatically.
varlock validates env vars against two schemas and generates TypeScript types from them. .env.schema covers SvelteKit (Vite), .env-convex.schema covers the Convex backend. If a required variable is missing or mistyped, you find out before the app starts.
Dev server, static checks, i18n sync, email build, and worktree creation are all available as VS Code tasks via Run Task (Cmd/Ctrl+Shift+P).
高质量的开源AI工作流模板,易于部署和使用
该工具未明确声明开源协议,商业使用前请联系原作者确认授权范围,避免侵权风险。
AI Skill Hub 为第三方内容聚合平台,本页面信息基于公开数据整理,不对工具功能和质量作任何法律背书。
建议在沙箱或测试环境中充分验证后,再部署至生产环境,并做好必要的安全评估。
AI Skill Hub 点评:开源AI工作流 的核心功能完整,质量优秀。对于自动化工程师和运维人员来说,这是一个值得纳入个人工具库的选择。建议先在非生产环境试用,再逐步推广。
| 原始名称 | saas-starter |
| Topics | ai-chatbetter-authconvextypescript |
| GitHub | https://github.com/stickerdaniel/saas-starter |
| 语言 | TypeScript |
收录时间:2026-05-28 · 更新时间:2026-05-28 · License:未公布 · AI Skill Hub 不对第三方内容的准确性作法律背书。
选择 Agent 类型,复制安装指令后粘贴到对应客户端