{"id":30020503,"url":"https://github.com/nurbxfit/js-langgraph-chat","last_synced_at":"2026-04-27T16:31:24.658Z","repository":{"id":307087367,"uuid":"1028274960","full_name":"nurbxfit/js-langgraph-chat","owner":"nurbxfit","description":"A simple little chat app built with Langraph + Langchain + Bun. Console-based, JSON persistent memory","archived":false,"fork":false,"pushed_at":"2025-07-29T10:02:29.000Z","size":1599,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-08-06T02:20:18.949Z","etag":null,"topics":["bun","langchain","langchain-js","langgraph","langgraph-js","ollama","typescript"],"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/nurbxfit.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-07-29T09:34:01.000Z","updated_at":"2025-07-29T10:02:32.000Z","dependencies_parsed_at":"2025-07-29T11:53:54.473Z","dependency_job_id":"664e5831-4217-4026-aa6e-7e7e9e21dcee","html_url":"https://github.com/nurbxfit/js-langgraph-chat","commit_stats":null,"previous_names":["nurbxfit/js-langgraph-chat"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/nurbxfit/js-langgraph-chat","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nurbxfit%2Fjs-langgraph-chat","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nurbxfit%2Fjs-langgraph-chat/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nurbxfit%2Fjs-langgraph-chat/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nurbxfit%2Fjs-langgraph-chat/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/nurbxfit","download_url":"https://codeload.github.com/nurbxfit/js-langgraph-chat/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nurbxfit%2Fjs-langgraph-chat/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32345802,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-26T23:26:28.701Z","status":"online","status_checked_at":"2026-04-27T02:00:06.769Z","response_time":128,"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":["bun","langchain","langchain-js","langgraph","langgraph-js","ollama","typescript"],"created_at":"2025-08-06T02:02:11.822Z","updated_at":"2026-04-27T16:31:24.640Z","avatar_url":"https://github.com/nurbxfit.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"```\n _                       ____                 _         ____ _           _   \n| |    __ _ _ __   __ _ / ___|_ __ __ _ _ __ | |__     / ___| |__   __ _| |_ \n| |   / _` | '_ \\ / _` | |  _| '__/ _` | '_ \\| '_ \\   | |   | '_ \\ / _` | __|\n| |__| (_| | | | | (_| | |_| | | | (_| | |_) | | | |  | |___| | | | (_| | |_ \n|_____\\__,_|_| |_|\\__, |\\____|_|  \\__,_| .__/|_| |_|___\\____|_| |_|\\__,_|\\__|\n                  |___/                |_|        |_____|                    \n                                                                                                                                                     \n```\n\n\n# langraph chat 🚀\n\nThis is a simple chat app I built using Langraph and Langchain.\nRight now, it’s just a basic console-based interface where you can chat with a model.\n\nIt saves your chat history using JSON files, so even if you restart the app, you can continue the convo like nothing happened.\n\nI built this mostly for fun (and learning), and I plan to add more stuff later, maybe a web interface, maybe more features, who knows.\n\nMost of the demos I found online use Python, so I wanted to show how to do it with JavaScript/TypeScript using Bun instead.\n\n---\n\n[![Made with Bun](https://img.shields.io/badge/Made%20with-Bun-blue?logo=bun)](https://bun.sh/)\n[![TypeScript](https://img.shields.io/badge/TypeScript-Enabled-blue?logo=typescript)](https://www.typescriptlang.org/)\n[![Langchain](https://img.shields.io/badge/Langchain-AI-brightgreen?logo=langchain)](https://langchain.com/)\n\n---\n\n## Requirements\n\n- [Bun](https://bun.sh/) — Fast JavaScript runtime\n- [Langraph](https://langraph.com/) — Framework for building AI apps\n- [Langchain](https://langchain.com/) — Framework for LLM-powered stuff\n- [Node.js](https://nodejs.org/) — Needed for Bun\n- [TypeScript](https://www.typescriptlang.org/) — Because types are cool\n- [ollama deepseek-r1 local model](https://ollama.com/library/deepseek-r1) — For the chat model\n\n## Installation\n\n```bash\nbun install\n```\n\n## Usage\n\n```bash\nbun run dev\n```\n\nType `/exit` in the chat console to quit.\n\n---\n\n## Known Issues\n\n- Chat history is saved in a single JSON file (can get messy).\n- JSON format isn't ideal for chat history, but works for now.\n- File may get corrupted if the app crashes.\n- If corrupted, delete the file and start over.\n\n---\n\n## Up Next\n\n- Improve chat history management\n- Switch to a better storage (e.g., database)\n- Add a web interface\n- Integrate tools (search, etc.)\n\n---\n\n## Notes\n\nThis is a demo app, built for fun and learning how to use Langraph and Langchain with Bun.\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnurbxfit%2Fjs-langgraph-chat","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fnurbxfit%2Fjs-langgraph-chat","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnurbxfit%2Fjs-langgraph-chat/lists"}