{"id":30619122,"url":"https://github.com/twlite/gorkhali","last_synced_at":"2025-08-30T12:17:22.861Z","repository":{"id":310024678,"uuid":"1035517192","full_name":"twlite/gorkhali","owner":"twlite","description":"Gorkhali is an AI assistant built with ai sdk, shadcn and ai elements enabling generative ui, web search, weather search, and lyrics search.","archived":false,"fork":false,"pushed_at":"2025-08-16T13:45:03.000Z","size":865,"stargazers_count":6,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-08-23T11:45:29.313Z","etag":null,"topics":["ai","ai-elements","ai-sdk","assistant","generative-ui","javascript","llm","nextjs","self-host","shadcn","vercel"],"latest_commit_sha":null,"homepage":"","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/twlite.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,"zenodo":null}},"created_at":"2025-08-10T15:11:19.000Z","updated_at":"2025-08-16T18:21:28.000Z","dependencies_parsed_at":"2025-08-15T08:52:58.801Z","dependency_job_id":"ece1b0d1-8005-4e46-ac1e-a92413628948","html_url":"https://github.com/twlite/gorkhali","commit_stats":null,"previous_names":["twlite/gorkhali"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/twlite/gorkhali","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/twlite%2Fgorkhali","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/twlite%2Fgorkhali/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/twlite%2Fgorkhali/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/twlite%2Fgorkhali/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/twlite","download_url":"https://codeload.github.com/twlite/gorkhali/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/twlite%2Fgorkhali/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":272847523,"owners_count":25003218,"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","status":"online","status_checked_at":"2025-08-30T02:00:09.474Z","response_time":77,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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-elements","ai-sdk","assistant","generative-ui","javascript","llm","nextjs","self-host","shadcn","vercel"],"created_at":"2025-08-30T12:17:22.249Z","updated_at":"2025-08-30T12:17:22.851Z","avatar_url":"https://github.com/twlite.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Gorkhali\n\nGorkhali is an AI assistant that uses the [ai sdk](https://sdk.vercel.ai) library to generate responses. It is built with [Next.js](https://nextjs.org) and [shadcn/ui](https://ui.shadcn.com) + [AI Elements](https://ai-sdk.dev/elements). It also supports generative user interface for weather and lyrics.\n\n## Setup\n\nRun your model locally with [lmstudio](https://lmstudio.ai). Make sure you have the following models installed:\n\n- [x] openai/gpt-oss-20b\n\n```bash\nlms get openai/gpt-oss-20b\n```\n\n- [x] google/gemma-3-12b\n\n```bash\nlms get google/gemma-3-12b\n```\n\nOr you can install your own models and update the `src/stores/model.ts` and `src/app/api/chat/route.ts` files.\n\n## Environment Variables\n\nCreate a `.env` file by copying the `example.env` file.\n\n```bash\ncp example.env .env\n```\n\nand update the `TAVILY_API_KEY` with your own API key.\n\n```ini\nTAVILY_API_KEY=tvly-your_tavily_api_key\n```\n\n## Run\n\n```bash\npnpm run dev\n```\n\n## Tools\n\n- [x] Web search via [tavily](https://tavily.com)\n- [x] Weather via [weather-js](https://www.npmjs.com/package/weather-js)\n- [x] Lyrics via [lrclib](https://lrclib.net)\n- [x] SoundCloud via [soundcloud.ts](https://www.npmjs.com/package/soundcloud.ts)\n\n# Preview\n\n## Web search\n\nThe agent is able to search the web and provide the information to the user using the `webSearchTool`, which is a tool that allows the agent to search the web and provide the information to the user using `tavily` API.\n\n![Web search](./assets/01.png)\n\n## Weather\n\nThe agent is able to provide the weather information to the user using the `weatherTool`, which is a tool that allows the agent to provide the weather information to the user using `weather-js` library.\n\n![Weather](./assets/02.png)\n\n## Lyrics\n\nThe agent is able to provide the lyrics to the user using the `lyricsTool`, which is a tool that allows the agent to provide the lyrics to the user using `lrclib` library.\n\n![Lyrics](./assets/03.png)\n\n## SoundCloud\n\nThe agent is able to search for tracks on SoundCloud and provide the information to the user using the `soundcloudTool`, which is a tool that allows the agent to search for tracks on SoundCloud and provide the information to the user using `soundcloud.ts` library.\n\n![SoundCloud](./assets/04.png)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftwlite%2Fgorkhali","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftwlite%2Fgorkhali","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftwlite%2Fgorkhali/lists"}