百科.dev
全部条目AI 编程趋势榜开源项目技术资讯提交条目
登录
< 返回工具列表
S

saasfly

> 前端框架
开源

您的下一个 SaaS 模板或骨架! 一个神奇的旅程从 `bun create saasfly` 开始。星星越多,惊喜越多

2.9K stars0 点赞0 次浏览
访问官网GitHub

工具介绍

您的下一个 SaaS 模板或骨架! 一个神奇的旅程从 `bun create saasfly` 开始。星星越多,惊喜越多

# Saasfly
[![GitHub Actions Workflow Status][check-workflow-badge]][check-workflow-badge-link] [![GitHub License][github-license-badge]][github-license-badge-link] [![Discord][discord-badge]][discord-badge-link] [![Saasfly][made-by-nextify-badge]][made-by-nextify-badge-link]
An easy-to-use and enterprise-grade Next.js boilerplate. You don't need to buy templates anymore; Saasfly provides a complete, open-source solution for building SaaS applications quickly and easily. > **[Nextify](https://nextify.ltd)** provides a complete Enterprise SaaS solution. Contact us at [[email protected]](mailto:[email protected]) if you're interested in discussing your project, or if you'd simply like to have a conversation with us, please feel free to reach out. > ❤️ We provide **free technical support and deployment services to non-profit organizations**. > > All profits obtained from our open source projects will be **entirely dedicated to supporting open source initiatives and charitable causes**. ## ⚡ Live Demo Try it out for yourself! Demo Server (Location: Washington - USA): See more documentation at ## Star History ## Sponsors
Add your logo here ## Getting Started ### One Click Template ### Prerequisites Before you start, make sure you have the following installed: 1. [Bun](https://bun.sh/) & [Node.js](https://nodejs.org/) & [Git](https://git-scm.com/) 1. Linux ```bash curl -sL https://gist.github.com/tianzx/874662fb204d32390bc2f2e9e4d2df0a/raw -o ~/downloaded_script.sh && chmod +x ~/downloaded_script.sh && source ~/downloaded_script.sh ``` 2. MacOS ```bash /bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)" brew install git brew install oven-sh/bun/bun brew install nvm ``` 2. [PostgreSQL](https://www.postgresql.org/) 1. You can use Vercel Postgres or a local PostgreSQL server(add POSTGRES_URL env in .env.local) ```bash POSTGRES_URL = '' ``` ### Installation To get started with this boilerplate, we offer two options: 1. Use the `bun create` command(Strongly recommend): ```bash bun create saasfly ``` 2. Manually clone the repository: ```bash git clone https://github.com/saasfly/saasfly.git cd saasfly bun install ``` ### Setup Follow these steps to set up your project: 1. Set up the environment variables: ```bash cp .env.example .env.local // (you must have a database prepared before running this command) bun db:push ``` 2. Run the development server: ```bash bun run dev:web ``` 3. Open [http://localhost:3000](http://localhost:3000) in your browser to see the result. 4. (Optional alpha)`bun run tailwind-config-viewer` Open [http://localhost:3333](http://localhost:3333) in your browser to see your Tailwind CSS configuration ### Other Notes We are using Clerk as the default authentication provider after 1st June 2025. You can find the NextAuth implementation here ( https://github.com/saasfly/saasfly/tree/feature-nextauth ) . ## Project Roadmap 1. Admin Dashboard Page (in alpha !!!) 1. Only provide static page now and we plan to integrate with headless arch 2. You can provide your admin account and change **ADMIN_EMAIL="[email protected],[email protected]"** in .env.local and access host:port/admin/dashboard 3. Based on security concerns, we will not provide online demos for the time being. 2. Consider integrating Payload CMS. ## ⭐ Features ### Frameworks - **[Next.js](https://nextjs.org/)** - The React Framework for the Web (with **App Directory**) - **[NextAuth.js](https://next-auth.js.org/)** - Authentication for Next.js - **[Kysely](https://kysely.dev/)** - The type-safe SQL query builder for TypeScript - **[Prisma](https://www.prisma.io/)** - Next-generation ORM for Node.js and TypeScript, used as a schema management tool - **[React-email](https://react.email/)** - A React renderer for creating beautiful emails using React components ### Platforms - **[Clerk](https://go.clerk.com/uKDp7Au)** - The most comprehensive User Management Platform - **[Vercel](https://vercel.com/)** – Deploy your Next.js app with ease - **[Stripe](https://stripe.com/)** – Payment processing for internet businesses - **[Resend](https://resend.com/)** – Email marketing platform for developers ### Enterprise Features - **[i18n](https://nextjs.org/docs/app/building-your-application/routing/internationalization)** - Support for internationalization - **[SEO](https://nextjs.org/docs/app/building-your-application/optimizing/metadata)** - Search engine optimization - **[MonoRepo](https://turbo.build/)** - Monorepo for better code management - **[T3 Env](https://env.t3.gg/)** - Manage your environment variables with ease ### Data Fetching - **[trpc](https://trpc.io/)** – End-to-end typesafe APIs made easy - **[tanstack/react-query](https://react-query.tanstack.com/)** – Hooks for fetching, caching and updating asynchronous data in React ### Global State Management - **[Zustand](https://zustand.surge.sh/)** – Small, fast and scalable state management for React ### UI - **[Tailwind CSS](https://tailwindcss.com/)** – Utility-first CSS framework for rapid UI development - **[Shadcn/ui](https://ui.shadcn.com/)** – Re-usable components built using Radix UI and Tailwind CSS - **[Framer Motion](https://framer.com/motion)** – Motion library for React to animate components with ease - **[Lucide](https://lucide.dev/)** – Beautifully simple, pixel-perfect icons - **[next/font](https://nextjs.org/docs/basic-features/font-optimization)** – Optimize custom fonts and remove external network requests for improved performance ### Code Quality - **[TypeScript](https://www.typescriptlang.org/)** – Static type checker for end-to-end type safety - **[Prettier](https://prettier.io/)** – Opinionated code formatter for consistent code style - **[ESLint](https://eslint.org/)** – Pluggable linter for Next.js and TypeScript - **[Husky](https://typicode.github.io/husky)** – Git hooks made easy ### Performance - **[Vercel Analytics](https://vercel.com/analytics)** – Real-time performance metrics for your Next.js app - **[bun.sh](https://bun.sh/)** – npm alternative for faster and more reliable package management ### Database - **[PostgreSQL](https://www.postgresql.org/)** – The world's most advanced open source database ## Apps and Packages - `web`: The main Next.js application - `ui`: Shared UI components - `db`: Database schema and utilities - `auth`: Authentication utilities - `email`: Email templates and utilities ## License This project is licensed under the MIT License. For more information, see the [LICENSE](./LICENSE) file. ## Credits This project was inspired by shadcn's [Taxonomy](https://github.com/shadcn-ui/taxonomy) and t3-oss's [create-t3-turbo](https://github.com/t3-oss/create-t3-turbo). ## ‍ Contributors Made with [contrib.rocks](https://contrib.rocks). [check-workflow-badge]: https://img.shields.io/github/actions/workflow/status/saasfly/saasfly/ci.yml?label=ci [github-license-badge]: https://img.shields.io/badge/License-MIT-green.svg [discord-badge]: https://img.shields.io/discord/1204690198382911488?color=7b8dcd&link=https%3A%2F%2Fsaasfly.io%2Fdiscord [made-by-nextify-badge]: https://img.shields.io/badge/made_by-nextify-blue?color=FF782B&link=https://nextify.ltd/ [check-workflow-badge-link]: https://github.com/saasfly/saasfly/actions/workflows/check.yml [github-license-badge-link]: https://github.com/saasfly/saasfly/blob/main/LICENSE [discord-badge-link]: https://discord.gg/8SwSX43wnD [made-by-nextify-badge-link]: https://nextify.ltd

Issues· 0 开放

查看全部 Issues在 GitHub 打开

暂无开放 Issues,或尚未同步最近议题。

> 标签

TypeScriptbunclerkenterprise-boilerplatei18n

暂无评论,来聊聊你的看法吧

> 工具信息

发布日期2026年8月1日
最后更新2026年9月17日
分类前端框架
定价开源

> 相关工具

R
React
用于构建用户界面的 JavaScript 库
V
Vue.js
渐进式 JavaScript 框架
N
Next.js
基于 React 的全栈 Web 框架