Ollamanager is a straightforward tool designed to facilitate model downloads, management, and monitoring for Ollama directly from your terminal. It offers effortless model selection and tag-based retrieval, accompanied by detailed progress updates and a user-friendly user interface.
- User-Friendly Interface: With a user-friendly interface and intuitive design, Ollamanager offers a seamless experience for users, regardless of their level of technical expertise.
- Customization Options: Users have the flexibility to customize the base URL for the Ollama server, providing greater control over their environment and configuration.
- Cross-Platform Compatibility: Ollamanager is designed to work across different platforms, ensuring compatibility and accessibility for users regardless of their operating system.
- Effortless Model Selection: Ollamanager simplifies the process of selecting and downloading models for Ollama, streamlining the workflow for users. (Models are currently scraped from the Ollama Library as there is no official API for listing models available for download.)
- Tag-Based Retrieval: Users can easily specify tags to retrieve models, allowing for precise selection and customization based on specific requirements. Download the exact version of the model you want!
- Detailed Progress Updates: Ollamanager provides detailed progress updates during the download process, ensuring users are informed about the status of their downloads in real-time.
- Effortless Model Management: Ollamanager simplifies the process of managing models for Ollama, streamlining the workflow for users.
- Model Updates: Users can easily update models to the latest version, ensuring they have access to the latest features and improvements.
- Model Deletion: Users can easily delete models they no longer need, freeing up space and reducing clutter.
Note
Check out Gollama for a more advanced model management tool that also enables you to chat with your models.
- Effortless Model Monitoring: Ollamanager simplifies the process of monitoring models for Ollama, providing real-time updates on the status of your models.
- Detailed Model Monitoring: Ollamanager provides detailed monitoring of models, allowing you to track currently running models and their status.
- Manage your memory: Ollamanager lets you keep models loaded in memory (indefinitely) to avoid unnecessary loading times or to instantly unload models when you're done with them.
- Ollama installed on your system or a ollamanager API server
accessible from your machine. (Default:
http://localhost:11434
) Read more about customizing the base URL here. - To find a list of all available models,
check the Ollama Library.
You can also use the
ollama list
command to list all locally installed models.
You can install Ollamanager using one of the following methods:
Grab the latest release from the releases page and extract the archive to a location of your choice.
Make sure you have Go installed on your system and in path.
You can also install Ollamanager using the go install
command:
go install github.com/gaurav-gosain/ollamanager@latest
You can pull the latest docker image from the GitHub Docker Container Registry and run it using the following command:
docker run --net=host -it --rm ghcr.io/gaurav-gosain/ollamanager:latest
You can also run Ollamanager locally using docker:
Note
The following commands will build the docker image with the tag ollamanager
.
You can replace ollamanager
with any tag of your choice.
-
Clone the repository:
git clone https://github.com/Gaurav-Gosain/ollamanager.git
-
Navigate to the project directory:
cd ollamanager
-
Build the docker image:
docker build -t ollamanager .
-
Run the docker image:
docker run --net=host -it --rm ollamanager
If you prefer to build from source, follow these steps:
-
Clone the repository:
git clone https://github.com/Gaurav-Gosain/ollamanager.git
-
Navigate to the project directory:
cd ollamanager
-
Build the executable:
go build
-
Run the executable:
ollamanager
or
/path/to/ollamanager
-
Follow the on-screen instructions to interact with Ollamanager.
Ollamanager relies on the following third-party packages:
- bubbletea: A library for building terminal applications using the Model-Update-View pattern.
- bubbles: Beautiful TUI components for bubbletea
- huh: A library for building terminal-based forms and surveys.
- lipgloss: A library for styling text output in the terminal.
- Add CLI flags to directly specify model and tag
Contributions are welcome! Whether you want to add new features, fix bugs, or improve documentation, feel free to open a pull request.
This project is licensed under the MIT License - see the LICENSE file for details.