SelfKit is a SaaS boilerplate designed for developers who want to quickly build and deploy web applications. He is self-hosting oriented, meaning it is built with open-source tools and provides a convenient way to be hosted with Coolify or any Docker-compatible infrastructure.
- Authentication:
- Email/Password
- Google login
- 2FA
- Rate limiting
- Password checking
- Payment:
- Checkout page
- Pricing component
- Product and subscriptions auto update (webhook)
- SEO: Meta tags, Open graph, JSON-LD
- Blog: with markdown and RSS flux
- Analytics
- Emails
- Internationalization
- Database auto migration
- Coolify deployment script
- Default terms & privacy pages
- UI components:
- Features grid
- Call to action
- Problem
- Framework: SvelteKit
- Database: PostgreSQL with Drizzle ORM
- Authentication: Lucia (learning resource)
- Payments: Paddle
- Analytics Tracking: Umami
- Emails: Plunk
- UI & Design: Tailwind + Shadcn Svelte
- Internationalization: Paraglide
- Forms: Superform + Zod
git clone https://github.com/your-repo/selfkit.git
cd selfkit
Copy the .env.example
file to .env
and fill in the required information.
cp .env.example .env
pnpm install
docker-compose -f docker-compose.dev.yaml up
pnpm run dev
SelfKit includes Playwright integration for end-to-end testing.
pnpm run test
Tests are automatically executed on every push or pull request via GitHub Actions.
SelfKit is designed for easy deployment on Coolify or any Docker-compatible infrastructure.
docker-compose up -d
Check our DEPLOY.md
file or the documentation for more details about the installation with Coolify.
SelfKit is a boilerplate for launching SaaS applications quickly and easily. It’s designed for developers who want to self-host their projects using open-source tools, minimizing recurring costs and external dependencies.
You can build any type of SaaS platform, from subscription-based services to one-time purchase products. It’s particularly well-suited for apps requiring user authentication, payment processing, and analytics.
Self-hosting gives you full control over your application and reduces reliance on third-party services, which can introduce hidden costs and data security concerns.
Svelte 5!
SelfKit is open-source and licensed under MIT.
💡 Need help? Open an issue on GitHub!