PageKit - Self-hosted page builder for Next.js. Full source, one-time.

by
A production Next.js 15 + TypeScript app wrapped around the open-source GrapesJS editor: auth, multi-tenant projects, publishing with custom domains and on-demand TLS, lead capture, checkout, and a plugin loader. Sold as source. Self-hosted. Yours to modify.

Add a comment

Replies

Best
Maker
📌
Hey Product Hunt 👋 Four things break a GrapesJS integration. If you've built one, you've met at least one: 1. `getProjectData()` restores an editing session. `getHtml()`/`getCss()` is what you publish. Store the wrong one and you either ship editor scaffolding to visitors or hand users a page they can no longer edit. 2. The canvas is an iframe. Fonts and CSS added to the host page do nothing — you debug that in the wrong file for an afternoon. 3. Component `script` is a serialized string. It can't close over surrounding scope, so a script referencing an imported symbol type-checks cleanly and throws at runtime. 4. Custom types must be registered *before* content loads. Otherwise components silently degrade to plain elements and lose their behaviour permanently. Nothing errors. The page just gets worse each time it opens. PageKit is the answer to all four, plus the tenancy layer most integrations stop short of: workspaces, projects, wildcard subdomains, custom domains with on-demand TLS, leads, checkout, a plugin loader with semver checks. Next.js 15, TypeScript strict, Postgres 16. Sold as source under a one-time licence — you self-host, I host nothing. OSS GrapesJS core only, never the Studio SDK (its per-domain licence can't be redistributed to you). State, plainly: v0.1.0. i18n and AI copy generation aren't written yet. Everything else ships with 12 Playwright specs and 10 unit suites. Ask me anything about the internals.