tianji/README.md

99 lines
4.0 KiB
Markdown
Raw Permalink Normal View History

[![CI](https://github.com/msgbyte/tianji/actions/workflows/ci.yaml/badge.svg)](https://github.com/msgbyte/tianji/actions/workflows/ci.yaml)
[![Build Reporter Release](https://github.com/msgbyte/tianji/actions/workflows/reporter-release.yml/badge.svg)](https://github.com/msgbyte/tianji/actions/workflows/reporter-release.yml)
[![Docker Build CI](https://github.com/msgbyte/tianji/actions/workflows/ci-docker.yaml/badge.svg)](https://github.com/msgbyte/tianji/actions/workflows/ci-docker.yaml)
2024-03-21 13:13:20 +00:00
![Docker Pulls](https://img.shields.io/docker/pulls/moonrailgun/tianji)
2024-04-08 16:02:54 +00:00
![Docker Image Size](https://img.shields.io/docker/image-size/moonrailgun/tianji)
2024-04-12 20:11:55 +00:00
![Tianji Visitor](https://tianji.moonrailgun.com/telemetry/clnzoxcy10001vy2ohi4obbi0/cltjxvcwm02wdut4e106maek7/badge.svg?url=http://github.com/msgbyte/tianji)
2023-09-16 07:35:25 +00:00
# Tianji
2024-01-27 07:59:46 +00:00
<img src="./website/static/img/logo.svg" width="128" />
2023-10-22 16:10:18 +00:00
**All-in-One Insight Hub**
2023-09-02 19:49:20 +00:00
2023-11-27 15:30:07 +00:00
`Website analytics` + `Uptime Monitor` + `Server Status` = `Tianji`
2023-10-06 16:10:52 +00:00
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.
2023-09-02 19:49:20 +00:00
2023-10-22 17:43:41 +00:00
## Roadmap
- [x] website analysis
- [x] monitor
- [x] server status
- [x] problem notification
- [x] telemetry
2023-12-25 01:42:20 +00:00
- [x] openapi
- [x] website
2024-09-20 16:09:06 +00:00
- [x] team collaboration
- [ ] utm track
2024-05-21 16:26:03 +00:00
- [x] waitlist
- [x] survey
- [ ] survey page
2024-10-22 15:39:56 +00:00
- [x] lighthouse report
2024-09-20 16:09:06 +00:00
- [x] hooks
- [x] helm install support
2024-07-10 17:30:48 +00:00
- [x] allow install from public
- [ ] improve monitor reporter usage
2024-07-10 17:30:48 +00:00
- [x] uninstall guide
- [ ] download from server
- [ ] custom params guide
2023-10-22 17:43:41 +00:00
2023-12-25 01:42:20 +00:00
## Preview
2024-08-05 17:50:04 +00:00
![](./website/static/img/preview/1.png)
2023-12-25 01:42:20 +00:00
2024-08-05 17:50:04 +00:00
![](./website/static/img/preview/2.png)
2023-12-25 01:42:20 +00:00
2024-08-05 17:50:04 +00:00
![](./website/static/img/preview/3.png)
![](./website/static/img/preview/4.png)
![](./website/static/img/preview/5.png)
![](./website/static/img/preview/6.png)
2023-12-25 01:42:20 +00:00
2024-04-20 18:41:31 +00:00
## Translation
### Add a new translation
modify those file:
- `src/client/i18next-toolkit.config.cjs` in this file, edit country code
- `src/client/utils/constants.ts` in this file, add for display
Then, run below code to auto generate
```bash
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`
2023-09-02 19:49:20 +00:00
## 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
[![Deploy on Sealos](https://cdn.jsdelivr.net/gh/labring-actions/templates@main/Deploy-on-Sealos.svg)](https://cloud.sealos.io/?openapp=system-template%3FtemplateName%3Dtianji)
[![Deploy to RepoCloud](https://d16t0pc4846x52.cloudfront.net/deploylobe.svg)](https://repocloud.io/details/?app_id=270)
[![Deploy to Render](https://render.com/images/deploy-to-render-button.svg)](https://render.com/deploy?repo=https://github.com/msgbyte/tianji)