{"id":18319178,"url":"https://github.com/lakshaybhushan/what-the-hack","last_synced_at":"2026-05-09T15:14:46.566Z","repository":{"id":243046795,"uuid":"809711337","full_name":"lakshaybhushan/what-the-hack","owner":"lakshaybhushan","description":"Get to know the top comments of a Hacker News post in a glance! Built with Nextjs14 \u0026 Cloudflare Workers AI","archived":false,"fork":false,"pushed_at":"2024-07-12T11:50:24.000Z","size":1376,"stargazers_count":7,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"yoda","last_synced_at":"2025-02-15T08:16:54.187Z","etag":null,"topics":["cloudlfare-workers","hackernews","nextjs14","sonner","tailwindcss","typescript","vercel","workers-ai"],"latest_commit_sha":null,"homepage":"https://wth.lakshb.dev","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/lakshaybhushan.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2024-06-03T09:55:07.000Z","updated_at":"2024-09-26T05:00:14.000Z","dependencies_parsed_at":"2024-06-06T12:34:30.999Z","dependency_job_id":"696a3d96-2567-405f-897a-41d0ca35a4f0","html_url":"https://github.com/lakshaybhushan/what-the-hack","commit_stats":null,"previous_names":["lakshaybhushan/what-the-hack"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lakshaybhushan%2Fwhat-the-hack","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lakshaybhushan%2Fwhat-the-hack/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lakshaybhushan%2Fwhat-the-hack/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lakshaybhushan%2Fwhat-the-hack/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/lakshaybhushan","download_url":"https://codeload.github.com/lakshaybhushan/what-the-hack/tar.gz/refs/heads/yoda","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248054196,"owners_count":21039952,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["cloudlfare-workers","hackernews","nextjs14","sonner","tailwindcss","typescript","vercel","workers-ai"],"created_at":"2024-11-05T18:12:40.297Z","updated_at":"2026-05-09T15:14:41.530Z","avatar_url":"https://github.com/lakshaybhushan.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003ch1 align=\"center\"\u003eWhat the Hack?!\u003c/h1\u003e\n\n\u003cp align=\"center\"\u003e\n\n\u003cimg src =\"https://img.shields.io/badge/Next.js-000000.svg?style=for-the-badge\u0026logo=nextdotjs\u0026logoColor=white\"\u003e\n\u003cimg src =\"https://img.shields.io/badge/Tailwind%20CSS-06B6D4.svg?style=for-the-badge\u0026logo=Tailwind-CSS\u0026logoColor=white\"\u003e\n\u003cimg src =\"https://img.shields.io/badge/Cloudflare%20Workers-F38020.svg?style=for-the-badge\u0026logo=Cloudflare-Workers\u0026logoColor=white\"\u003e\n\u003cimg src =\"https://img.shields.io/badge/Vercel-000000.svg?style=for-the-badge\u0026logo=Vercel\u0026logoColor=white\"\u003e\n\n\u003c/p\u003e\n\n![GithubBanner](./app/opengraph-image.png)\n\nWant to stay updated on the latest developer discussions on [HackerNews](https://news.ycombinator.com/)?... Introducing [What the Hack?!](https://wth.lakshb.dev) – a web tool that fetches the top comments from any provided HackerNews post URL. Using Cloudflare workers AI, it delivers a detailed summary of the comments within seconds and generates an illustrative image for the post headline.\n\nSo if you're too lazy to read through the comments, or just want to get a quick overview of the discussion, [What the Hack?!](https://wth.lakshb.dev) is the tool for you!\n\n\u003e This repository contains the frontend code for the project. The backend code can be found at [What the Hack?! • Backend](https://github.com/lakshaybhushan/wth-backend)\n\n## Features\n\n- **Instant Comment Summary**: Get a detailed summary of the top comments on any HackerNews post URL.\n- **Illustrative Image Generation**: Automatically generate an illustrative image for the post headline.\n- **Text Streaming Response**: Get the summary in real-time as the comments are being processed.\n- **Mobile Responsive**: Enjoy the same experience across all devices.\n\n## Built With\n\n- Next.js 14\n- Tailwind CSS\n- Hono\n- Cloudflare Workers\n- Vercel\n\n## Points to Note\n\n- This project is a very basic implementation of the Cloudflare Workers AI service. The AI service is still in beta (especially models that I'm using `Meta's Llama 3` [text generation] \u0026 `Dreamshaper` [image generation]) and may not be as accurate as expected. The project is intended to showcase the capabilities of the service and may not be suitable for production use.\n\n- If you encounter any issues with the project, please feel free to open an issue or submit a pull request. I would be happy to help you out!.\n\n---\n\nThis project was possible thanks to an awesome dev [Dhravya Shah](https://github.com/Dhravya) who built the early implementation of this project on his first live stream. You can check out the stream [here](https://www.youtube.com/live/tWCRWo02F-0?si=RMcSFJGB2QVIZ19r). I built upon his work and added a few more features to the project. Thanks, Dhravya! 🚀\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flakshaybhushan%2Fwhat-the-hack","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Flakshaybhushan%2Fwhat-the-hack","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flakshaybhushan%2Fwhat-the-hack/lists"}