{"id":25299916,"url":"https://github.com/jpedrou/chatbot","last_synced_at":"2026-04-04T22:34:10.218Z","repository":{"id":275126625,"uuid":"859006041","full_name":"jpedrou/chatbot","owner":"jpedrou","description":"The objective of this project is to build a chatbot that interacts with the user using HuggingFace models API and Next.js for interface design.","archived":false,"fork":false,"pushed_at":"2025-01-31T10:39:21.000Z","size":252,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-04-06T23:39:05.564Z","etag":null,"topics":["fastapi","huggingface","javascript","nextjs","python","shadcn-ui","typescript"],"latest_commit_sha":null,"homepage":"","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/jpedrou.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","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-09-17T23:07:14.000Z","updated_at":"2025-01-31T10:39:25.000Z","dependencies_parsed_at":"2025-01-31T11:41:31.476Z","dependency_job_id":null,"html_url":"https://github.com/jpedrou/chatbot","commit_stats":null,"previous_names":["jpedrou/chatbot"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/jpedrou/chatbot","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jpedrou%2Fchatbot","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jpedrou%2Fchatbot/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jpedrou%2Fchatbot/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jpedrou%2Fchatbot/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/jpedrou","download_url":"https://codeload.github.com/jpedrou/chatbot/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jpedrou%2Fchatbot/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31416778,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-04T20:09:54.854Z","status":"ssl_error","status_checked_at":"2026-04-04T20:09:44.350Z","response_time":60,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":["fastapi","huggingface","javascript","nextjs","python","shadcn-ui","typescript"],"created_at":"2025-02-13T05:35:36.269Z","updated_at":"2026-04-04T22:34:10.189Z","avatar_url":"https://github.com/jpedrou.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# ChatBot\n\nThe objective of this project is to build a chatbot that interacts with the user using HuggingFace models API and Next.js for interface design.\n\n## Technologies\n\n- Next.js\n- shadcn/ui\n- Python\n- FastApi\n- HuggingFace APIs\n\n## Setup\n\nWith Node already installed, go to the folder `interface` in the terminal and run the following command:\n\n```bash\nnpm install\n```\n\nThis command will get all the next.js and shadcn.uidependecies automatically.\n\nThen, you're ready to start the next.js app, just run:\n\n```bash\nnpm run dev\n```\n\nTo run the LLM (Large Language Model) it's needed to create a Python virtual environment to isolate all the dependencies in the project folder. To make it easer, just run in the `server` directory:\n\n\n**Linux**\n\n```bash\npython3 -m venv venv\n```\n\nTo activate the env, run:\n\n\n```bash\nsource venv/bin/activate\n```\n\n\n**Windows**\n\n```bash\npython3 -m venv venv\n```\n\nTo activate the env, run:\n\n`cmd`\n\n```bash\n.\\venv\\Scripts\\activate.bat\n```\n\n`PowerShell`\n\n```bash\n.\\venv\\Scripts\\activate.ps1\n```\n\nTo install all python dependencies of this project, in the `server` directory and with the virtual env already configured, run in the terminal:\n\n```bash\npip install -r requirements.txt\n```\n\nTo check if the libs were installed correctly, run in the terminal:\n\n```bash\npip list\n```\n\nThis command will list all libs installed in the current virtual env.\n\nFinally, to run the server, just run:\n\n\n```bash\nfastapi dev api.py\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjpedrou%2Fchatbot","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjpedrou%2Fchatbot","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjpedrou%2Fchatbot/lists"}