{"id":19820375,"url":"https://github.com/drcbeatz/ollama-python-chat","last_synced_at":"2026-04-09T11:02:38.918Z","repository":{"id":250807631,"uuid":"835523291","full_name":"DrCBeatz/ollama-python-chat","owner":"DrCBeatz","description":"Simple chat application web app using Python, Flask, Ollama, and Docker. Utilizes the open source LLM llama3.1:8b.","archived":false,"fork":false,"pushed_at":"2024-08-02T14:09:20.000Z","size":14,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-01-11T08:30:31.408Z","etag":null,"topics":["chat-application","docker","flask","llama3-1","llm","ollama","python"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","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/DrCBeatz.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-07-30T02:39:19.000Z","updated_at":"2024-08-02T14:09:23.000Z","dependencies_parsed_at":"2024-07-30T07:28:19.912Z","dependency_job_id":"8eb59e9c-692d-4fab-bec3-ea7349a970b2","html_url":"https://github.com/DrCBeatz/ollama-python-chat","commit_stats":null,"previous_names":["drcbeatz/ollama-python-chat"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DrCBeatz%2Follama-python-chat","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DrCBeatz%2Follama-python-chat/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DrCBeatz%2Follama-python-chat/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DrCBeatz%2Follama-python-chat/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/DrCBeatz","download_url":"https://codeload.github.com/DrCBeatz/ollama-python-chat/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":241176618,"owners_count":19922732,"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":["chat-application","docker","flask","llama3-1","llm","ollama","python"],"created_at":"2024-11-12T10:23:06.518Z","updated_at":"2025-12-30T21:50:04.040Z","avatar_url":"https://github.com/DrCBeatz.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Ollama Python Chat\n\nA simple chat web app using Ollama and the dolphin-mistral:7b model. This project is suitable for running locally on a desktop or laptop, even without a GPU.\n\n## Prerequisites\n\n- Docker\n\n## Getting Started\n\n### 1. Clone the Repository\n\nClone this repository to your local machine using the following command:\n\n`git clone https://github.com/yourusername/ollama-python-chat.git`\n\nThen navigate to the project directory:\n\n`cd ollama-python-chat`\n\n### 2. Create a .env File\n\nCreate a .env file in the root of the project directory and add the following line to specify the LLM model name:\n\n`MODEL_NAME=llama3.1:8b`\n\nYou can change `llama3.1:8b` to any other model you want to use.\n\n\n### 3. Build and Run the Docker Containers\n\nBuild and run the Docker containers using Docker Compose:\n\n`docker compose up -d --build`\n\n### 4. Pull the Model\n\nPull the llama3.1:8b model using the following command:\n\n`docker compose exec ollama ollama pull llama3.1:8b`\n\n### 5. Access the Web App\n\nOpen your web browser and go to the following URL:\n\n`http://localhost:5000/`\n\n### 6. Stop the Containers\n\nWhen you're done, stop the containers using:\n\n`docker compose down`\n\n### License\n\nThis project is licensed under the MIT License.","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdrcbeatz%2Follama-python-chat","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdrcbeatz%2Follama-python-chat","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdrcbeatz%2Follama-python-chat/lists"}