Summarize blog article titles with the OpenAI API
a.k.a. RSS 😃
$ pip install recent-state-summarizer
OPENAI_API_KEY
environment variable.
ref: https://platform.openai.com/account/api-keys
$ omae-douyo https://nikkie-ftnext.hatenablog.com/archive/2023/4
この人物は最近、プログラミングに関することを中心にして活動しています。
(略)
最近は、株式会社はてなに入社したようです。
Currently support:
- はてなブログ(Hatena blog)
To see help, type omae-douyo -h
.
Fetch only:
python -m recent_state_summarizer.fetch -h
Summarize only:
It's convenient to omit fetching in tuning the prompt.
python -m recent_state_summarizer.summarize -h
$ git clone https://github.com/ftnext/recent-state-summarizer.git
$ cd recent-state-summarizer
$ python -m venv venv
$ source venv/bin/activate
(venv) $ pip install -r requirements.lock
(venv) $ pip install -e '.'