Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

This is the script that assembles the structured comments and generates the summary - https://github.com/levelup-apps/hn-enhancer/blob/main/script...

You can run it as: node summarize-comments.js <post_id> Example: node summarize-comments.js 43597782

And the summary will be put in the "output" folder.

You need to set the environment variable (in this case OPENROUTER_API_KEY because LLama4 is currently available at OpenRouter).



Consider applying for YC's Fall 2026 batch! Applications are open till July 27.

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: