https://github.com/ningning0111/matomo-ai
基于开源项目Matomo和One-Api实现的网站数据AI分析系统
https://github.com/ningning0111/matomo-ai
ai chatgpt java matomo one-api
Last synced: 11 months ago
JSON representation
基于开源项目Matomo和One-Api实现的网站数据AI分析系统
- Host: GitHub
- URL: https://github.com/ningning0111/matomo-ai
- Owner: NingNing0111
- Created: 2023-10-18T15:19:44.000Z (almost 3 years ago)
- Default Branch: master
- Last Pushed: 2023-10-19T07:10:13.000Z (almost 3 years ago)
- Last Synced: 2025-06-10T09:44:12.943Z (about 1 year ago)
- Topics: ai, chatgpt, java, matomo, one-api
- Language: Java
- Homepage:
- Size: 34.6 MB
- Stars: 3
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Matomo-AI
> 这是我的一个SpringBoot练手项目
Matomo-AI是一款基于开源网站数据统计和分析系统Matomo和各类GPT生成式大语言模型实现网站数据的AI分析系统,目的是让AI分析网站数据,并根据网站数据让AI提供未来网站的运营方案。
#### 开源项目参考
- [matomo-org/matomo](https://github.com/matomo-org/matomo)
- [songquanpeng/one-api](https://github.com/songquanpeng/one-api)
#### 本项目架构

首先用户向Matomo-AI系统发送Matomo相关接口数据的参数请求,Matomo-AI会利用用户提供的参数向Matomo发起请求获取对应API的网站数据,在获取网站数据后,Matomo-AI会向One API发起AI请求,将获取到的网站数据发送给AI,在AI进行分析并回复结果后,Matomo-AI就会将回复结果返回给用户或直接将回复结果展示出来。
#### 内部提供的Demo



### 使用方法
下载Jar包,在Jar包所在目录执行下述命令:
```text
java -jar matomo-chatgpt.jar --server.port=端口号 --oneapi.api=你的oneapi网址 --oneapi.key=你的key
```
具体配置参考:[application.yml](https://github.com/NingNing0111/matomo-ai/blob/master/src/main/resources/application.yml)
- 查看接口详情:[http://localhost:端口号/swagger.html]()
- demo1页面:[http://localhost:端口号/index.html]()
- demo2页面:[http://localhost:端口号/demo.html]()