Log In
Get
Docs
Showcase
Community

What Is DeploySolo?

DeploySolo is a lightweight SaaS boilerplate in Go that helps you build and deploy reactive web apps quickly. It extends PocketBase—a self-contained backend with SQLite database, authentication, and REST APIs—by adding reusable packages for common SaaS features. This setup lets you focus on your app’s logic without reinventing basics like user auth, payments, or dynamic UI updates.

At its core, DeploySolo uses htmx for seamless, AJAX-like interactivity through simple HTML attributes, keeping your frontend lightweight and server-rendered. No heavy JavaScript frameworks needed—just Go for the backend and HTML templates for the UI.

Key Components

  • Reusable Packages (pkg/): Import these into your app for instant functionality:
    • Middleware: Handles auth cookies compatible with htmx requests.
    • Render: Loads templates and renders htmx-friendly responses.
    • Payment: Integrates Stripe for subscriptions and webhooks.
    • GitHub: Manages user invites via GitHub API.
    • More packages are planned for SaaS essentials like email or analytics.
  • Starter Examples (examples/): Ready-to-run apps (e.g., a todo list with CRUD) demonstrate package usage. Copy one as your starting point.
  • Styling and Serving: Includes WebAwesome for modern, responsive UI components. For production, it bundles Caddy for easy serving with automatic HTTPS.
  • Deployment Focus: Guides target AWS EC2 on Ubuntu, but work on any Linux server. Get from code to live app in minimal steps.

DeploySolo’s goal is speed: Understand the structure, customize with your features, and deploy.