Favicon of Tianji

Tianji

Monitor website traffic, server health, and service uptime from one dashboard. This open-source, privacy-first platform requires no cookie banners.

Stop switching between different tools to understand your digital presence. This platform brings all your essential insights into a single, unified hub, designed specifically for developers and small teams. It's a powerful, open-source alternative that puts you in control.

Gain a complete picture with a suite of integrated features:

  • Website Analytics: Understand your visitors without compromising their privacy.
  • Uptime Monitoring: Get alerts the moment your services go down.
  • Server Status: Keep an eye on your infrastructure's health.
  • Status Pages: Communicate service status transparently with your users.
  • Surveys & Telemetry: Collect feedback and performance data directly.

This tool is built with a privacy-first approach, meaning it's fully GDPR & CCPA compliant and uses no cookie tracking. This simplifies your compliance and improves the user experience by eliminating the need for cookie banners. With a comprehensive OpenAPI and the ability to self-host using Docker, it offers the ultimate flexibility for your projects.

Directory Structure

tianji
postgres-data
.env
docker-compose.yml

docker-compose.yml

services:
  tianji:
    image: moonrailgun/tianji:latest
    container_name: tianji
    restart: unless-stopped
    ports:
      - "3000:3000"
    environment:
      - DATABASE_URL=postgresql://tianji:${DB_PASSWORD}@postgres:5432/tianji
      - JWT_SECRET=${JWT_SECRET}
      - ALLOW_REGISTER=true
    depends_on:
      - postgres

  postgres:
    image: postgres:15-alpine
    container_name: tianji_postgres
    restart: unless-stopped
    environment:
      - POSTGRES_USER=tianji
      - POSTGRES_PASSWORD=${DB_PASSWORD}
      - POSTGRES_DB=tianji
    volumes:
      - ./postgres-data:/var/lib/postgresql/data

.env

DB_PASSWORD=your_secure_database_password
JWT_SECRET=your_super_secret_jwt_string

Share:

Ad
Favicon

 

  
 

Similar to Tianji

Favicon

 

  
  
Favicon

 

  
  
Favicon