Your Next SaaS Template or Boilerplate ! A magic trip start with `bun create saasfly` . The more stars, the more surprises
Your Next SaaS Template or Boilerplate ! A magic trip start with `bun create saasfly` . The more stars, the more surprises
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 provides a complete Enterprise SaaS solution. Contact us at [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.
Try it out for yourself!
Demo Server (Location: Washington - USA): https://show.saasfly.io
See more documentation at https://document.saasfly.io
Before you start, make sure you have the following installed:
curl -sL https://gist.github.com/tianzx/874662fb204d32390bc2f2e9e4d2df0a/raw -o ~/downloaded_script.sh && chmod +x ~/downloaded_script.sh && source ~/downloaded_script.sh /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 POSTGRES_URL = ''To get started with this boilerplate, we offer two options:
bun create command(Strongly recommend):bun create saasfly git clone https://github.com/saasfly/saasfly.git
cd saasfly
bun installFollow these steps to set up your project:
cp .env.example .env.local
// (you must have a database prepared before running this command)
bun db:pushbun run dev:webOpen http://localhost:3000 in your browser to see the result.
(Optional alpha)bun run tailwind-config-viewer Open http://localhost:3333 in your browser to see your Tailwind CSS configuration
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 ) .
web: The main Next.js applicationui: Shared UI componentsdb: Database schema and utilitiesauth: Authentication utilitiesemail: Email templates and utilitiesThis project is licensed under the MIT License. For more information, see the LICENSE file.
This project was inspired by shadcn's Taxonomy and t3-oss's create-t3-turbo.
Made with contrib.rocks.
No open issues yet, or sync has not completed.