Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/uiur/gpt-slack-matome
Generate news from your slack history powered by ChatGPT API
https://github.com/uiur/gpt-slack-matome
Last synced: 3 months ago
JSON representation
Generate news from your slack history powered by ChatGPT API
- Host: GitHub
- URL: https://github.com/uiur/gpt-slack-matome
- Owner: uiur
- Created: 2023-03-15T03:32:11.000Z (almost 2 years ago)
- Default Branch: main
- Last Pushed: 2023-03-15T13:49:42.000Z (almost 2 years ago)
- Last Synced: 2024-04-15T02:43:52.479Z (9 months ago)
- Language: Python
- Size: 23.4 KB
- Stars: 5
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# gpt-slack-matome
This script generates weekly Slack summary from conversation history of a channel.
The style is like casual news sites.```sh
$ python main.py https://hello-ai.slack.com/archives/CABCDE/p123456789ウィークリー #random まとめ (2023-03-06 ~ 2023-03-13):
・メガネで花粉症対策をしたAさん、オフィスに着くも誰もいなくてクスッと笑う [link](https://hello-ai.slack.com/archives/CABCDE/p123456)
・DeNAの後輩からAR体験をもらったBさん、店舗やユーザーに最高の体験を提供したいと改めて思う [link](https://hello-ai.slack.com/archives/CABCDE/p123456)
・「エアビーの部屋借りてアロマを作る会」で、実はアロマ作りが初めてだったCさんが、ローズマリーのアロマを作って、自分でも似合わなすぎると困惑 [link](https://hello-ai.slack.com/archives/CABCDE/p123456)
```URL is the link to the latest message in the channel
You need `SLACK_USER_TOKEN` and `OPENAI_API_KEY` as environment variables