mirror of
https://github.com/rybbit-io/rybbit.git
synced 2025-05-18 23:41:50 +02:00
* tomato * wip * Add timestamp * wip * woip * Update cleanup logic for multiSiteIps: change IP removal threshold from 1 hour to 24 hours and adjust site_id tracking limit from 3 to 1. * wip * Implement crawler detection in /track endpoint to log activity without blocking requests * tomato protection * fix typo * disable origin check * Update site_id tracking limit in multiSiteIps from 1 to 3 to allow more flexibility in request processing * log * Fix * log creds * fix * remove temp
51 lines
1.5 KiB
JSON
51 lines
1.5 KiB
JSON
{
|
|
"name": "analytics-backend",
|
|
"version": "1.0.0",
|
|
"description": "Self-hosted analytics backend using ClickHouse",
|
|
"main": "dist/index.js",
|
|
"type": "module",
|
|
"scripts": {
|
|
"dev": "tsc && node dist/index.js",
|
|
"build": "tsc",
|
|
"start": "node dist/index.js",
|
|
"db:generate": "drizzle-kit generate --config=drizzle.config.ts",
|
|
"db:migrate": "drizzle-kit migrate --config=drizzle.config.ts",
|
|
"db:push": "drizzle-kit push --config=drizzle.config.ts",
|
|
"db:pull": "drizzle-kit pull --config=drizzle.config.ts",
|
|
"db:drop": "drizzle-kit drop --config=drizzle.config.ts",
|
|
"db:check": "drizzle-kit check --config=drizzle.config.ts"
|
|
},
|
|
"dependencies": {
|
|
"@better-auth/stripe": "1.2.7",
|
|
"@clickhouse/client": "1.11.1",
|
|
"@fastify/cors": "11.0.1",
|
|
"@fastify/one-line-logger": "2.0.2",
|
|
"@fastify/rate-limit": "^10.2.2",
|
|
"@fastify/static": "8.1.1",
|
|
"@maxmind/geoip2-node": "6.1.0",
|
|
"better-auth": "1.2.7",
|
|
"dotenv": "16.5.0",
|
|
"drizzle-orm": "0.43.1",
|
|
"fastify": "5.3.3",
|
|
"fastify-better-auth": "1.0.4",
|
|
"luxon": "3.6.1",
|
|
"node-cron": "4.0.5",
|
|
"pg": "8.16.0",
|
|
"postgres": "3.4.5",
|
|
"sqlstring": "2.3.3",
|
|
"stripe": "18.1.0",
|
|
"ua-parser-js": "2.0.3",
|
|
"undici": "7.9.0",
|
|
"zod": "3.24.4"
|
|
},
|
|
"devDependencies": {
|
|
"@types/luxon": "3.6.2",
|
|
"@types/node": "20.14.8",
|
|
"@types/pg": "8.15.1",
|
|
"@types/sqlstring": "2.3.2",
|
|
"drizzle-kit": "0.31.1",
|
|
"ts-node-dev": "2.0.0",
|
|
"tsx": "4.19.4",
|
|
"typescript": "5.8.3"
|
|
}
|
|
}
|