3 ms·
Show HN: Distilhn.com – Front-Page Articles Summarized with Machine Learning
Hey HN,
I've built a little website to show news articles with a summary so that I don't have to RTFA if I just want a rough sense of what it covers :) I also share the summaries in an RSS feed for those who'd prefer to use their own reader. Let me know what you think!
- Yenrabbit 4y agoThis was a fun little Christmas project. I did a quick write-up and video here: https://datasciencecastnet.home.blog/2022/12/30/distilhn-summarizing-news-articles-with-transformers/ https://datasciencecastnet.home.blog/2022/12/30/distilhn-sum...
- wasimlorgat 4y agoVery 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.
- Yenrabbit 4y agoSince 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 :)
- r3trohack3r 4y agoThis 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.
- Yenrabbit 4y agoThank you! I'll look at adding that tomorrow :)
- metadat 4y agoAny 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-summarizing-news-articles-with-transformers/ 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!
- Yenrabbit 4y agoAt this stage it's a one-day hack but here's the script: https://gist.github.com/johnowhitaker/741e9c9f16f7eb9c879bc0dbcd780b59 https://gist.github.com/johnowhitaker/741e9c9f16f7eb9c879bc0... View source to get the html/CSS/JS. Let me know if you make anything fun with it. PS: The video also has more explanation and a link to some demo code: https://youtu.be/TBqzMfWpQrs https://youtu.be/TBqzMfWpQrs
- wskish 4y agoHere is an open source HN summarizer that publishes the summaries to a Telegram channel: https://github.com/jiggy-ai/hn_summary https://github.com/jiggy-ai/hn_summary I have been thinking about adding an RSS feed option as well.
- askiiart 4y ago> I have been thinking about adding an RSS feed option as well. Please do! That would be awesome.