A simple package manager for open-source AI projects.
AIMan is a simple package manager designed for managing open-source AI projects. It’s implemented entirely with Bash scripts, making it easy to set up. Although it was developed for personal use, the code is available on GitHub in case someone else finds it useful.
- Stable Diffusion web UI
- Stable Diffusion WebUI Forge
- ComfyUI
- InvokeAI
To securely install AIMan, follow these straightforward steps. This process
involves creating a dedicated user account called aiman
that will be used
to run the AIMan script. Having a separate user account enhances the security
of the installation by limiting the access and permissions on your system.
-
Create a new user for AIMan and set a password:
sudo useradd -m aiman && sudo passwd aiman
-
Switch to the AIMan user:
su - aiman
-
Clone the AIMan repository from GitHub:
git clone https://github.com/martin-rizzo/AIMan.git cd AIMan
-
(optional) Add AIMan to the PATH and update the shell session:
./aiman add2path && source ~/.bashrc
-
(optional) Set the directory where the AI models are located:
./aiman setdir @models /path/to/your/models/directory
-
(optional) Set the output directory for AIMan:
./aiman setdir @output /path/to/your/output/directory
-
Install the web UI project (replace
webui
with the desired project name):./aiman webui.install
-
Launch the web UI (replace
webui
with the desired project name):./aiman webui.launch
Please note that these instructions assume a Linux system and may require additional steps or modifications based on your specific environment.
To launch any AI project after the initial installation, follow these steps:
-
Switch to the AIMan user:
su - aiman
-
Launch the web UI (replace
webui
with the desired project name):aiman webui.launch
This project was developed solely for personal needs. While contributions, bug reports, and pull requests are welcome, please note that AIMan has only been tested on Fedora 40. It may not be compatible with other systems or suitable for production environments.
Copyright (c) 2023-2024 Martin Rizzo
This project is licensed under the MIT license.
See the "LICENSE" file for details.