Infrastructure for user-powered products.
Every user-powered product runs into the same engineering problems — content modeling, threaded discussions, permission graphs, ranking pipelines, search indexing, notification fan-out, social graphs, and moderation queues. We've solved them all. Use what your product needs and build on top.
300+ projects already building with Sublay
// Pre-modeled bundles. Install the ones you need.
//Content model
Every piece of content is an entity.
An entity is Sublay's model for content — a post, article, product, video, or listing. Every bundle you install — comments, reactions, files, search — wires up to your entities automatically.
Starting fresh?
Define your content as entities from the start. Every bundle you install attaches to them immediately — no extra modeling required.
Already have content?
Link your existing records with a foreign ID. Sublay maps to your data without migrations or schema changes.
Entity
00/The real cost
Every user-powered product ends up building the same things.
Weeks of undifferentiated infrastructure before you ship the thing that's actually yours.
Modeling complexity
Hierarchical comments, file storage, search indexes, notification triggers — the data model alone is weeks of work. And getting it wrong means painful migrations later.
Multiplying surface area
Every feature you add touches four others. Add comments → need notifications. Add spaces → need permissions. The scope never stops growing.
It's not your core product
You're building a learning platform. A marketplace. A SaaS tool. The infrastructure underneath isn't your differentiator — it's the table stakes you have to clear before you can build what matters.
FIG.01—Dependency graph
Add one feature, and you need everything else.
Comments need users. Reactions need notifications. Spaces need moderation, scopes and permissions. Add one bundle and the dependency chain lights up — and wiring that web is the work you'd otherwise own yourself.
//Everything you need
Bundles you install, not features you build.
Each one is a complete pre-modeled pattern — data model, APIs, and SDK hooks. Deploy in a click.
Hierarchical comment threads on any entity. Nested replies, mentions, moderation, reactions — every comment deep-linkable.
Eight reaction types with per-type counts and scoring on any entity or comment. Optimistic updates built in.
Nested workspaces or groupings up to 10 levels deep. Per-space roles, membership approvals, and moderation queues.
14+ event types: replies, mentions, reactions, milestones. Templatable messages. Unread counts. Pagination.
Rich filtering by keyword, metadata, location, and signals. Sort by hot, top, or new. Personalized feeds per user.
1:1 and group conversations on any entity. Reactions, typing indicators, unread counts, and read receipts.
One-way subscriptions or mutual connections with request/accept flows. Counts, lists, and both graph types.
Vector search across entities, comments, users, and spaces. AI answer endpoint built in.
Online, physical, or hybrid events with RSVP tracking and capacity limits. Hosts, invites, and public/members/invite-only visibility enforced server-side.
//Core infrastructure
Bundles are the convenience layer. The infrastructure is real.
Everything above runs on a complete backend — database, storage, auth, and push. None of it requires you to use the bundles.
Relational Database
A real Postgres schema, fully yours. Bundles store their data here — and so can you: define custom tables and columns for anything no bundle covers, with full CRUD from the same SDK and a dashboard data editor.
File Storage
Hosted upload and CDN delivery with automatic resizing. Used natively by entities, comments, and events — and available to your own content.
Authentication
Built-in auth with email, OAuth, and JWT sessions. Or bring your own — sign your own JWT and Sublay accepts it. Either way, every API call is scoped to a verified user.
Push Notifications
BetaAPNs, FCM, and Web Push in one call. Send from your backend via the Node SDK with per-device delivery results.
Built for developers who move fast.
SDKs for every platform. Open source. TypeScript-first.
What you get
- @sublay/react-js—React 18/19 web
- @sublay/react-native—React Native
- @sublay/expo—Expo with secure storage
- @sublay/node—Server-side Node.js
- @sublay/js—Framework-agnostic JavaScript
- TypeScript-first—across all packages
- Open source—on GitHub
Components that are yours to own.
Install fully-customizable UI components directly into your project as editable source code — no black box.
Drop production-ready React and React Native components into your project as editable source code. Built on shadcn/ui principles — ship in minutes, customize everything, own every line.
- No black-box npm dependency — it's your code
- Tailwind CSS + shadcn/ui based
- Works with React and React Native
- Available: comments-threaded, comments-social, notifications-control
This is exactly what I was looking for — dropped it in under 10 minutes and it just worked.
Same — the Tailwind classes are totally clean to override too.
Works great with dark mode too. No extra config needed.
Really appreciate that it's editable source — not locked behind an npm version.
//Use cases
What are you building?
Pre-modeled infrastructure for anything where users do the work.
Community Platforms
Forums, Q&A sites, interest groups. Spaces give you sub-communities with independent permissions. Comments, reactions, and follows are pre-modeled.
Marketplaces & Reviews
Product reviews, seller ratings, buyer feedback. Comments, reactions, reputation, notifications, search — pre-modeled and ready.
Creator & Content Platforms
Blogs, video platforms, newsletters. Comments tied to any content, follows for creator–audience subscriptions, feeds, notifications, and search.
//How it works
Create a project
Sign up, get your API keys. Under 5 minutes.
Install your bundles
Pick what you need. One SDK calls them all.
Ship features
First feature live in under an hour.
Open SDKs. Open components.
Client SDKs, React/React Native components, and the CLI are fully open source under MIT. Inspect, fork, and contribute.
Simple, transparent pricing.
Start free and scale as you grow. Every plan includes the full user interaction infrastructure — comments, reactions, feeds, notifications, and more. No hidden fees.
Free $0 Per month | Hobby $15 Per month | Pro $25 Per month | Growth $75 Per month | |
|---|---|---|---|---|
| Dashboard Seats | 1 | 1 | 2 | 5 |
| Monthly Active Users (MAU) | 500 | 5k | 25k | 100k |
| Records stored (entities, comments, notifications, lists) | 50k | 500k | 5M | 25M |
| API Calls | 250k/month | 2M/month | 10M/month | 40M/month |
| Egress (Data Transfer Out) | 1GB | 20GB | 80GB | 320GB |
| Storage | DB 1GB + Files 1GB | DB 3GB + Files 5GB | DB 10GB + Files 25GB | DB 30GB + Files 100GB |
| Back-office & Moderation Dashboard | ||||
| Advanced Content Settings | — | |||
| Space Digests | — | — | ||
| AI-Powered Search | — | Unlimited | Unlimited | Unlimited |
| Real-Time Chat | — | Unlimited | Unlimited | Unlimited |
| Get Started → | Get Started → | Get Started → | Get Started → |
$0
/month$15
/month$25
/month$75
/monthDashboard Seats
Monthly Active Users (MAU)
Records stored (entities, comments, notifications, lists)
API Calls
Egress (Data Transfer Out)
Storage
Back-office & Moderation Dashboard
Advanced Content Settings
Space Digests
AI-Powered Search
Real-Time Chat
Building at scale?
For high-volume applications, enterprise deployments, or teams with specific compliance or SLA requirements — we'll put together a plan that fits. Let's talk.
Frequently Asked Questions
Start building today.
Free to get started. No credit card required.
Join 300+ projects already building with Sublay.