6 ms·
Show HN: Tinysums, HN thread and story summaries that don't suck
fun little side project using gemini 2.5 pro.
summarizes the top 30 HN stories and their comment threads. kinda nice when there's a huge thread to read the tl;dr.
cron job updates everything once an hour right now.
feel free to pick it apart!
- nbbaier 1y agoThis is neat! What's the prompt you're using?
- mbm 1y agoThanks! It’s kind of long and rambling, but I’d be happy to share if you really want it. It needs some refining for sure.
- nbbaier 1y agoI'd like to see it!
- mbm 1y agoOpen sourced! https://github.com/mzxrai/tinysums/blob/main/app/lib/ai/hn_story_summarizer.rb#L326 https://github.com/mzxrai/tinysums/blob/main/app/lib/ai/hn_s... https://github.com/mzxrai/tinysums/blob/main/app/lib/ai/hn_thread_summarizer.rb#L562 https://github.com/mzxrai/tinysums/blob/main/app/lib/ai/hn_t...
- nbbaier 1y agoNice, thanks!
- mithil957 1y agoCool project! The summaries are pretty useful
- mbm 1y agoThanks! Anything else you’d like to see?
- whizusukite 1y agoI’m a junior engineer, but was wondering when you have an idea like this, how do you go about quickly getting this up and running online? What does your tech stack look like?
- mbm 1y agoHey! Thanks for asking. In this case, I used: - Cursor for IDE (Claude 3.7 Sonnet + Gemini 2.5 Pro for code gen) - Rails app with an embedded React frontend (Rails for API routes / React for everything frontend) - Deploy the Rails app to GCP Cloud Run with min_instances=0; use the tiniest GCP Cloud SQL instance for Postgres; and spin up a tiny cheap VM for running background jobs (same Rails app, just run in sidekiq mode instead of Rails mode) DigitalOcean droplets (cheap servers) are a great option for doing it all on a single VM.