9 comments

[ 2.6 ms ] story [ 28.1 ms ] thread
Very cool how you pieced together these OS libraries and models! TIL about PythonAnywhere. Would it be possible to have your task/script update the index.html file? Since that’s the only thing that updates the feed, it might be a nice little simplification to render it without JS.
Since I already have the flask app set up I could inject the items into the page with a render template before serving it. Or write directly I guess since I already have the html snippet I want to insert! Good suggestion. The current architecture is partly just an artefact of the order I developed things :)
This is absolutely amazing - it might be able to displace the HN frontpage for me. Going to give it a go.

Would be cool if it also handled the Show HN frontpage list too, it's been more valuable to me as of late.

Thank you! I'll look at adding that tomorrow :)
Any chance you'll open source all this? It could serve as a nice foundational layer / harness / framework for many purposes.

Edit: I found your explanatory post (https://datasciencecastnet.home.blog/2022/12/30/distilhn-sum...), not yet totally clear whether it includes enough information to be considered an end to end tutorial, but it's certainly a generous start. Thank you!

Here is an open source HN summarizer that publishes the summaries to a Telegram channel: https://github.com/jiggy-ai/hn_summary

I have been thinking about adding an RSS feed option as well.

> I have been thinking about adding an RSS feed option as well.

Please do! That would be awesome.