I extended my new #kagi package to make use of the Summarizer API. The package provides three additional commands:
- kagi-summarize-buffer
- kagi-summarize-region
- kagi-summarize-url
The screenshot demonstrates how the GPL-3 license shipped with the Emacs sources is summarized to a few sentences.
Make sure you put some credit on your Kagi account to use the API, which is a separate balance than your subscription.
The implementation is still a bit rough and lacks some configurability, but the essence seems to work.
Clone the package at:
https://codeberg.org/bram85/kagi.el
There’s no MELPA package (yet).