{"id":14964856,"url":"https://github.com/sam99dave/chat-app","last_synced_at":"2025-10-25T10:30:45.357Z","repository":{"id":254611275,"uuid":"847046349","full_name":"sam99dave/chat-app","owner":"sam99dave","description":"Local Chat App using Ollama, FastHTML, Redis \u0026 OAuth","archived":false,"fork":false,"pushed_at":"2024-11-27T13:51:48.000Z","size":8285,"stargazers_count":3,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-01-31T06:51:17.372Z","etag":null,"topics":["chatbot","fasthtml","llms","oauth","ollama","redis"],"latest_commit_sha":null,"homepage":"https://chat-app-vert-one.vercel.app","language":"Python","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/sam99dave.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-08-24T17:35:17.000Z","updated_at":"2024-12-07T22:20:24.000Z","dependencies_parsed_at":"2024-09-24T13:58:20.353Z","dependency_job_id":"c208250f-3889-4498-939d-9bcaa78cd276","html_url":"https://github.com/sam99dave/chat-app","commit_stats":{"total_commits":14,"total_committers":2,"mean_commits":7.0,"dds":0.1428571428571429,"last_synced_commit":"d4b5c2e423b4d5de7ff6f633bba9576091ccc1a5"},"previous_names":["sam99dave/chat-app"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sam99dave%2Fchat-app","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sam99dave%2Fchat-app/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sam99dave%2Fchat-app/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sam99dave%2Fchat-app/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/sam99dave","download_url":"https://codeload.github.com/sam99dave/chat-app/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":238120378,"owners_count":19419762,"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":["chatbot","fasthtml","llms","oauth","ollama","redis"],"created_at":"2024-09-24T13:33:52.140Z","updated_at":"2025-10-25T10:30:44.739Z","avatar_url":"https://github.com/sam99dave.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# GenSuite!\n\n![Video Demo](others/output.gif)\n\n- ChatBot\n    - [x] ollama setup\n    - [x] chat api usage\n    - [x] DB implementation for Chat history (For each Chat Item)\n    - [x] Chat Item Deletion From DB\n    - [x] GitHub OAuth\n    - [x] User Based Chat Loading\n\n- UI (FastHTML)\n    - [x] Home Page (Basic)\n    - [x] Chat Page\n        - [x] Horizontal Flex\n        - [x] Chat Item\n        - [x] Create New Chat Item\n        - [x] Delete Existing Chat Item\n        - [x] Login page (Decent Page!)\n        - [x] SideBar toggle \n\n\n## Installation\n\n\u003e Install Poetry\n\nClone the repo\n```bash\ngit clone https://github.com/sam99dave/chat-app.git\n```\n\nMake sure to install `ollama` \u0026 `redis-server`. You can start both the services. Ollama mostly will be running by default. Make sure that persistant memory is enabled in redis for retaining the chat history.\n\n```bash\n# ollama for linux\ncurl -fsSL https://ollama.com/install.sh | sh\n\n# start redis server\nsudo systemctl start redis-sever\n\n# stop redis server (after stopping the application)\nsudo systemctl stop redis-sever\n```\n\nRun the application locally!\n```bash\n# Install the dependencies\ncd chat-app\npoetry install\npoetry shell\n\n# Start the application\ncd chatBot\npython3 test.py\n```\n\nBy default its using `llama3` but this can be changed over here:\n```Python\n# line 19, test.py\n# If it works it might take some time as the model will be downloaded\nMODEL_NAME = 'llama3'\n```\n\nIf the above attempt fails then you can download the required model first and then update the `MODEL_NAME` and start the application.\n\nThe initial call to the model will take sometime as the model will be loaded in memory!\n\n\n\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsam99dave%2Fchat-app","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsam99dave%2Fchat-app","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsam99dave%2Fchat-app/lists"}