Logo
Deploy Now

Stars

1,220

Forks

70

Watchers

15

Developer links

Meteroid

Meteroid delivers the billing infrastructure that SaaS companies need when Stripe Billing gets too rigid and building in-house gets too expensive. The Rust backend ingests usage events via REST API or Kafka with deduplication by event ID and customer ID, storing time-series data in ClickHouse for sub-second aggregation queries across billions of events. Billable metrics transform raw events — API calls, compute time, tokens, storage, transactions — into accurate charges using configurable aggregation functions, dimensions, and filters without pre-aggregation. The plan builder supports any pricing structure: flat rate, per-unit, tiered graduated, tiered volume, package, and hybrid combinations with multiple price components per plan. Versioned plans enable pricing changes without affecting existing subscribers through grandfathering, while experiments let you A/B test pricing with controlled rollouts. Subscription management handles the full lifecycle — creation, upgrades, downgrades, mid-cycle proration, scheduled changes, and cancellation with configurable grace periods. The TypeScript frontend provides a complete web dashboard for managing customers, plans, subscriptions, invoices, and revenue analytics with MRR tracking, churn analysis, and cohort insights. Automated invoice generation handles complex scenarios including usage-based line items, credits, discounts, and tax calculations with PDF rendering. Stripe Connect integration enables payment collection directly through the platform. Running on a dedicated VPS on RepoCloud with guaranteed CPU, RAM, and SSD, full root SSH access, and a browser serial console. AGPL-3.0 licensed.

Meteroid
Meteroid
Meteroid
Meteroid

Benefits

  • Rust-Powered High-Throughput Metering
  • Ingest millions of usage events per second via REST or Kafka with automatic deduplication. ClickHouse stores and aggregates time-series data with sub-second query performance across billions of events.
  • Any Pricing Model Zero Engineering
  • Flat rate, per-unit, tiered, volume, package, and hybrid structures configured through the UI. Versioned plans with grandfathering prevent billing surprises for existing customers.
  • Complete Subscription Lifecycle
  • Create, upgrade, downgrade, and cancel subscriptions with mid-cycle proration, scheduled changes, grace periods, and automated renewal handling through API or dashboard.
  • Revenue Intelligence Built In
  • MRR tracking, churn analysis, revenue recognition, cohort insights, and experiment results displayed in real-time dashboards without requiring external analytics tools or data exports.

Features

  • Usage Event Ingestion
  • REST API and Kafka-based event streaming with per-event deduplication, partial failure handling, backfilling support, and real-time ClickHouse storage.
  • Billable Metric Builder
  • Transform raw events into charges using configurable aggregation functions, dimensional grouping, filters, and time windows without pre-computation pipelines.
  • Automated Invoice Generation
  • Complex invoices with usage-based line items, credits, discounts, tax calculations, and PDF rendering generated automatically on billing cycle boundaries.
  • Plan Versioning and Experiments
  • Version pricing plans independently of subscribers, A/B test price points with controlled rollouts, and grandfather existing customers on legacy rates.
  • Stripe Connect Integration
  • Collect payments through Stripe with automatic reconciliation, failed payment retry logic, and customer payment method management via the billing dashboard.