Thanks for reading, sorry it took me a little while to respond!
I think that building one from scratch is a great way to learn the underlying mechanics of how a summarizer can work, but the code demonstrated in this article is very naive. Because no special measures have been taken to make sure the summaries make sense, they sometimes dont.
For production grade systems, I would recommend just using an API unless you are interested in taking things to the next level and learning how to write a more sophisticated and context-aware summarizer.
We're a place where coders share, stay up-to-date and grow their careers.
We strive for transparency and don't collect excess data.