{"id":13632192,"url":"https://github.com/steven-tey/chathn","last_synced_at":"2025-10-10T04:41:15.151Z","repository":{"id":176516395,"uuid":"658422405","full_name":"steven-tey/chathn","owner":"steven-tey","description":"Chat with Hacker News using natural language. Built with OpenAI Functions and Vercel AI SDK.","archived":false,"fork":false,"pushed_at":"2023-10-30T17:06:26.000Z","size":458,"stargazers_count":1166,"open_issues_count":2,"forks_count":162,"subscribers_count":7,"default_branch":"main","last_synced_at":"2025-04-09T04:03:38.298Z","etag":null,"topics":["ai","ai-sdk","edge-functions","hacker-news","nextjs","openai","openai-functions","streaming","vercel"],"latest_commit_sha":null,"homepage":"https://chathn.vercel.app","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/steven-tey.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.md","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null}},"created_at":"2023-06-25T17:39:39.000Z","updated_at":"2025-03-11T09:02:27.000Z","dependencies_parsed_at":"2024-01-22T01:12:37.480Z","dependency_job_id":"53387bd3-d4e0-4380-8485-2636f9fbeab0","html_url":"https://github.com/steven-tey/chathn","commit_stats":null,"previous_names":["steven-tey/chathn"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/steven-tey%2Fchathn","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/steven-tey%2Fchathn/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/steven-tey%2Fchathn/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/steven-tey%2Fchathn/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/steven-tey","download_url":"https://codeload.github.com/steven-tey/chathn/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":254501558,"owners_count":22081528,"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":["ai","ai-sdk","edge-functions","hacker-news","nextjs","openai","openai-functions","streaming","vercel"],"created_at":"2024-08-01T22:02:55.646Z","updated_at":"2025-10-10T04:41:10.112Z","avatar_url":"https://github.com/steven-tey.png","language":"TypeScript","funding_links":[],"categories":["TypeScript"],"sub_categories":[],"readme":"\u003ca href=\"https://chathn.vercel.app\"\u003e\n  \u003cimg alt=\"Chat with Hacker News using natural language.\" src=\"/app/opengraph-image.png\"\u003e\n  \u003ch1 align=\"center\"\u003eChatHN\u003c/h1\u003e\n\u003c/a\u003e\n\n\u003cp align=\"center\"\u003e\n  Chat with Hacker News using natural language. Built with OpenAI Functions and Vercel AI SDK. \n\u003c/p\u003e\n\n\u003cp align=\"center\"\u003e\n  \u003ca href=\"https://news.ycombinator.com/item?id=36480570\"\u003e\u003cimg src=\"https://img.shields.io/badge/Hacker%20News-210-%23FF6600\" alt=\"Hacker News\"\u003e\u003c/a\u003e\n  \u003ca href=\"https://github.com/steven-tey/chathn/blob/main/LICENSE\"\u003e\n    \u003cimg src=\"https://img.shields.io/github/license/steven-tey/chathn?label=license\u0026logo=github\u0026color=f80\u0026logoColor=fff\" alt=\"License\" /\u003e\n  \u003c/a\u003e\n  \u003ca href=\"https://github.com/steven-tey/chathn\"\u003e\u003cimg src=\"https://img.shields.io/github/stars/steven-tey/chathn?style=social\" alt=\"ChatHN's GitHub repo\"\u003e\u003c/a\u003e\n\u003c/p\u003e\n\n\u003cp align=\"center\"\u003e\n  \u003ca href=\"#introduction\"\u003e\u003cstrong\u003eIntroduction\u003c/strong\u003e\u003c/a\u003e ·\n  \u003ca href=\"#deploy-your-own\"\u003e\u003cstrong\u003eDeploy Your Own\u003c/strong\u003e\u003c/a\u003e ·\n  \u003ca href=\"#setting-up-locally\"\u003e\u003cstrong\u003eSetting Up Locally\u003c/strong\u003e\u003c/a\u003e ·\n  \u003ca href=\"#tech-stack\"\u003e\u003cstrong\u003eTech Stack\u003c/strong\u003e\u003c/a\u003e ·\n  \u003ca href=\"#contributing\"\u003e\u003cstrong\u003eContributing\u003c/strong\u003e\u003c/a\u003e ·\n  \u003ca href=\"#license\"\u003e\u003cstrong\u003eLicense\u003c/strong\u003e\u003c/a\u003e\n\u003c/p\u003e\n\u003cbr/\u003e\n\n## Introduction\n\nChatHN is an open-source AI chatbot that uses [OpenAI Functions](https://platform.openai.com/docs/guides/gpt/function-calling) and the [Vercel AI SDK](https://sdk.vercel.ai/docs) to interact with the [Hacker News API](https://github.com/HackerNews/API) with natural language.\n\nhttps://github.com/steven-tey/chathn/assets/28986134/9c0ad554-f4e5-4e98-8771-5999ddf79235\n\n## Deploy your own\n\nYou can deploy your own version of ChatHN with 1-click:\n\n[![Deploy with Vercel](https://vercel.com/button)](https://vercel.com/new/clone?demo-title=ChatHN%20%E2%80%93%20Chat%20with%20Hacker%20News\u0026demo-description=AI%20chatbot%20that%20uses%20OpenAI%20Functions%20and%20Vercel%20AI%20SDK%20to%20interact%20with%20the%20Hacker%20News%20API%20with%20natural%20language.\u0026demo-url=https%3A%2F%2Fchathn.vercel.app%2F\u0026demo-image=%2F%2Fimages.ctfassets.net%2Fe5382hct74si%2F2lviJwxaFNmmqdNynfoUvi%2Fbc4eee4291e05f34c8e3691b3bd5d48d%2FCleanShot_2023-06-25_at_12.47.17.png\u0026project-name=ChatHN%20%E2%80%93%20Chat%20with%20Hacker%20News\u0026repository-name=chathn\u0026repository-url=https%3A%2F%2Fgithub.com%2Fsteven-tey%2Fchathn\u0026from=templates\u0026skippable-integrations=1\u0026env=OPENAI_API_KEY\u0026envDescription=Get%20your%20OpenAI%20API%20key%20here%3A\u0026envLink=https%3A%2F%2Fplatform.openai.com%2Faccount%2Fapi-keys)\n\n## Setting Up Locally\n\nTo set up ChatHN locally, you'll need to clone the repository and set up the following environment variables:\n\n- `OPENAI_API_KEY` – your OpenAI API key (you can get one [here](https://platform.openai.com/account/api-keys))\n\n## Tech Stack\n\nChatH is built on the following stack:\n\n- [Next.js](https://nextjs.org/) – framework\n- [OpenAI Functions](https://platform.openai.com/docs/guides/gpt/function-calling) - AI completions\n- [Vercel AI SDK](https://sdk.vercel.ai/docs) – AI streaming library\n- [Vercel](https://vercel.com) – deployments\n- [TailwindCSS](https://tailwindcss.com/) – styles\n\n## Contributing\n\nHere's how you can contribute:\n\n- [Open an issue](https://github.com/steven-tey/chathn/issues) if you believe you've encountered a bug.\n- Make a [pull request](https://github.com/steven-tey/chathn/pull) to add new features/make quality-of-life improvements/fix bugs.\n\n## Author\n\n- Steven Tey ([@steventey](https://twitter.com/steventey))\n\n## License\n\nLicensed under the [MIT license](https://github.com/steven-tey/chathn/blob/main/LICENSE.md).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsteven-tey%2Fchathn","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsteven-tey%2Fchathn","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsteven-tey%2Fchathn/lists"}