Start Labs

Composable modules

35 open-source modules that snap together. Install what you need, skip what you don't. Every module works standalone or composed.

17 infrastructure · 10 domain · 6 AI · 2 UI
Infrastructure

@startlabs/core

Module loader, dependency injection container, config management, and shared utilities.

  • Dependency injection with type-safe container
  • Module registration via defineModule()
  • Configuration management with schema validation
View module →
Infrastructure

@startlabs/auth

Authentication and authorization with OAuth, MFA, RBAC, and organization management.

  • OAuth 2.0 with 20+ social providers
  • TOTP-based multi-factor authentication
  • Role-based access control (RBAC)
View module →
Infrastructure

@startlabs/payments

Stripe integration for checkout, subscriptions, usage billing, and customer portal.

  • One-time and recurring checkout
  • Subscription lifecycle management
  • Usage-based billing with metered pricing
View module →
Infrastructure

@startlabs/storage

File upload and delivery via Cloudflare R2 with signed URLs and CDN.

  • Multipart file uploads with progress
  • Pre-signed upload and download URLs
  • Content-type detection and validation
View module →
Infrastructure

@startlabs/notify

Multi-channel notifications via email, in-app feed, push, and SMS.

  • Email delivery via Resend with templates
  • In-app notification feed with read tracking
  • Push notifications via Expo (iOS + Android)
View module →
Infrastructure

@startlabs/queue

BullMQ managed workers with typed jobs, scheduling, and retry policies.

  • Typed job definitions with payload validation
  • Cron and interval scheduling
  • Configurable retry policies with backoff
View module →
Infrastructure

@startlabs/search

Full-text search via Postgres tsvector/tsquery with optional Meilisearch.

  • Postgres full-text search out of the box
  • Automatic index management and ranking
  • Faceted search with category filtering
View module →
Infrastructure

@startlabs/realtime

WebSocket and SSE via Redis pub/sub with channel-based messaging and presence.

  • WebSocket and Server-Sent Events support
  • Channel-based publish/subscribe
  • User presence tracking (online/away/offline)
View module →
Infrastructure

@startlabs/flags

Feature flags with percentage rollouts, user targeting, and A/B experiments.

  • Boolean and multivariate feature flags
  • Percentage-based gradual rollouts
  • User and segment targeting rules
View module →
Infrastructure

@startlabs/log

Append-only audit logging with structured entries and query/filter/export.

  • Structured audit trail for compliance
  • Query and filter by actor, action, resource
  • Tamper-evident append-only storage
View module →
Infrastructure

@startlabs/rate

Redis sliding-window rate limiter with API key generation and rotation.

  • Sliding-window rate limiting algorithm
  • Per-route and per-user rate limits
  • API key generation and validation
View module →
Infrastructure

@startlabs/media

Image resize/crop via sharp, video thumbnails, and CDN URL transforms.

  • Image resize, crop, and format conversion
  • Video thumbnail extraction via ffmpeg
  • CDN URL transforms for on-the-fly processing
View module →
Infrastructure

@startlabs/hooks

Webhook send/receive with HMAC-SHA256 signing, retries, and delivery logging.

  • HMAC-SHA256 request signing and verification
  • Automatic retries with exponential backoff
  • Delivery attempt logging and debugging
View module →
Infrastructure

@startlabs/onboard

Product tours, onboarding checklists, and step completion tracking.

  • Multi-step onboarding flow builder
  • Checklist with completion tracking
  • Tooltips and spotlight highlights
View module →
Infrastructure

@startlabs/config

Environment-aware configuration with schema validation and type safety.

  • Environment-specific configuration
  • Schema validation with Zod
  • Type-safe config access
View module →
Infrastructure

@startlabs/convert

File format conversion for images, documents, and audio.

  • Image format conversion (PNG, JPEG, WebP, AVIF)
  • Document conversion (PDF, DOCX, HTML)
  • Audio format conversion (MP3, WAV, OGG)
View module →
AI

@startlabs/ai

LLM gateway with model routing across OpenAI, Anthropic, Google, and OpenRouter.

  • Unified API across multiple LLM providers
  • Automatic model fallback and retry
  • Response caching for repeated queries
View module →
AI

@startlabs/vectors

Embeddings storage with pgvector, similarity search, and RAG pipeline.

  • pgvector storage with HNSW indexing
  • Multiple embedding model support
  • Similarity search with metadata filtering
View module →
AI

@startlabs/pdf

HTML-to-PDF generation via Playwright with templates and batch support.

  • HTML template-based PDF generation
  • Custom headers, footers, and page numbers
  • Batch PDF generation with queue
View module →
AI

@startlabs/ocr

Document text extraction from images and PDFs with structured output.

  • Text extraction from images and scanned PDFs
  • Structured data extraction (receipts, invoices)
  • ID document parsing (drivers license, passport)
View module →
AI

@startlabs/transcribe

Audio and video transcription with diarization and timestamp support.

  • Whisper-based transcription
  • Speaker diarization (who said what)
  • Word-level timestamps
View module →
Infrastructure

@startlabs/chat

Real-time messaging with conversations, read receipts, and AI chatbot integration.

  • Real-time message delivery via WebSocket
  • Conversation and thread management
  • Read receipts and typing indicators
View module →
Domain

@startlabs/marketplace

Two-sided marketplace with listings, orders, reviews, and seller profiles.

  • Listing creation with rich media
  • Order lifecycle (place, pay, ship, deliver)
  • Buyer and seller review system
View module →
Domain

@startlabs/booking

Calendar scheduling with services, availability, appointments, and conflict detection.

  • Service catalog with pricing
  • Availability calendar with time slots
  • Appointment booking with payment
View module →
Domain

@startlabs/content

Editorial CMS with post lifecycle, rich text, SEO, categories, and comments.

  • Post creation with rich text editor
  • Draft, review, publish lifecycle
  • SEO metadata and social cards
View module →
Domain

@startlabs/directory

Searchable listings with profiles, reviews, claims, and featured placements.

  • Business and profile listings
  • Search with location and category filters
  • Review and rating system
View module →
Domain

@startlabs/messaging

Direct messaging between users with real-time delivery and media support.

  • One-to-one and group conversations
  • Real-time message delivery
  • Media and file attachments
View module →
AI

@startlabs/ai-assistant

Conversational AI assistant with RAG, tool use, and streaming responses.

  • Conversational AI with context memory
  • RAG-powered knowledge retrieval
  • Tool use for external actions
View module →
Domain

@startlabs/social

Social networking with profiles, feeds, follows, posts, and reactions.

  • User profiles with bio and avatar
  • Follow/unfollow with feed generation
  • Post creation with media support
View module →
Domain

@startlabs/community

Community platform with groups, forums, events, and membership tiers.

  • Group creation and management
  • Forum discussions with threading
  • Event scheduling with RSVP
View module →
Domain

@startlabs/ecommerce

E-commerce with products, cart, checkout, inventory, and order management.

  • Product catalog with variants
  • Shopping cart with persistence
  • Stripe-powered checkout flow
View module →
Domain

@startlabs/learning

Online learning with courses, lessons, quizzes, certificates, and progress.

  • Course creation with lesson modules
  • Video and rich text lesson content
  • Quiz builder with auto-grading
View module →
Domain

@startlabs/board

Kanban-style project board for task management and team collaboration.

  • Kanban board with drag-and-drop
  • Custom columns and workflows
  • Task assignments and due dates
View module →
UI

@startlabs/ui

Design system with 25+ recipe components for web and React Native.

  • 25+ production-ready components
  • Shadcn/zinc dark theme with semantic tokens
  • React Native components for mobile
View module →
UI

@startlabs/shell-web

App shell with sidebar nav, header, color mode, and responsive layout.

  • Sidebar navigation with collapsible groups
  • Responsive header with breadcrumbs
  • Light and dark color mode
View module →

All modules are MIT-licensed and available on npm.

$ npm install @startlabs/auth @startlabs/payments

Describe it. Build it. Ship it.

World-class apps in seconds. Not hours. Not days. Seconds.

0/500

Free to try · No signup required · Open source