https://github.com/msgbyte/tianji

Tianji: Insight into everything, Website Analytics + Uptime Monitor + Server Status. not only another GA alternatives

https://github.com/msgbyte/tianji

Science Score: 26.0%

This score indicates how likely this project is to be science-related based on various indicators:

  • CITATION.cff file
  • codemeta.json file
    Found codemeta.json file
  • .zenodo.json file
    Found .zenodo.json file
  • DOI references
  • Academic publication links
  • Committers with academic emails
  • Institutional organization owner
  • JOSS paper metadata
  • Scientific vocabulary similarity
    Low similarity (12.8%) to scientific vocabulary

Keywords

analytics docker google-analytics monitor self-hosted selfhosted server-status statistics umami uptime uptime-monitor uptimekuma web-analytics
Last synced: 5 months ago · JSON representation

Repository

Tianji: Insight into everything, Website Analytics + Uptime Monitor + Server Status. not only another GA alternatives

Basic Info
  • Host: GitHub
  • Owner: msgbyte
  • License: apache-2.0
  • Language: TypeScript
  • Default Branch: master
  • Homepage: https://tianji.dev
  • Size: 13.3 MB
Statistics
  • Stars: 2,731
  • Watchers: 15
  • Forks: 165
  • Open Issues: 114
  • Releases: 184
Topics
analytics docker google-analytics monitor self-hosted selfhosted server-status statistics umami uptime uptime-monitor uptimekuma web-analytics
Created over 2 years ago · Last pushed 6 months ago
Metadata Files
Readme Changelog License Agents

README.md

CI Build Reporter Release Docker Build CI Docker Pulls Docker Image Size Tianji Visitor

Tianji

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

  • [x] website analysis
  • [x] monitor
    • [x] support passive reception of results
  • [x] server status
  • [x] problem notification
  • [x] telemetry
  • [x] openapi
  • [x] website
  • [x] team collaboration
  • [ ] utm track
  • [x] waitlist
  • [x] survey
    • [ ] survey page
  • [x] lighthouse report
  • [x] hooks
  • [x] helm install support
    • [x] allow install from public
  • [x] improve monitor reporter usage
    • [x] uninstall guide
    • [x] download from server
    • [x] custom params guide

Preview

Translation

Add a new translation

modify those file: - src/client/i18next-toolkit.config.cjs in this file, edit country code - src/client/utils/i18n.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

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

Deploy to RepoCloud

Deploy to Render

Run on ClawCloud

Owner

  • Name: MsgByte
  • Login: msgbyte
  • Kind: organization

Message make world better

Committers

Last synced: 9 months ago

All Time
  • Total Commits: 1,341
  • Total Committers: 14
  • Avg Commits per committer: 95.786
  • Development Distribution Score (DDS): 0.021
Past Year
  • Commits: 734
  • Committers: 8
  • Avg Commits per committer: 91.75
  • Development Distribution Score (DDS): 0.023
Top Committers
Name Email Commits
moonrailgun m****n@g****m 1,313
tommy t****x@g****m 8
KingPin K****n 5
1Luc1 l****r@g****m 3
Jefferson Velozo Machado j****o@g****m 2
Adam Gąsowski g****r 2
甜力怕 6****7 1
cosark 1****k 1
Shiny z****y@g****m 1
Renick r****r@m****m 1
ClawCloud-Ron r****n@c****d 1
ChobPT 4****T 1
Carson Yang y****3@g****m 1
Amitash a****h@g****m 1
Committer Domains (Top 20 + Academic)

Issues and Pull Requests

Last synced: 6 months ago

All Time
  • Total issues: 161
  • Total pull requests: 83
  • Average time to close issues: 12 days
  • Average time to close pull requests: 10 days
  • Total issue authors: 106
  • Total pull request authors: 20
  • Average comments per issue: 1.02
  • Average comments per pull request: 0.59
  • Merged pull requests: 59
  • Bot issues: 0
  • Bot pull requests: 0
Past Year
  • Issues: 90
  • Pull requests: 46
  • Average time to close issues: 8 days
  • Average time to close pull requests: 8 days
  • Issue authors: 71
  • Pull request authors: 10
  • Average comments per issue: 0.87
  • Average comments per pull request: 0.39
  • Merged pull requests: 33
  • Bot issues: 0
  • Bot pull requests: 0
Top Authors
Issue Authors
  • moonrailgun (15)
  • gander (11)
  • rolikeusch (5)
  • neon-bartmoss (4)
  • ljcbaby (3)
  • danblaze13 (3)
  • ghostersk (2)
  • zhongjiancong (2)
  • EthraZa (2)
  • tobias-carlbom (2)
  • outrank-james (2)
  • mikusaa (2)
  • ZAIDU-Miren (2)
  • sgohl (2)
  • xator91 (2)
Pull Request Authors
  • moonrailgun (29)
  • 1Luc1 (10)
  • tommy141x (5)
  • gander (4)
  • KingPin (4)
  • JeffersonVelozo (4)
  • Its4Nik (2)
  • ClawCloud-Ron (2)
  • renickbuettner (2)
  • stiekel (2)
  • the-homeless-god (2)
  • cosark (2)
  • katnova (2)
  • yangchuansheng (2)
  • xiaozhu2007 (2)
Top Labels
Issue Labels
enhancement (15) bug (8) good first issue (1)
Pull Request Labels
codex (14)

Packages

  • Total packages: 2
  • Total downloads: unknown
  • Total dependent packages: 0
    (may contain duplicates)
  • Total dependent repositories: 0
    (may contain duplicates)
  • Total versions: 184
proxy.golang.org: github.com/msgbyte/tianji/apps/traefik-tianji-plugin

Package plugindemo a demo plugin.

  • Versions: 0
  • Dependent Packages: 0
  • Dependent Repositories: 0
Rankings
Dependent packages count: 5.3%
Average: 5.5%
Dependent repos count: 5.6%
Last synced: 6 months ago
proxy.golang.org: github.com/msgbyte/tianji
  • Versions: 184
  • Dependent Packages: 0
  • Dependent Repositories: 0
Rankings
Dependent packages count: 5.3%
Average: 5.5%
Dependent repos count: 5.7%
Last synced: 6 months ago

Dependencies

.github/workflows/deploy-website.yml actions
  • actions/checkout v4 composite
  • amondnet/vercel-action v25.1.1 composite
.github/workflows/docker-publish.yml actions
  • actions/checkout v4 composite
  • docker/build-push-action v5 composite
  • docker/login-action v3 composite
  • docker/metadata-action v5 composite
  • peter-evans/dockerhub-description v3 composite
.github/workflows/reporter-release.yml actions
  • actions/checkout v3 composite
  • wangyoucao577/go-release-action v1.40 composite
.devcontainer/Dockerfile docker
  • mcr.microsoft.com/devcontainers/javascript-node 1-18-bullseye build
.devcontainer/docker-compose.yml docker
  • postgres 15.4-alpine
Dockerfile docker
  • node lts-alpine build
docker-compose.yml docker
  • moonrailgun/tianji latest
  • postgres 15.4-alpine
reporter/go.mod go
  • github.com/StackExchange/wmi v0.0.0-20190523213315-cbe66965904d
  • github.com/go-ole/go-ole v1.2.4
  • github.com/json-iterator/go v1.1.12
  • github.com/modern-go/concurrent v0.0.0-20180228061459-e0a39a4cb421
  • github.com/modern-go/reflect2 v1.0.2
  • github.com/shirou/gopsutil/v3 v3.20.10
  • github.com/stretchr/testify v1.8.2
  • golang.org/x/sys v0.1.0
reporter/go.sum go
  • github.com/StackExchange/wmi v0.0.0-20190523213315-cbe66965904d
  • github.com/davecgh/go-spew v1.1.0
  • github.com/davecgh/go-spew v1.1.1
  • github.com/go-ole/go-ole v1.2.4
  • github.com/google/gofuzz v1.0.0
  • github.com/json-iterator/go v1.1.12
  • github.com/modern-go/concurrent v0.0.0-20180228061459-e0a39a4cb421
  • github.com/modern-go/reflect2 v1.0.2
  • github.com/pmezard/go-difflib v1.0.0
  • github.com/shirou/gopsutil/v3 v3.20.10
  • github.com/stretchr/objx v0.1.0
  • github.com/stretchr/objx v0.4.0
  • github.com/stretchr/objx v0.5.0
  • github.com/stretchr/testify v1.3.0
  • github.com/stretchr/testify v1.6.1
  • github.com/stretchr/testify v1.7.1
  • github.com/stretchr/testify v1.8.0
  • github.com/stretchr/testify v1.8.2
  • golang.org/x/sys v0.0.0-20201024232916-9f70ab9862d5
  • golang.org/x/sys v0.1.0
  • gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405
  • gopkg.in/yaml.v3 v3.0.0-20200313102051-9f266ea9e77c
  • gopkg.in/yaml.v3 v3.0.1
package.json npm
  • @types/bcryptjs ^2.4.3 development
  • @types/compression ^1.7.2 development
  • @types/cors ^2.8.15 development
  • @types/express ^4.17.17 development
  • @types/fs-extra ^11.0.3 development
  • @types/jsonwebtoken ^9.0.2 development
  • @types/lodash ^4.14.198 development
  • @types/lodash-es ^4.17.9 development
  • @types/morgan ^1.9.5 development
  • @types/node ^18.17.12 development
  • @types/nodemailer ^6.4.11 development
  • @types/passport ^1.0.12 development
  • @types/passport-jwt ^3.0.9 development
  • @types/ping ^0.4.2 development
  • @types/react ^18.2.21 development
  • @types/react-dom ^18.2.7 development
  • @types/react-grid-layout ^1.3.5 development
  • @types/react-resizable ^3.0.7 development
  • @types/request-ip ^0.0.38 development
  • @types/swagger-ui-express ^4.1.5 development
  • @types/tar ^6.1.5 development
  • @vitejs/plugin-react ^4.0.4 development
  • autoprefixer ^10.4.15 development
  • cross-env ^7.0.3 development
  • nodemon ^2.0.22 development
  • postcss ^8.4.29 development
  • prisma ^5.4.2 development
  • prisma-json-types-generator ^3.0.3 development
  • prisma-zod-generator ^0.8.13 development
  • tailwindcss ^3.3.3 development
  • tar ^6.1.15 development
  • typescript ^5.2.2 development
  • vite ^4.4.9 development
  • @ant-design/charts ^1.4.2
  • @ant-design/icons ^5.2.5
  • @paralleldrive/cuid2 ^2.2.2
  • @prisma/client ^5.4.2
  • @tanstack/react-query ^4.33.0
  • @trpc/client ^10.38.4
  • @trpc/react-query ^10.38.4
  • @trpc/server ^10.38.4
  • @types/uuid ^9.0.3
  • antd ^5.9.3
  • array-move ^3.0.1
  • axios ^1.5.0
  • badge-maker ^3.3.1
  • bcryptjs ^2.4.3
  • clsx ^2.0.0
  • colord ^2.9.3
  • compose-middleware ^5.0.1
  • compression ^1.7.4
  • cors ^2.8.5
  • croner ^7.0.1
  • dayjs ^1.11.9
  • detect-browser ^5.3.0
  • dotenv ^16.3.1
  • eventemitter-strict ^1.0.1
  • express ^4.18.2
  • express-async-errors ^3.1.1
  • express-validator ^7.0.1
  • filesize ^10.0.12
  • fs-extra ^11.1.1
  • is-localhost-ip ^2.0.0
  • jsonwebtoken ^9.0.2
  • lodash ^4.17.21
  • lodash-es ^4.17.21
  • maxmind ^4.3.11
  • millify ^6.1.0
  • morgan ^1.10.0
  • nanoid ^3.3.6
  • nodemailer ^6.9.5
  • passport ^0.6.0
  • passport-jwt ^4.0.1
  • ping ^0.4.4
  • pretty-ms 7.0.1
  • puppeteer ^21.3.8
  • react ^18.2.0
  • react-dom ^18.2.0
  • react-easy-sort ^1.5.3
  • react-grid-layout 1.4.2
  • react-icons ^4.12.0
  • react-resizable ^3.0.5
  • react-router ^6.15.0
  • react-router-dom ^6.15.0
  • request-ip ^3.3.0
  • socket.io ^4.7.2
  • socket.io-client ^4.7.2
  • str2int ^1.1.0
  • swagger-ui-express ^5.0.0
  • trpc-openapi ^1.2.0
  • ts-node ^10.9.1
  • uuid ^9.0.0
  • vite-express ^0.10.0
  • winston ^3.11.0
  • yup ^1.2.0
  • zod ^3.22.2
  • zod-prisma ^0.5.4
  • zustand ^4.4.1
pnpm-lock.yaml npm
  • 1097 dependencies
website/package.json npm
  • @docusaurus/module-type-aliases 2.4.3 development
  • @tsconfig/docusaurus ^1.0.5 development
  • @types/react-slick ^0.23.11 development
  • @types/react-vertical-timeline-component ^3.3.6 development
  • autoprefixer ^10.4.16 development
  • docusaurus-plugin-image-zoom ^1.0.1 development
  • postcss ^8.4.31 development
  • slick-carousel ^1.8.1 development
  • tailwindcss ^3.3.5 development
  • ts-node ^10.9.1 development
  • typescript ^4.7.4 development
  • url ^0.11.3 development
  • @docusaurus/core 2.4.3
  • @docusaurus/preset-classic 2.4.3
  • @mdx-js/react ^1.6.22
  • clsx ^1.2.1
  • docusaurus-preset-openapi ^0.6.4
  • prism-react-renderer ^1.3.5
  • react ^17.0.2
  • react-dom ^17.0.2
  • react-icons ^4.12.0
  • react-responsive-carousel ^3.2.23
  • react-slick ^0.29.0
  • react-vertical-timeline-component ^3.6.0
website/pnpm-lock.yaml npm
  • 1217 dependencies
.github/workflows/ci-docker.yaml actions
  • docker/build-push-action v5 composite
  • docker/metadata-action v5 composite
  • docker/setup-buildx-action v3 composite
  • docker/setup-qemu-action v3 composite
.github/workflows/ci.yaml actions
  • actions/cache v3 composite
  • actions/checkout v4 composite
  • actions/setup-node v3 composite
  • pnpm/action-setup v2 composite
.github/workflows/docker-publish-canary.yml actions
  • actions/checkout v4 composite
  • docker/build-push-action v5 composite
  • docker/login-action v3 composite
  • docker/metadata-action v5 composite
  • docker/setup-buildx-action v3 composite
  • docker/setup-qemu-action v3 composite
src/client/package.json npm
  • @types/loadable__component ^5.13.8 development
  • @types/lodash-es ^4.17.12 development
  • @types/react ^18.2.21 development
  • @types/react-dom ^18.2.7 development
  • @types/react-grid-layout ^1.3.5 development
  • @types/react-resizable ^3.0.7 development
  • @types/uuid ^9.0.7 development
  • @vitejs/plugin-react ^4.0.4 development
  • autoprefixer ^10.4.16 development
  • postcss ^8.4.31 development
  • tailwindcss ^3.3.5 development
  • vite ^5.0.12 development
  • vitest ^1.2.1 development
  • @ant-design/charts ^1.4.2
  • @ant-design/icons ^5.2.6
  • @loadable/component ^5.16.3
  • @monaco-editor/react ^4.6.0
  • @tanstack/react-query 4.33.0
  • @tianji/shared workspace:^
  • @trpc/client ^10.45.0
  • @trpc/react-query ^10.45.0
  • antd ^5.13.1
  • array-move ^3.0.1
  • axios ^1.5.0
  • clsx ^2.1.0
  • colord ^2.9.3
  • copy-to-clipboard ^3.3.3
  • dayjs ^1.11.9
  • eventemitter-strict ^1.0.1
  • filesize ^10.0.12
  • lodash-es ^4.17.21
  • millify ^6.1.0
  • pretty-ms ^9.0.0
  • react ^18.2.0
  • react-dom ^18.2.0
  • react-easy-sort ^1.5.3
  • react-grid-layout 1.4.2
  • react-icons ^4.12.0
  • react-resizable ^3.0.5
  • react-router ^6.15.0
  • react-router-dom ^6.15.0
  • socket.io-client ^4.7.2
  • str2int ^1.1.0
  • uuid ^9.0.1
  • zod ^3.22.2
  • zustand ^4.4.1
src/server/package.json npm
  • @types/bcryptjs ^2.4.3 development
  • @types/compression ^1.7.2 development
  • @types/cors ^2.8.15 development
  • @types/express ^4.17.17 development
  • @types/fs-extra ^11.0.3 development
  • @types/jsonwebtoken ^9.0.5 development
  • @types/lodash ^4.14.198 development
  • @types/morgan ^1.9.5 development
  • @types/node ^18.17.12 development
  • @types/nodemailer ^6.4.11 development
  • @types/passport ^1.0.12 development
  • @types/passport-jwt ^3.0.9 development
  • @types/ping ^0.4.2 development
  • @types/request-ip ^0.0.38 development
  • @types/swagger-ui-express ^4.1.5 development
  • @types/tcp-ping ^0.1.5 development
  • @types/uuid ^9.0.7 development
  • execa ^5.1.1 development
  • nodemon ^3.0.3 development
  • prisma 5.4.2 development
  • prisma-json-types-generator 3.0.3 development
  • prisma-zod-generator 0.8.13 development
  • tailwindcss ^3.3.5 development
  • vite ^5.0.12 development
  • vitest ^1.2.1 development
  • @paralleldrive/cuid2 ^2.2.2
  • @prisma/client 5.4.2
  • @tianji/shared workspace:^
  • @trpc/server ^10.45.0
  • axios ^1.5.0
  • badge-maker ^3.3.1
  • bcryptjs ^2.4.3
  • compose-middleware ^5.0.1
  • compression ^1.7.4
  • cors ^2.8.5
  • croner ^8.0.0
  • dayjs ^1.11.9
  • detect-browser ^5.3.0
  • dotenv ^16.3.1
  • express ^4.18.2
  • express-async-errors ^3.1.1
  • express-validator ^7.0.1
  • fs-extra ^11.2.0
  • is-localhost-ip ^2.0.0
  • isolated-vm ^4.6.0
  • jsonwebtoken ^9.0.2
  • lodash ^4.17.21
  • maxmind ^4.3.18
  • morgan ^1.10.0
  • nanoid ^5.0.4
  • nodemailer ^6.9.8
  • passport ^0.7.0
  • passport-jwt ^4.0.1
  • ping ^0.4.4
  • puppeteer ^21.7.0
  • request-ip ^3.3.0
  • socket.io ^4.7.4
  • swagger-ui-express ^5.0.0
  • tcp-ping ^0.1.1
  • trpc-openapi ^1.2.0
  • ts-node ^10.9.1
  • uuid ^9.0.1
  • vite-express ^0.13.0
  • winston ^3.11.0
  • yup ^1.3.3
  • zod ^3.22.2
  • zod-prisma ^0.5.4
src/shared/package.json npm
  • dayjs ^1.11.9