Home
Softono

Tianji

Open source Apache-2.0 TypeScript
3K
Stars
194
Forks
138
Issues
15
Watchers
2 months
Last Commit

 About Tianji

Tianji is an open-source project dedicated to developing large language models specialized in understanding and generating appropriate responses for traditional Chinese social interaction scenarios. The software covers the full spectrum of LLM application development, including prompt engineering, retrieval-augmented generation knowledge bases, intelligent agent frameworks, and model fine-tuning. It supports a wide range of models such as ChatGPT, ZhipuAI, ERNIE, DeepSeek, InternLM, and Qwen via both online and local deployment. Key features include building social custom knowledge systems using LangChain and LlamaIndex, developing tool-using agents based on frameworks like MetaGPT, and performing LoRa or full-parameter fine-tuning using Transformers and Xtuner. The project also provides curated corpora on social etiquette and tools for data creation and cleaning. Recent updates include a specialized wishing model V0.2 capable of generating greetings in diverse styles ranging from poetic to colloquial for var

Platforms

Web Self-hosted Docker

Languages

Python TypeScript

Need Help Installing Tianji?

We provide expert installation service for this software. Our team will install, configure, and secure Tianji on your server. plans start at just $30.

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

  • 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

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

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 Hostinger

Deploy on Sealos

Deploy to RepoCloud

Deploy to Render

Run on ClawCloud