Your Next SaaS Template or Boilerplate ! A magic trip start with `bun create saasfly` . The more stars, the more surprises
See the codeAn 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 contact@nextify.ltd 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 install
Follow these steps to set up your project:
cp .env.example .env.local
// (you must have a database prepared before running this command)
bun db:push
bun run dev:web
Open 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.
614 followers · starred Feb 2025
285 followers · starred Nov 2024
237 followers · starred Jul 2025
124 followers · starred May 2024
Your Next SaaS Template or Boilerplate ! A magic trip start with `bun create saasfly` . The more stars, the more surprises
See the codeAn 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 contact@nextify.ltd 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 install
Follow these steps to set up your project:
cp .env.example .env.local
// (you must have a database prepared before running this command)
bun db:push
bun run dev:web
Open 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.
614 followers · starred Feb 2025
285 followers · starred Nov 2024
237 followers · starred Jul 2025
124 followers · starred May 2024