Favicon of Aptabase

Aptabase

Get real-time, anonymous insights for your apps. This open-source platform respects user privacy, ensures compliance, and offers lightweight SDKs for easy setup.

Gain valuable insights into your application's performance without navigating the complexities of user privacy regulations. This platform offers a simple, open-source alternative to traditional analytics tools, designed with a privacy-first approach from the ground up. It ensures all data collected is completely anonymous and untraceable, with no device identifiers, cookies, or fingerprinting. This commitment to privacy helps you maintain GDPR, CCPA, and PECR compliance effortlessly.

Developers can integrate the service in seconds using lightweight SDKs for a wide range of frameworks. You get 100% data ownership and can choose to store your data in EU or US data centers, or even self-host for complete control.

Key features include:

  • Real-Time Dashboards: See user interactions as they happen.
  • Event Tracking: Measure feature usage, button clicks, and more.
  • Open Source: Full transparency with code you can inspect yourself.
  • Multi-Platform Support: SDKs for mobile, desktop, and web applications.
  • Developer-Focused: Includes features like dark mode and a debug/release mode.

Directory Structure

aptabase
clickhouse-data
clickhouse-logs
postgres-data
.env
docker-compose.yml

docker-compose.yml

services:
  aptabase:
    image: aptabase/aptabase:latest
    container_name: aptabase
    restart: unless-stopped
    ports:
      - 3000:3000
    environment:
      DATABASE_URL: postgres://${POSTGRES_USER}:${POSTGRES_PASSWORD}@db:5432/${POSTGRES_DB}
      CLICKHOUSE_URL: http://clickhouse:8123
      AUTH_SECRET: ${AUTH_SECRET}
    depends_on:
      - db
      - clickhouse

  db:
    image: postgres:16-alpine
    container_name: aptabase-db
    restart: unless-stopped
    environment:
      POSTGRES_USER: ${POSTGRES_USER}
      POSTGRES_PASSWORD: ${POSTGRES_PASSWORD}
      POSTGRES_DB: ${POSTGRES_DB}
    volumes:
      - ./postgres-data:/var/lib/postgresql/data

  clickhouse:
    image: clickhouse/clickhouse-server:24.3-alpine
    container_name: aptabase-clickhouse
    restart: unless-stopped
    ulimits:
      nofile:
        soft: 262144
        hard: 262144
    volumes:
      - ./clickhouse-data:/var/lib/clickhouse
      - ./clickhouse-logs:/var/log/clickhouse-server

.env

AUTH_SECRET=generate_a_secure_random_string_here
POSTGRES_USER=aptabase
POSTGRES_PASSWORD=secure_postgres_password
POSTGRES_DB=aptabase
Categories:

Share:

Ad
Favicon

 

  
 

Similar to Aptabase

Favicon

 

  
  
Favicon

 

  
  
Favicon