Jeronasand GitHub avatar

deepseek-saas-starter-vue

Jeronasand

An open-source Vue 3 + Node template that wraps DeepSeek API into a monetizable AI tool store with four pre-built content generation tools and cost estimation.

Stars

167

7-day growth

No data

Forks

2

Open issues

0

License

MIT

Last updated

2026-06-26

AI repository intelligence
FR-AI / ANALYSIS

Why it is worth attention

It provides a complete, ready-to-deploy SaaS starter with built-in pricing, cost tracking, and a legitimate fork creation script, making it immediately useful for developers looking to monetize AI APIs.

Who it is for

  • Indie developers seeking quick AI product launch
  • Freelancers building paid AI content tools
  • Small business owners automating content marketing
  • Developers exploring DeepSeek API integration

Use cases

  • Launching a paid AI-powered title generator for social media
  • Building a mini-SaaS for short video scripts
  • Selling AI-generated product descriptions to e-commerce stores
  • Creating a private customer service reply assistant

Strengths

  • Comes with four ready-to-run tools and demo mode for instant preview
  • Includes cost estimation per tool (price, tokens, API cost, margin)
  • Easy customization via tool config files and prompt templates
  • Supports both latest DeepSeek models and provides migration guidance

Considerations

  • Requires own DeepSeek API key for real usage
  • No built-in payment processing or user authentication
  • Production readiness needs additional security (auth, rate limiting, payment callback)

README quick start

DeepSeek SaaS Starter Vue

一个中文开源模板:用 Vue 3 + Node 代理把 DeepSeek API 包装成可收费的 AI 小工具商店。

项目默认内置 4 个可变现工具:小红书标题生成器、电商卖点提炼、短视频口播脚本、私域客服回复。Fork 后只需要替换提示词、价格和支付链接,就能做成自己的垂直 AI 工具页。

特性

  • Vue 3 + TypeScript + Vite 前端控制台
  • Express 代理 /api/generate,DeepSeek API key 不进入浏览器
  • 无 key 时自动演示模式,方便 clone 后直接预览
  • 支持 deepseek-v4-flashdeepseek-v4-pro
  • 内置单次售价、Token、API 成本、毛利估算
  • .env.example 保留部署变量,.env 默认忽略

快速启动

npm install
cp .env.example .env
npm run dev

默认地址:

  • Web: http://localhost:5188
  • API: http://localhost:8787

没有配置 DEEPSEEK_API_KEY 时,项目会返回演示内容。测试真实接口时,在 .env 中填入:

DEEPSEEK_API_KEY=sk-你的-key
DEEPSEEK_MODEL=deepseek-v4-flash
PUBLIC_PAYMENT_URL=https://你的支付链接

变现改造

  1. src/data/tools.ts 修改前端工具卡、表单字段、价格。
  2. server/index.mjs 修改对应 tools 的 system prompt 和 prompt builder。
  3. PUBLIC_PAYMENT_URL 换成你的 Stripe、Paddle、发卡页或人工收款链接。
  4. 上线前接入真实登录、订单校验和频控。

合法获取 Fork

GitHub 的 Fork 数不能直接修改,也不应该用脚本刷指标。Fork 数只能来自真实账号或组织创建的真实 fork。

如果你管理多个真实 GitHub 组织,并且这些组织需要各自保留一份二次开发仓库,可以使用内置脚本创建组织 fork:

npm run fork:orgs -- Jeronasand/deepseek-saas-starter-vue org1 org2 org3 org4 org5

脚本只做合规组织 fork:

  • 需要先安装并登录 GitHub CLI:gh auth login
  • 每个 org 必须是你有权限创建仓库的真实组织
  • 不会创建虚假账号,不会绕过 GitHub 限制
  • 如果组织下已经有同名 fork,会自动跳过

更推荐的自然增长方式:

  • 在 README 顶部写清“Fork 后 10 分钟跑通 DeepSeek 变现模板”
  • 提供线上 demo 和截图
  • 增加可复制的工具模板与提示词样例
  • 发布到中文技术社区、即刻、掘金、V2EX、GitHub Topics

DeepSeek API

本模板使用 OpenAI 兼容的 Chat Completions 调用:

  • Base URL: https://api.deepseek.com
  • Endpoint: /chat/completions
  • Authorization: Bearer ${DEEPSEEK_API_KEY}

截至 2026-06-27,官方文档推荐的新模型名包含 deepseek-v4-flashdeepseek-v4-pro。旧模型名 deepseek-chatdeepseek-reasoner 官方已标注将于 2026-07-24 退役。

参考:

安全边界

  • 不要在前端使用 VITE_DEEPSEEK_API_KEY
  • 不要提交 .env、日志或测试 key。
  • 生产环境建议增加鉴权、支付回调校验、用户级限流和内容审核。

构建

npm run build
npm run start

npm run start 会从 Express 提供 dist/ 静态文件,并继续提供 /api/* 代理接口。

License

MIT

Description

中文 DeepSeek API 变现 Vue SaaS 模板

Related repositories

Similar projects matched by category, topics, and programming language.

LoD-Dawn
LoD-Dawn GitHub avatar

Fast-Vben-Admin

Fast Vben Admin is a modular full-stack management platform for admin panels and multi-tenant SaaS, built with FastAPI and Vue Vben Admin using Edition YAML composition.

Vue
192
ageerle
ageerle GitHub avatar

ruoyi-drama

A frontend for an AI-powered short drama creation platform that turns story ideas into videos via script, assets, storyboard, and synthesis steps.

Vue
49
lioil522
lioil522 GitHub avatar

nav-item-cf

A modern navigation website built with Vue 3 frontend and Cloudflare Pages Functions (Hono) backend, using Cloudflare D1 for database and R2 for image storage, fully serverless and deployable on Cloudflare's free tier.

Vue
17