Our great sponsors
-
WorkOS
The modern identity platform for B2B SaaS. The APIs are flexible and easy-to-use, supporting authentication, user identity, and complex enterprise features like SSO and SCIM provisioning.
-
InfluxDB
Power Real-Time Data Analytics at Scale. Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.
Built something similar a long time ago using deno and deploy.
https://github.com/searchableguy/burger
Although, after trying out different feeds and approaches. I must admit, I don't care about every item that is posted on a news site or someone's blog.
Anything interesting will get posted here.
So I figured I need a way to clean up HN stories that I don't find useful. I built an API server which does this using sentiment analysis.
Another problem I noticed is I tend to click on comments of stories I know won't be any useful (web3?) but it's hard to stop the urge so I check if comments are overly negative and return a score which is used to hide or show the see discussion button.
I also return all the urls from the discussion separately because those are usually good resources.
Meet cabbage news - https://github.com/searchableguy/cabbage_news
I haven't updated the repo so it is probably outdated.
Built something similar a long time ago using deno and deploy.
https://github.com/searchableguy/burger
Although, after trying out different feeds and approaches. I must admit, I don't care about every item that is posted on a news site or someone's blog.
Anything interesting will get posted here.
So I figured I need a way to clean up HN stories that I don't find useful. I built an API server which does this using sentiment analysis.
Another problem I noticed is I tend to click on comments of stories I know won't be any useful (web3?) but it's hard to stop the urge so I check if comments are overly negative and return a score which is used to hide or show the see discussion button.
I also return all the urls from the discussion separately because those are usually good resources.
Meet cabbage news - https://github.com/searchableguy/cabbage_news
I haven't updated the repo so it is probably outdated.
The whole thing is written in Go on my end. Ingesting new headlines is handled in a goroutine that spawns within the process every 30 mins using a combo of the wonderful gofeed (https://github.com/mmcdole/gofeed) and colly (https://github.com/gocolly/colly) libraries.
When loading the front page, you're loading a 1-minute-cached HTML page of it that was constructed out of headlines already in my PostgreSQL database that were put there by the ingestion goroutine.
I like the idea of word clouds actually, I think you're on to something there. I think you just need to pre-generate them rather than doing it adhoc (if that's what you're doing here) for speed. Additionally, perhaps consider using sentiment in a way that orients stories based on positive and negative sentiment. Right now I am not seeing how I as a visitor/user can act on the sentiment analysis as it is presented now.
It would be neat to see a collection of uplifting stories grouped together through the sentiment analysis.
Anyway, food for thought. I hope you keep hacking away on it as it's just good fun to build things.
The whole thing is written in Go on my end. Ingesting new headlines is handled in a goroutine that spawns within the process every 30 mins using a combo of the wonderful gofeed (https://github.com/mmcdole/gofeed) and colly (https://github.com/gocolly/colly) libraries.
When loading the front page, you're loading a 1-minute-cached HTML page of it that was constructed out of headlines already in my PostgreSQL database that were put there by the ingestion goroutine.
I like the idea of word clouds actually, I think you're on to something there. I think you just need to pre-generate them rather than doing it adhoc (if that's what you're doing here) for speed. Additionally, perhaps consider using sentiment in a way that orients stories based on positive and negative sentiment. Right now I am not seeing how I as a visitor/user can act on the sentiment analysis as it is presented now.
It would be neat to see a collection of uplifting stories grouped together through the sentiment analysis.
Anyway, food for thought. I hope you keep hacking away on it as it's just good fun to build things.