{"id":18234352,"url":"https://github.com/fr3ddy404/flask-webui","last_synced_at":"2026-05-09T09:41:17.775Z","repository":{"id":261060759,"uuid":"883133976","full_name":"Fr3ddy404/flask-webui","owner":"Fr3ddy404","description":"A simple web interface with Markdown support built using Flask, designed to interact with Ollama models.","archived":false,"fork":false,"pushed_at":"2024-11-04T13:06:07.000Z","size":663,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-02-14T09:58:24.141Z","etag":null,"topics":["flask","langchain","ollama-webui"],"latest_commit_sha":null,"homepage":"","language":"Python","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/Fr3ddy404.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-11-04T12:42:51.000Z","updated_at":"2024-11-14T01:06:54.000Z","dependencies_parsed_at":null,"dependency_job_id":"12d991e2-70b7-410a-80e9-6d05b60aa076","html_url":"https://github.com/Fr3ddy404/flask-webui","commit_stats":null,"previous_names":["fr3ddy404/flask-webui"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Fr3ddy404%2Fflask-webui","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Fr3ddy404%2Fflask-webui/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Fr3ddy404%2Fflask-webui/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Fr3ddy404%2Fflask-webui/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Fr3ddy404","download_url":"https://codeload.github.com/Fr3ddy404/flask-webui/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247852982,"owners_count":21007048,"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":["flask","langchain","ollama-webui"],"created_at":"2024-11-04T21:09:30.966Z","updated_at":"2026-05-09T09:41:17.748Z","avatar_url":"https://github.com/Fr3ddy404.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Flask WebUI\n\nA simple web interface with Markdown support built using Flask, designed to interact with Ollama models.\n\n## Table of Contents\n1. [Installation](#installation)\n2. [Features](#features)\n3. [Usage](#usage)\n4. [License](#license)\n\n\n## Features\n\n- **💬 LLM Chat:** Chat with your Ollama instance.\n- **📖 Markdown Support:** Chat messages are rendered in markdown.\n- **📚 Multiple Conversations:** Have multiple conversation.\n- **📜 Chat History:** Chat history is saved locally.\n- **✍️ Custom Prompts:** Create and save custom prompts for you models.\n- **⏩ Message Stream:** Messages are streamed by the llm.\n\n## Installation\n\n### Using pip\nUse the package manager [pip](https://pip.pypa.io/en/stable/) to install the dependencies.\n\n```bash\npip install -r requirements.txt\n```\n\n### Using Nix\n\n1. Follow the [Nix installation instructions](https://nixos.org/download/) to set up `nix`.\n\n2. Enter the development shell from the flake.nix.\n\n```bash\nnix develop\n```\n\n## Usage\n\nTo run the application, navigate to the root directory and execute:\n\n\u003e [!WARNING]\n\u003e This command uses the Flask server in debug mode.\n\n\n```bash\nFLASK_APP=app/views FLASK_ENV=development flask --debug run\n```\n\n### Example\n\n![demo of the Flask WebUI](/media/demo.gif)\n\n### Select Models\n\nBy default a demo LLM is used. If you want to use your own models with Ollama you have to edit the app/app.py file.\n\n```py\n# set the model name to your model or leave it empty for the demo\nMODEL_NAME = \"\" # \"llama3.2:3b-instruct-q5_K_M\"\n```\n\n### Markdown\n\nYou can use markdown commands in your messages.\n\n![short markdown exaple](/media/short_markdown_example.png)\n\nAnswers by the model in markdown are rendered.\n\n### Spoilers\n\n![Example of a spoiler](/media/exapmle_spoiler.png)\n\nParts of the messages enclosed in `[` and `]` are hidden and can be made visble while hovering over it or by clicking on it. \n\n\n## License\n\nThis project is licensed under the [MIT License](https://choosealicense.com/licenses/mit/). Feel free to modify and use it as you wish!","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffr3ddy404%2Fflask-webui","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ffr3ddy404%2Fflask-webui","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffr3ddy404%2Fflask-webui/lists"}