MCPcopy Index your code
hub / github.com/aptabase/aptabase

github.com/aptabase/aptabase @main

Chat with this repo
repository ↗ · DeepWiki ↗ · + Follow
846 symbols 1,821 edges 287 files 4 documented · 0%
What it actually does AI analysis from the code graph — generated when you open this
loading…
README

Aptabase

Aptabase

Analytics for Apps.



Open Source. Privacy-First. Simple.






<a href="https://aptabase.com"><strong>Learn more »</strong></a>

About the Project

Aptabase is an open-source alternative to Firebase/Google Analytics, specifically built for Mobile, Desktop and Web apps.

📱 Extensive list of SDK: No matter what framework or language you use, we have an SDK for you. Swift, React Native, Flutter, Electron, Kotlin, and many others.

😇 Privacy-First: We prioritize user privacy and collect minimal usage data without using unique identifiers. Instead, we focus on monitoring sessions, complying fully with GDPR, CCPA, and PECR regulations.

🚀 Simple: Built-in and user-friendly dashboard for all your essential metrics, enabling you to gain insights effortlessly and grasp the dynamics of your apps.

💯 Open-Source: Our source code is 100% open source. There is nothing hidden. All the server code and SDKs are available for you to inspect and contribute to.

[!TIP] Like what you see? Don't forget to give us a ⭐️ on GitHub!

How to get started?

☁️ Managed Cloud

The easiest and quickest way to get started. A fully managed service by the creators of Aptabase to help you get started in minutes. Forget about managing software updates and patches; we do it all for you!

Try free now →

🏢 Self-Hosted

You can also host Aptabase on your servers. It's free, but you are responsible for maintenance and updates.

Learn how →.

🛠️ Contributing

We welcome contributions from everyone! If you want to contribute to Aptabase, please read the guide below to get started.

Contributing →.

SDKs

We provide SDKs for the most popular frameworks and languages to make it easier to integrate them into your app.

🛠️ Don't see the SDK for your platform? You can build your own! Check out our guide on how to build your own SDK.

Need help?

Credits

Aptabase is highly inspired by Plausible. If you're looking for privacy-friendly website analytics, go check them out. They're awesome! ❤️

License

Aptabase is open-source under the AGPLv3 license. You can use it for free, but you must share any changes you make to the code.

The SDKs are open-source under the MIT license. Use it on your apps without any restrictions.

Extension points exported contracts — how you extend this code

IAuthService (Interface)
(no doc)
src/Features/Authentication/AuthService.cs
IDbContext (Interface)
(no doc)
src/Data/DbContext.cs
CrispClient (Interface)
(no doc)
src/webapp/window.d.ts
IAuthTokenManager (Interface)
(no doc)
src/Features/Authentication/AuthTokenManager.cs
IClickHouseMigrationRunner (Interface)
(no doc)
src/Data/ClickHouseMigrationRunner.cs
Window (Interface)
(no doc)
src/webapp/window.d.ts
IBlobService (Interface)
(no doc)
src/Features/Blob/IBlobService.cs
ButtonProps (Interface)
(no doc)
src/webapp/components/Button.tsx

Core symbols most depended-on inside this repo

Add
called by 40
src/Features/Ingestion/Buffer/InMemoryEventBuffer.cs
ExecuteAsync
called by 21
src/Features/Billing/TrialExpiredCronJob.cs
GetCurrentUserIdentity
called by 20
src/Features/Authentication/AuthExtensions.cs
useApps
called by 20
src/webapp/features/apps/AppsProvider.tsx
get
called by 15
src/webapp/fns/api.ts
Parse
called by 13
src/Features/Stats/StatsController.cs
formatNumber
called by 13
src/webapp/fns/format-number.ts
TrackEvent
called by 12
tests/IntegrationTests/Clients/IngestionClient.cs

Shape

Method 375
Function 294
Class 151
Interface 21
Enum 5

Languages

C#64%
TypeScript36%

Modules by API surface

src/Features/Stats/StatsController.cs35 symbols
src/Features/Authentication/AuthService.cs26 symbols
src/Features/Apps/AppsController.cs25 symbols
src/Features/Billing/BillingQueries.cs21 symbols
tests/IntegrationTests/IngestionTests.cs14 symbols
src/webapp/features/analytics/query.ts14 symbols
src/Features/Authentication/AuthController.cs12 symbols
src/Features/Apps/AppQueries.cs10 symbols
tools/DemoDataGenerator/DemoDataSource.cs9 symbols
src/Features/FeatureFlags/FeatureFlagsController.cs9 symbols
src/Features/Cache/CacheService.cs9 symbols
src/Features/Authentication/AuthTokenManager.cs9 symbols

For agents

$ claude mcp add aptabase \
  -- python -m otcore.mcp_server <graph>

⬇ download graph artifact