Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/skhelladi/ollama-gui-web-access
Ollama GUI with Web Access is a graphical user interface that connects to a local instance of Ollama and allows the selected Ollama model to browse/search the internet.
https://github.com/skhelladi/ollama-gui-web-access
llm ollama ollama-gui
Last synced: 3 days ago
JSON representation
Ollama GUI with Web Access is a graphical user interface that connects to a local instance of Ollama and allows the selected Ollama model to browse/search the internet.
- Host: GitHub
- URL: https://github.com/skhelladi/ollama-gui-web-access
- Owner: skhelladi
- Created: 2025-01-11T15:06:54.000Z (4 days ago)
- Default Branch: main
- Last Pushed: 2025-01-11T15:36:33.000Z (4 days ago)
- Last Synced: 2025-01-11T16:30:12.970Z (4 days ago)
- Topics: llm, ollama, ollama-gui
- Language: JavaScript
- Homepage:
- Size: 86.9 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Ollama GUI with Web Access
*Ollama GUI with Web Access* is a graphical user interface that connects to a local instance of Ollama and allows the selected Ollama model to browse/search the internet. Users can select from the available Ollama models, change the base URL, enter prompts, enable/disable search, etc. The search is provided via DuckDuckGo.
This code is forked from [ollama-search-gui](https://github.com/GPT-Engineer-App/ollama-search-gui.git).
## Features
- Select available Ollama models
- Enter prompts
- Enable/disable web search
- Display web search results
- Display AI-generated responses in real-time
- Modern theme with dark/light mode support## Tech Stack
This project is built with React and Chakra UI.
- Vite
- React
- Chakra UI
- Ollama
- Express## Installation
Clone the repository and install dependencies:
```sh
git clone https://github.com/skhelladi/ollama-gui-web-access.git
cd ollama-search-gui
npm install
```## Usage
To start the development server with auto-reloading and instant preview:
```sh
npm run dev
```To build the application for production:
```sh
npm run build
```To start the server in production mode:
```sh
npm start
```## Configuration
The project uses a `settings.json` file for configuration. Ensure this file is present in the root directory of the project.
## API Endpoints
### Ollama Models
- `GET /api/models` : Retrieves the list of available Ollama models.
### Generate Responses
- `POST /api/generate` : Generates a response based on the provided model and prompt.
### History
- `GET /history` : Retrieves the history of questions.
- `POST /history` : Adds a question to the history.
- `DELETE /history/:id` : Deletes a question from the history.
- `PUT /history/:id` : Updates the title of a question.### Discussions
- `GET /discussion/:questionId` : Retrieves the discussion for a given question.
- `POST /discussion` : Adds a message to a discussion.### Settings
- `POST /save-settings` : Saves settings to a JSON file.
### Public IP Address
- `GET /get-public-ip` : Retrieves the server's public IP address.
## Requirements
- Node.js & npm - [install with nvm](https://github.com/nvm-sh/nvm#installing-and-updating)
## License
This project is licensed under the GPL-3.0 License.