msgbyte/tianji
소개
Tianji: 모든 것을 파악하세요. 웹사이트 분석 + 가동 시간 모니터링 + 서버 상태 모니터링을 제공합니다. 또 하나의 GA 대안에 그치지 않습니다.
데이터 및 분석측정된 스타 증가
- in 24h
- +1
- in 7 days
- +5
- in 15 days
- +9
- in 1 month
- +13
서로 겹치는 기간의 순증가량이며 일별 합계가 아닙니다. 측정값이 없으면 비워 둡니다. 스타는 관심도를 나타내며 품질을 보장하지 않습니다.
README.md
OriginalTianji
All-in-One Insight Hub
Website analytics + Uptime Monitor + Server Status = Tianji
All in one project!
Motivation
During our observations of the website. We often need to use multiple applications together. For example, we need analysis tools such as GA/umami to check pv/uv and the number of visits to each page, we need an uptime monitor to check the network quality and connectivity of the server, and we need to use prometheus to obtain the status reported by the server to check the quality of the server. In addition, if we develop an application that allows open source deployment, we often need a telemetry system to help us collect the simplest information about other people's deployment situations.
I think these tools should serve the same purpose, so is there an application that can integrate these common needs in a lightweight way? After all, most of the time we don't need very professional and in-depth functions. But in order to achieve comprehensive monitoring, I need to install so many services.
It's good to specialize in one thing, if we are experts in related abilities we need such specialized tools. But for most users who only have lightweight needs, an All-in-One application will be more convenient and easier to use.
Roadmap
- website analysis
- monitor
- support passive reception of results
- server status
- problem notification
- telemetry
- openapi
- website
- team collaboration
- utm track
- waitlist
- survey
- survey page
- lighthouse report
- hooks
- helm install support
- allow install from public
- improve monitor reporter usage
- uninstall guide
- download from server
- custom params guide
Preview






Setup
Docker Compose
Run the included Compose stack from the repository root:
docker compose up -d
This starts both the tianji application and its postgres database. The application is available at http://localhost:12345 by default.
Environment
For local source development, create the server environment file before starting the dev server:
cp .env.example src/server/.env
At minimum, configure DATABASE_URL with the PostgreSQL connection string used by the server, for example:
DATABASE_URL="postgresql://tianji:tianji@localhost:5432/tianji?schema=public"
OPENAPI_KEY is only needed for the translation auto-generation command below.
Development testing CLI
Create historical fixtures or continuously simulate server heartbeats and application/website events with the dedicated repository testing CLI:
pnpm test:cli --help
pnpm test:cli seed all --workspace-id <workspace-id> --count 200 --days 30 --dry-run
pnpm test:cli server --url http://localhost:12345 --workspace-id <workspace-id>
pnpm test:cli application --url http://localhost:12345 --application-id <application-id>
Remove --dry-run to create new Demo resources. Live simulations run until Ctrl+C
or a configured --duration. The pnpm seed alias remains available. See the
testing CLI guide for website events, intervals,
online/offline testing, and verification boundaries.
Translation
Add a new translation
modify those file:
src/client/i18next-toolkit.config.cjsin this file, edit country codesrc/client/utils/i18n.tsin this file, add for display
Then, run below code to auto generate
cd src/client
pnpm install
pnpm run translation:extract
pnpm run translation:translate # this will call chatgpt to run auto translation, so you need set env `OPENAPI_KEY` to make sure run correct
Then manual check translation file in src/client/public/locales
Improve translation
Direct update src/client/public/locales
Open Source
Tianji is open source with Apache 2.0 license.
And its inspired by umami license which under MIT and uptime-kuma which under MIT license too
One-Click Deployment
관련 프로젝트 살펴보기
불러오는 중…