Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/aptabase/aptabase
/ functions
Functions
669 in github.com/aptabase/aptabase
⨍
Functions
669
◇
Types & classes
177
↓ 40 callers
Method
Add
(ref TrackingEvent @event)
src/Features/Ingestion/Buffer/InMemoryEventBuffer.cs:5
↓ 21 callers
Method
ExecuteAsync
(CancellationToken cancellationToken)
src/Features/Billing/TrialExpiredCronJob.cs:16
↓ 20 callers
Method
GetCurrentUserIdentity
(this Controller controller)
src/Features/Authentication/AuthExtensions.cs:12
↓ 20 callers
Function
useApps
()
src/webapp/features/apps/AppsProvider.tsx:83
↓ 15 callers
Method
CreateClient
()
tests/IntegrationTests/IntegrationTestsFixture.cs:18
↓ 15 callers
Function
get
(path: string, params?: Record<string, any>)
src/webapp/fns/api.ts:46
↓ 13 callers
Method
Parse
()
src/Features/Stats/StatsController.cs:180
↓ 13 callers
Function
formatNumber
(value: number | undefined, format?: "number" | "duration")
src/webapp/fns/format-number.ts:25
↓ 12 callers
Method
CreateApp
(string name)
tests/IntegrationTests/Clients/AccountClient.cs:27
↓ 12 callers
Method
TrackEvent
(DateTime timestamp, string eventName, object? props)
tests/IntegrationTests/Clients/IngestionClient.cs:39
↓ 11 callers
Method
WithNanoIdColumn
(this ICreateTableWithColumnSyntax tableWithColumnSyntax, string name)
src/Data/Migrations/MigrationExtensions.cs:8
↓ 10 callers
Function
useCurrentApp
()
src/webapp/features/apps/AppsProvider.tsx:92
↓ 8 callers
Method
FindByAppKey
(string appKey, CancellationToken cancellationToken)
src/Features/Ingestion/IngestionCache.cs:44
↓ 8 callers
Function
formatDate
(value: Date | string | undefined)
src/webapp/fns/format-date.ts:5
↓ 7 callers
Method
FlushEvents
()
src/Features/Ingestion/Buffer/EventBackgroundWritter.cs:49
↓ 7 callers
Method
ResolveClientIpAddress
(this HttpContext httpContext)
src/Extensions/HttpExtensions.cs:5
↓ 7 callers
Method
WithTimestamps
(this ICreateTableWithColumnSyntax tableWithColumnSyntax)
src/Data/Migrations/MigrationExtensions.cs:16
↓ 6 callers
Method
CountEvents
(string appId, string period)
tests/IntegrationTests/Clients/AccountClient.cs:42
↓ 6 callers
Function
formatTime
(value: Date | string | undefined)
src/webapp/fns/format-date.ts:11
↓ 6 callers
Function
toggleMinimize
(widgetId: string)
src/webapp/features/analytics/DashboardPage.tsx:64
↓ 5 callers
Method
GetActiveAppByAppKey
(string appKey, CancellationToken cancellationToken)
src/Features/Apps/AppQueries.cs:33
↓ 5 callers
Method
New
(string preffix)
src/Data/NanoId.cs:10
↓ 5 callers
Method
Set
(string key, string value, TimeSpan ttl)
src/Features/Cache/CacheService.cs:9
↓ 5 callers
Function
_fetch
(method: string, path: string, body?: any)
src/webapp/fns/api.ts:36
↓ 5 callers
Function
formatPeriod
(granularity: "hour" | "day" | "month", period: string)
src/webapp/fns/format-date.ts:19
↓ 5 callers
Function
handleError
(status: number, response: Response)
src/webapp/fns/api.ts:3
↓ 5 callers
Function
useChartColors
()
src/webapp/features/theme/useChartColors.ts:49
↓ 4 callers
Method
Create
([FromBody] CreateAppRequestBody body)
src/Features/Apps/AppsController.cs:104
↓ 4 callers
Method
PostAsync
(string path, IEnumerable<EventRow> rows, CancellationToken ct = default)
src/Features/Ingestion/Buffer/TinybirdIngestionClient.cs:42
↓ 4 callers
Method
SendEmailAsync
(string to, string subject, string templateName, Dictionary<string, string>? properties, CancellationToken can
src/Features/Notification/IEmailClient.cs:5
↓ 4 callers
Method
Write
(Utf8JsonWriter writer, DateTime value, JsonSerializerOptions options)
src/Features/Stats/TinybirdDateTimeJsonConverter.cs:27
↓ 4 callers
Function
atomWithSearchParam
(eventName: string)
src/webapp/atoms/location-atoms.ts:6
↓ 4 callers
Function
updateFilters
(newFilters: Partial<TopFilterValue>)
src/webapp/features/analytics/sessions/UsersSessionsFilters.tsx:33
↓ 3 callers
Method
AddRange
(ref TrackingEvent[] events)
src/Features/Ingestion/Buffer/InMemoryEventBuffer.cs:6
↓ 3 callers
Method
CreateClient
()
src/Features/Notification/SESEmailClient.cs:26
↓ 3 callers
Method
EnsureSuccessWithLog
(this HttpResponseMessage response, ILogger logger)
src/Extensions/HttpExtensions.cs:27
↓ 3 callers
Method
MaskAsOnboarded
(string appId, CancellationToken cancellationToken)
src/Features/Apps/AppQueries.cs:50
↓ 3 callers
Method
Render
(string name, string subject, Dictionary<string, string>? properties)
src/Features/Notification/TemplateEngine.cs:12
↓ 3 callers
Method
SetSessionId
(string? value)
tests/IntegrationTests/Clients/IngestionClient.cs:34
↓ 3 callers
Method
SplitProps
()
src/Features/Ingestion/EventBody.cs:57
↓ 3 callers
Method
StreamResponseAsync
(string query, CancellationToken cancellationToken)
src/Features/Stats/IQueryClient.cs:7
↓ 3 callers
Method
TrackEvents
(IEnumerable<(DateTime, string, object?)> events)
tests/IntegrationTests/Clients/IngestionClient.cs:49
↓ 3 callers
Function
atomWithLocalAndUrlPersistence
(key: string, initialValue: T)
src/webapp/atoms/date-atoms.ts:78
↓ 3 callers
Function
createApp
(name: string)
src/webapp/features/apps/apps.ts:22
↓ 3 callers
Function
periodicStats
(params: QueryParams)
src/webapp/features/analytics/query.ts:85
↓ 3 callers
Function
useBilling
()
src/webapp/features/billing/useBilling.tsx:27
↓ 3 callers
Function
useTheme
()
src/webapp/features/theme/ThemeProvider.tsx:40
↓ 2 callers
Method
ComputeHash
(Span<byte> salt, byte[] bytes)
src/Features/Privacy/DailyUserHasher.cs:44
↓ 2 callers
Method
CreateAccount
(string name, string email)
tests/IntegrationTests/Clients/AccountClient.cs:17
↓ 2 callers
Method
CreateAuthToken
(AuthTokenType type, string name, string email)
src/Features/Authentication/AuthTokenManager.cs:38
↓ 2 callers
Method
ExecuteAsync
(CancellationToken cancellationToken)
src/Features/Privacy/PurgeDailySaltsCronJob.cs:16
↓ 2 callers
Method
Exists
(string key)
src/Features/Cache/CacheService.cs:10
↓ 2 callers
Method
FindOrCreateAccountWithOAuthAsync
(string name, string email, string providerName, string providerUid, CancellationToken cancellationToken)
src/Features/Authentication/AuthService.cs:182
↓ 2 callers
Method
FindUserByIdAsync
(string id, CancellationToken cancellationToken)
src/Features/Authentication/AuthService.cs:170
↓ 2 callers
Method
GetByVariantId
(long variantId)
src/Features/Billing/Subscription.cs:53
↓ 2 callers
Method
GetClientLocation
(HttpContext httpContext)
src/Features/GeoIP/IGeoIPClient.cs:28
↓ 2 callers
Method
GetKeyMetrics
(string appId, string period)
tests/IntegrationTests/Clients/AccountClient.cs:37
↓ 2 callers
Method
GetOwnedAppAsync
(string appId, string userId)
src/Features/Apps/AppQueries.cs:60
↓ 2 callers
Method
GetOwnedAppIds
(UserIdentity user)
src/Features/Billing/BillingQueries.cs:48
↓ 2 callers
Method
GetUserSubscription
(UserIdentity user)
src/Features/Billing/BillingQueries.cs:32
↓ 2 callers
Method
IsAuthenticated
(this HttpContext context)
src/Features/Authentication/AuthExtensions.cs:7
↓ 2 callers
Method
IsValid
(ILogger logger)
src/Features/Ingestion/EventBody.cs:92
↓ 2 callers
Method
MigrateUp
()
src/Data/ClickHouseMigrationRunner.cs:25
↓ 2 callers
Method
NewSessionId
()
tests/IntegrationTests/Clients/IngestionClient.cs:27
↓ 2 callers
Method
ParseBrowser
(string userAgent)
src/Features/Ingestion/UserAgentParser.cs:53
↓ 2 callers
Method
TakeAll
()
src/Features/Ingestion/Buffer/InMemoryEventBuffer.cs:8
↓ 2 callers
Function
deleteApp
(appId: string)
src/webapp/features/apps/apps.ts:33
↓ 2 callers
Function
download
(fullMonth?: Props["months"][number], startDate?: Date, endDate?: Date)
src/webapp/features/export/YearlyGrid.tsx:24
↓ 2 callers
Function
handleSelect
(value: string)
src/webapp/features/analytics/sessions/filters/FilterDropdownFancy.tsx:34
↓ 2 callers
Function
keyMetrics
(params: QueryParams)
src/webapp/features/analytics/query.ts:72
↓ 2 callers
Function
refetchApps
()
src/webapp/features/apps/AppsProvider.tsx:54
↓ 2 callers
Function
updateApp
(appId: string, name: string, icon: string)
src/webapp/features/apps/apps.ts:29
↓ 2 callers
Function
updateTheme
(theme: Theme)
src/webapp/features/theme/ThemeProvider.tsx:5
↓ 2 callers
Function
useAuth
()
src/webapp/features/auth/AuthProvider.tsx:32
↓ 2 callers
Function
useAuthState
()
src/webapp/features/auth/AuthProvider.tsx:28
↓ 2 callers
Function
useDelay
(delayMs: number)
src/webapp/hooks/use-delay.ts:3
↓ 2 callers
Function
useLocalStorage
(key: string, initialValue: T)
src/webapp/hooks/use-localstorage.ts:3
↓ 2 callers
Function
useSupport
()
src/webapp/features/support/useSupport.tsx:7
↓ 1 callers
Method
AddDefaultHealthChecks
(this IHostApplicationBuilder builder)
src/Extensions/TelemetryExtensions.cs:81
↓ 1 callers
Method
AddEmailClient
(this IServiceCollection services, EnvSettings env)
src/Features/Notification/NotificationExtensions.cs:5
↓ 1 callers
Method
AddGeoIPClient
(this IServiceCollection services, EnvSettings env)
src/Features/GeoIP/GeoIPExtensions.cs:5
↓ 1 callers
Method
AddGitHub
(this AuthenticationBuilder builder, EnvSettings env)
src/Features/Authentication/OAuthExtensions.cs:46
↓ 1 callers
Method
AddGoogle
(this AuthenticationBuilder builder, EnvSettings env)
src/Features/Authentication/OAuthExtensions.cs:117
↓ 1 callers
Method
AddLemonSqueezy
(this IServiceCollection services, EnvSettings env)
src/Features/Billing/LemonSqueezy/LemonSqueezyExtensions.cs:7
↓ 1 callers
Method
AddOpenTelemetryExporters
(this IHostApplicationBuilder builder)
src/Extensions/TelemetryExtensions.cs:62
↓ 1 callers
Method
AddServiceDefaults
(this IHostApplicationBuilder builder)
src/Extensions/TelemetryExtensions.cs:14
↓ 1 callers
Method
BulkSendEventAsync
(IEnumerable<EventRow> rows, CancellationToken ct = default)
src/Features/Ingestion/Buffer/IIngestionClient.cs:6
↓ 1 callers
Method
CalculateHash
(DateTime timestamp, string appId, string sessionId, string clientIP, string userAgent)
src/Features/Privacy/DailyUserHasher.cs:12
↓ 1 callers
Method
CloneToPreviousInterval
()
src/Features/Stats/StatsController.cs:135
↓ 1 callers
Method
ConfigureOpenTelemetry
(this IHostApplicationBuilder builder)
src/Extensions/TelemetryExtensions.cs:34
↓ 1 callers
Method
CreateAccountAsync
(string name, string email, CancellationToken cancellationToken)
src/Features/Authentication/AuthService.cs:86
↓ 1 callers
Method
CreateCheckout
(UserIdentity user, CancellationToken cancellationToken)
src/Features/Billing/LemonSqueezy/LemonSqueezyClient.cs:26
↓ 1 callers
Method
DeleteUserByIdAsync
(string id, CancellationToken cancellationToken)
src/Features/Authentication/AuthService.cs:138
↓ 1 callers
Method
DownloadAsync
(string path, CancellationToken cancellationToken)
src/Features/Blob/IBlobService.cs:13
↓ 1 callers
Method
ExecuteAsync
(CancellationToken stoppingToken)
src/Features/Ingestion/Buffer/EventBackgroundWritter.cs:24
↓ 1 callers
Method
FindUserByEmailAsync
(string email, CancellationToken cancellationToken)
src/Features/Authentication/AuthService.cs:176
↓ 1 callers
Method
FormatLocale
Validates and formats a locale string Return a lowercase locale string Return empty string for empty or the special 'C' locale Returns null for invali
src/Features/Ingestion/LocaleFormatter.cs:18
↓ 1 callers
Method
GetAppInfo
()
tools/DemoDataGenerator/DemoDataSource.cs:204
↓ 1 callers
Method
GetBillingPortalUrl
(long subscriptionId, CancellationToken cancellationToken)
src/Features/Billing/LemonSqueezy/LemonSqueezyClient.cs:71
↓ 1 callers
Method
GetBillingUsageByApp
(int year, int month)
src/Features/Billing/BillingQueries.cs:55
next →
1–100 of 669, ranked by callers