Skip to content

About

No description, website, or topics provided.

Resources

Code of conduct

Contributing

Security policy

Stars

0 stars

Watchers

0 watching

Forks

Latest commit

 

History

140 Commits

Folders and files

Repository files navigation

OpenRC — open source mobile app for RevenueCat

OpenRC

Your RevenueCat revenue, beautifully, on every device.

An open-source dashboard for RevenueCat on iPhone, iPad, Android, Mac and the web.
Every sale as it happens, this month's revenue, your next payout, and the charts that matter.

CI License: MIT Flutter Platforms

Not the Linux init system of the same name, and not affiliated with RevenueCat, Inc.


Why OpenRC

RevenueCat's dashboard is built for analysis at a desk. OpenRC is built for the question you ask ten times a day: how are sales going? It signs in with your RevenueCat account and works out the answers on your device:

  • Every sale, as it happens. Today's transactions with app icons, products, countries and stores, a running total against yesterday, and a seven-day strip to step back through the week.
  • What each sale is. New subscriptions, renewals, trials, conversions, refunds and cancellations, counted and filterable, with each subscriber's tenure.
  • Revenue you'll actually receive. Optionally net of App Store and Google Play fees, with your own fee rates, in any of 100 display currencies.
  • When you'll get paid. Upcoming App Store and Google Play payouts, using Apple's fiscal calendar.
  • Where the money comes from. Breakdowns by store, new vs. renewals, top apps and top countries, for any day or the month so far.
  • The charts that matter. MRR, ARR, revenue, proceeds, subscriptions, trials, users, churn and more, over any date range.
  • At a glance. Home screen widgets on iOS and Android.
  • A ping for every sale. Optional push notifications for purchases, renewals, trials and refunds, from RevenueCat's own webhooks (iPhone, iPad, Android and the web).
  • Ask about the numbers. A fourth tab that answers RevenueCat questions with the same charts and cards as the rest of the app. You bring your own LLM key; it stays on the device.
  • Made for every screen. A floating tab bar on phones, a navigation rail on tablets, and a sidebar with side-by-side columns, keyboard shortcuts and a native menu bar on desktop.

Download

Platform
iPhone and iPad App Store: coming soon
Android Google Play: coming soon
Mac Mac App Store: coming soon
Web openrc-app.pages.dev

Or build it yourself in a few minutes.

Privacy and security

  • Your password goes straight to RevenueCat. OpenRC signs in through RevenueCat's own API, with two-factor codes supported. It never sees or stores your password; the session token stays in the device's secure storage (Keychain on Apple platforms).
  • No OpenRC server holds your data. Native apps talk to RevenueCat directly. Browsers can't, so the web app goes through a small stateless relay that streams requests through without storing or logging them. You can run your own. Ask on web uses the same relay for allowlisted LLM providers only.
  • Ask keys stay on the device. They leave only to the provider you chose (and on web, through the relay). Asking about revenue sends those tool results to that provider, never your RevenueCat session.
  • Notifications pass through; nothing is kept. If you turn them on, OpenRC adds a webhook for your device to the RevenueCat projects you pick (and removes it when you turn them off or log out). RevenueCat then sends each event to a small stateless notifier, which writes the notification and hands it to Firebase Cloud Messaging to deliver. It stores no events and keeps no list of devices. You can run your own.
  • Anonymous, optional usage stats. Official builds send crash reports and which screens are used to PostHog, never your account, apps or revenue, and you can turn it off in Settings. Builds from source send nothing unless you add your own PostHog key.

Found a vulnerability? Please report it privately; see SECURITY.md.

Build from source

You need Flutter 3.47 or later, plus Xcode for iOS and macOS or Android Studio for Android.

git clone https://github.com/stackwares/openrc.git
cd openrc
flutter pub get
flutter run

Pick a device with flutter devices. Sign in with your RevenueCat dashboard email and password.

Web

The web app needs the relay. Run it locally (details):

cd relay && npm install && cp .dev.vars.example .dev.vars && npm run dev

Then, from the project root:

flutter run -d chrome --dart-define=OPENRC_RELAY_URL=http://127.0.0.1:8787

Configuration

Everything is optional. Official builds set these in one gitignored define file per mode, passed with a single --dart-define-from-file: dart_defines/openrc.debug.json for development and dart_defines/openrc.release.json for published builds.

Define What it does
OPENRC_RELAY_URL Relay the web app uses. Defaults to the official one.
POSTHOG_PROJECT_TOKEN Enables anonymous crash reports and usage stats. Off when empty.
POSTHOG_HOST PostHog ingestion host. Defaults to https://us.i.posthog.com.
FIREBASE_* Firebase project for push notifications (Cloud Messaging only). Notifications are off when empty.
OPENRC_NOTIFIER_URL Notifier that turns RevenueCat webhooks into pushes. Defaults to the official one; must send through the same Firebase project.

dart_defines/openrc.debug.example.json and dart_defines/openrc.release.example.json show the file format. Shipping builds to testers and the web is covered in docs/RELEASING.md.

How it works

OpenRC uses the same developer API as RevenueCat's own dashboard. It pages through your transactions and recomputes what the dashboard doesn't show: day totals in your time zone, revenue after store fees, payout dates, currency conversion, subscriber tenure and per-type counts. Read docs/ARCHITECTURE.md for the tour.

lib/
  app/        app shell, navigation, menu bar
  features/   transactions, revenue, charts, settings, sign-in
  services/   RevenueCat API and auth, stores, telemetry
  models/     API models
  theme/      tokens, colors, typography
  widgets/    shared UI
relay/        Cloudflare Worker that lets the web app reach RevenueCat
notifier/     Cloudflare Worker that turns RevenueCat webhooks into pushes

Contributing

Bug reports, ideas and pull requests are welcome. Start with CONTRIBUTING.md, and please follow the code of conduct.

Acknowledgements

License

MIT. RevenueCat is a trademark of RevenueCat, Inc. OpenRC is an independent project and is not affiliated with or endorsed by RevenueCat.

About

No description, website, or topics provided.

Resources

Code of conduct

Contributing

Security policy

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages