PubliFlow

Next.js 15 · SaaS starter kit · one-time license

Every boilerplate gives you auth and payments. Almost none give you an audience.

PubliFlow is the Next.js SaaS starter kit that ships with multi-platform publishing built in — so your product can post to X, Reddit, Dev.to and Hashnode from day one, instead of you wiring up four APIs after launch.

One-time paymentNo subscriptionFull source, yours to keep

What you build yourself versus what PubliFlow ships with
Building it yourself Ships with PubliFlow
Auth, sessions, password reset Done
Payments, plans, webhooks Done
Admin dashboard Done
Transactional email Done
SEO, sitemap, blog Done
Database schema and ORM Done
Four platform APIs Done — the whole point
Publish queue + formatting Done

The bottom two rows are where most boilerplates stop. They assume you'll figure out distribution later.

The gap

Shipping the product is the easy half

A starter kit gets you to a working app in a weekend. Then you discover the actual bottleneck: nobody knows the app exists, and every distribution channel wants its own API, its own markdown dialect, its own rate limits.

Publishing is a first-class module, not a tutorial

Included in the base license

One content object goes in. Four platform-specific posts come out, each formatted for its destination, each with its own publish state tracked in your database.

X
thread splitting · char limits
Reddit
subreddit targeting · flair
Dev.to
frontmatter · canonical URL
Hashnode
publication · tags
draft→ adapt per channel→ queue→ publish→ record external URL

What's inside

Nine modules, already wired together

Nothing here is a stub. Each module has a working UI, a database schema, and the glue that connects it to the rest.

01 · Auth

Authentication

Email and password sign-up, sessions, protected routes, password reset. Ready before you write a line of product code.

02 · Billing

Payments & subscriptions

Creem and Stripe integration with plans, checkout, and webhook handling for subscription state.

03 · Distribution

Multi-platform publishing

The module that makes PubliFlow different: compose once, publish to X, Reddit, Dev.to and Hashnode with per-channel formatting and status tracking.

04 · AI

AI integration

LLM calls wired for drafting and rewriting, with the request path and error handling already in place.

05 · Admin

Admin dashboard

Users, revenue, and content state in one view. The screen you actually want on day thirty.

06 · Email

Email system

Transactional templates and delivery through Resend, with the sending path shared across flows.

07 · SEO

SEO & blog

Metadata, sitemap, Open Graph, and a blog that renders your content without a separate CMS.

08 · Data

Database & ORM

Postgres schema and typed queries covering users, plans, content, and publish records.

09 · Deploy

Deployment ready

Production build configuration and environment handling so the first deploy isn't a debugging session.


How it goes

From clone to first publish

Step 01

Clone and configure

Drop in your database URL and platform API keys. Everything else already reads from environment variables.

git clone <repo> my-saas
cd my-saas && npm install
Step 02

Shape it into your product

Replace the sample domain logic, keep the auth, billing, admin and publishing layers as they are.

cp .env.example .env.local
npm run dev
Step 03

Ship and start publishing

Deploy, connect your accounts, and send your first cross-posted launch note the same day.

npm run build && deploy

Pricing

One payment. Full source. No renewal.

Buy it once and the code is yours to modify, deploy, and build on. No per-seat fee, no subscription that quietly renews.

Full license

$149 one-time
  • Complete Next.js 15 source code
  • All nine modules, including multi-platform publishing
  • Unlimited projects you build yourself
  • Future updates to the codebase
  • Setup documentation
Buy PubliFlow — $149

Checkout is handled by Creem. You get the source immediately after payment.

Building for a team?

Team and enterprise licensing is available for agencies and companies shipping multiple products on the same codebase.

Write to 408909810@qq.com with how many developers will use it, and you'll get terms back.

What it is not

It is not a hosted service. There is no dashboard you log into, no monthly bill, and no vendor holding your data — it is code you run yourself.

Next.js 15 · Postgres · Creem / Stripe · Resend


Questions

Before you buy

What exactly makes this different from other Next.js boilerplates?
Auth, payments and admin dashboards are table stakes — most starter kits have them. The difference is the publishing module: the code that formats a single piece of content for four different platforms, queues it, publishes it, and records where it landed. That is normally weeks of integration work against four unrelated APIs, and it is included here.
Do I need accounts on all four platforms?
No. Each channel is independent — connect the ones you actually use and leave the rest unconfigured. The module degrades gracefully when a channel's credentials are absent.
Which payment providers are supported?
Creem and Stripe. Both are wired with plan definitions, checkout creation and webhook handling, so subscription state stays in sync with your database.
Is this a subscription?
No. It is a one-time payment for the source code. There is no renewal, and the code keeps working whether or not you ever buy anything else.
What happens after I pay?
Checkout runs on Creem. Once payment completes you receive access to the source. If anything goes wrong with delivery, write to the address on the pricing section and it gets sorted.
Can I use it for client work?
The base license covers projects you build yourself. If you are an agency shipping on behalf of clients, or several developers will share the codebase, ask about team licensing first.

Stop rebuilding the same foundation

Auth, billing, admin and four publishing integrations — already connected, already tested against real APIs.

Get PubliFlow — $149