Midori AI CLI

command_line_tools_banner_photo command_line_tools_banner_photo

Our tools include our downloader, uploader, file-manager, hf-downloader, login program, and updater

To try them out, pick your system from the tabs and try the command! (Warning the updater needs root to work)

PixelArch OS already has our tools baked in, but if you are running a nonstandard copy of the os or one of the tools is not installed right, please feel free to run this command.

curl -k --disable --disable-eprt -s https://tea-cup.midori-ai.xyz/download/pixelarch-midori-ai-updater > updater && sudo chmod +x updater && sudo mv updater /usr/local/bin/midori-ai-updater && sudo midori-ai-updater
curl -k --disable --disable-eprt -s https://tea-cup.midori-ai.xyz/download/pixelarch-midori-ai-updater > updater && sudo chmod +x updater && sudo mv updater /usr/local/bin/midori-ai-updater && sudo midori-ai-updater
curl -k --disable --disable-eprt -s https://tea-cup.midori-ai.xyz/download/standard-linux-midori-ai-updater > updater && sudo chmod +x updater && sudo mv updater /usr/local/bin/midori-ai-updater && sudo midori-ai-updater

To execute the source build, manually input each command or consolidate them into a batch/bash file. Support for Windows-based source builds is currently unavailable. The midori_ai_updater is not supported to be build from source as it will try to download the pre built programs.

# Download all of the files
curl -k --disable --disable-eprt -s https://raw.githubusercontent.com/lunamidori5/Midori-AI/master/Webserver/Programs/Downloader/helper_app.py > midori_ai_downloader.py
curl -k --disable --disable-eprt -s https://raw.githubusercontent.com/lunamidori5/Midori-AI/master/Webserver/Programs/Login_program/midori_ai_login_app.py > midori_ai_login_app.py
curl -k --disable --disable-eprt -s https://raw.githubusercontent.com/lunamidori5/Midori-AI-Subsystem-Manager/master/midori_ai_manager/huggingface_downloader.py > midori_ai_huggingface_downloader.py
curl -k --disable --disable-eprt -s https://raw.githubusercontent.com/lunamidori5/Midori-AI-Subsystem-Manager/master/Subsystem-Manager/subsystem-manager-uv/requirements.txt > requirements.txt
curl -k --disable --disable-eprt -s https://raw.githubusercontent.com/lunamidori5/Midori-AI/master/Webserver/Programs/File_manager/file_manager.py > midori_ai_file_manager.py

# Edit these commands to use a venv or uv as needed
pip install pyinstaller pytz
pip install -r requirements.txt

# Edit these commands to use a venv or uv as needed
# The Midori AI uploader is not hosted online, so we need to pull it using our downloader
python3 helper_app.py git_uploader.py
mv git_uploader.py midori_ai_uploader.py

# Edit these commands to use a venv or uv as needed
pyinstaller --onefile --clean midori_ai_downloader.py
pyinstaller --onefile --clean midori_ai_login_app.py
pyinstaller --onefile --clean midori_ai_file_manager.py
pyinstaller --onefile --clean midori_ai_huggingface_downloader.py
pyinstaller --onefile --clean midori_ai_uploader.py

# Feel free to move these where ever you would like.

Support and Assistance

If you encounter any issues or require further assistance, please feel free to reach out through the following channels: