Note
本文档由 WeHub 基于上游 README 翻译整理,属于社区翻译,非官方中文文档。
English · 原始项目 · 上游 README
原作者、版权与许可证归属以原始项目及本仓库 LICENSE 文件为准。
All-in-One Insight Hub
Website analytics + Uptime Monitor + Server Status = Tianji
一个项目搞定一切!
在观察网站运营的过程中,我们经常需要同时使用多个应用。例如,我们需要 GA/umami 等分析工具来查看 PV/UV 以及各页面的访问次数;我们需要可用性监控来检查服务器的网络质量与连通性;我们还需要通过 prometheus 获取服务器上报的状态,以评估服务器质量。此外,如果我们开发的是支持开源部署的应用,通常还需要一套遥测(telemetry)系统,帮助我们收集他人部署情况的最基本信息。
我认为这些工具本应服务于同一目的——是否存在一款应用,能以轻量方式整合这些常见需求?毕竟大多数时候我们并不需要非常专业、深入的功能;但为了实现全面监控,我却不得不安装这么多服务。
术业有专攻——如果我们就是相关领域的专家,当然需要这类专业工具。但对大多数只有轻量需求的用户而言,一款 All-in-One 应用会更方便、更易用。
modify those file:
src/client/i18next-toolkit.config.cjs in this file, edit country codesrc/client/utils/i18n.ts in this file, add for displayThen, 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
Direct update src/client/public/locales
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