Skip to main content

recent-state-summarizer

Summarize blog article titles with the OpenAI API

a.k.a. RSS 😃

Setup

$ pip install recent-state-summarizer

⚠️ Set OPENAI_API_KEY environment variable.
ref: https://platform.openai.com/account/api-keys

Usage

$ omae-douyo https://nikkie-ftnext.hatenablog.com/archive/2023/4

この人物は最近、プログラミングに関することを中心にして活動しています。

(略)

最近は、株式会社はてなに入社したようです。

Currently support:

  • はてなブログ(Hatena blog)
  • はてなブックマークRSS
  • Adventar
  • Qiita Advent Calendar

To see help, type omae-douyo -h.

Fetch only (save to file)

Fetch titles and URLs of articles, and save them to a file without summarization:

# Save as JSON format (default)
$ omae-douyo fetch https://nikkie-ftnext.hatenablog.com/archive/2023/4 articles.jsonl

# Save as bullet list
$ omae-douyo fetch https://nikkie-ftnext.hatenablog.com/archive/2023/4 titles.txt --as-title-list

GitHub Changelog

The github-blog sub-command fetches the GitHub Changelog without specifying its feed URL:

$ omae-douyo fetch github-blog articles.jsonl

# Change the period to fetch entries from (default: 30 days)
$ omae-douyo fetch github-blog articles.jsonl --days 45

YouTube Playlist

Set RSS_YOUTUBE_DATA_KEY to your YouTube Data API v3 key and pass a public playlist URL:

$ RSS_YOUTUBE_DATA_KEY=your-api-key omae-douyo fetch "https://www.youtube.com/playlist?list=PL..." videos.jsonl

Development

Sub commands

Fetch only (same as omae-douyo fetch):

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

Environment

$ 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 '.'

Metadata

Release files for recent-state-summarizer 0.0.17

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for recent-state-summarizer 0.0.17
File Size Uploaded Provenance Actions
recent_state_summarizer-0.0.17.tar.gz 24.5 kB With provenance Details for recent_state_summarizer-0.0.17.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for recent-state-summarizer 0.0.17
File Interpreter ABI Platform Actions
recent_state_summarizer-0.0.17-py3-none-any.whl Python 3 none any Details for recent_state_summarizer-0.0.17-py3-none-any.whl

Total release size: 61.3 kB

Release files / recent_state_summarizer-0.0.17.tar.gz

Download URL recent_state_summarizer-0.0.17.tar.gz
Size 24.5 kB
Tags Source
SHA-256 checksum
How to use checksums
db32333c5df972e2a66f7cb50b7eeba2af50d8a97f73c6f83103899f8fba0e81
BLAKE2b-256 checksum
How to use checksums
237f130e52aad03f1af3191d2cbfba5a4d88b4980766a8b8fa26f7381f495bf1
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 24, 2026.

Transparency log

Release files / recent_state_summarizer-0.0.17-py3-none-any.whl

Download URL recent_state_summarizer-0.0.17-py3-none-any.whl
Size 36.8 kB
Tags Python 3
SHA-256 checksum
How to use checksums
33e1f3311e757b398517160f06e230938b6b5b85e451b052f094c147e1b2128a
BLAKE2b-256 checksum
How to use checksums
21a54f660084c819b82fad69efbb5c53a9d32b42f9ed063ef83a1247df57f6a8
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 24, 2026.

Transparency log

Security for recent-state-summarizer 0.0.17

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

Full provenance

Both files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for recent_state_summarizer-0.0.17.tar.gz

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 24, 2026.

Transparency log

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page