https://github.com/k8scat/github-trending
Rust 实现,将 GitHub Trending 的开源项目推送到一些内容平台,比如知识星球,同时结合 OpenAI 自动生成项目的介绍。
https://github.com/k8scat/github-trending
github go openai rust trending zsxq
Last synced: 3 months ago
JSON representation
Rust 实现,将 GitHub Trending 的开源项目推送到一些内容平台,比如知识星球,同时结合 OpenAI 自动生成项目的介绍。
- Host: GitHub
- URL: https://github.com/k8scat/github-trending
- Owner: k8scat
- License: mit
- Created: 2024-08-28T11:29:38.000Z (about 1 year ago)
- Default Branch: main
- Last Pushed: 2024-10-01T04:04:50.000Z (about 1 year ago)
- Last Synced: 2025-06-26T20:52:03.954Z (3 months ago)
- Topics: github, go, openai, rust, trending, zsxq
- Language: Rust
- Homepage: https://t.zsxq.com/4bVnF
- Size: 91.8 KB
- Stars: 2
- Watchers: 1
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# github-trending
Rust 实现,将 GitHub Trending 的开源项目推送到一些内容平台,比如知识星球,同时结合 OpenAI 自动生成项目的介绍。
## 内容平台
- [x] 知识星球
其它平台可以提 [Issue](https://github.com/k8scat/github-trending/issues) 或者 [PR](https://github.com/k8scat/github-trending/pulls)。
## 配置说明
参考 `config.example.toml` 文件进行配置,有些配置是在环境变量中设置的:
```yaml
- TRENDING_LANGUAGE=go
- OPENAI_API_BASE=https://api.openai-all.com
- OPENAI_API_KEY=sk-xxx
- OPENAI_MODEL=gpt-4o
```## 运行
使用 Docker Compose 可以快速将该项目部署到生产环境,可以参考 `docker-compose.example.yml` 文件进行配置。
## 交流群
知识星球:[Rust 开发笔记](https://t.zsxq.com/4bVnF)
## 开源协议
[MIT](./LICENSE)