TUI Package and ISO Manager with JSON repository support
Project description
MozApp - Wine & Application Package Manager
MozApp is a unified Python CLI and Textual TUI package manager built on top of CheapWine and Maestro-Plus. It provides non-interactive and interactive workflows for downloading, mounting, and installing Windows applications, VST plugins, ISO images, and package archives inside a managed Wine prefix environment. Made with Gemini ! 🚀
🌟 Key Features
- 🍷 CheapWine & Maestro-Plus Integration: Built-in environment isolation under
~/.mozapp/cheapwinewith direct command passthrough (run,wine,winetricks,env,tui,chocolatey,export, etc.). - 🛡️ Guarded Initialisation (
mozapp init): Fetches and executes the maestro-plus setup script in-place inside~/.mozapp/cheapwine. Command execution is guarded until initialization completes successfully, with automated cleanup on failure or--forcereset. - 📀 Automated ISO Mounting & Silent Installation (
install_local_ni_iso):- Mounts ISO files via
udisksctlwith-o unhide. - Links to
~/.mozapp/iso_mount_point. - Detects top-level
.exeinstallers and executes silent setup (/s SILENT=TRUE) via CheapWine.
- Mounts ISO files via
- ⚡ Google Drive Virus Warning Bypass: Automatically detects Google Drive "file is too large to scan" HTML warning pages, extracts session tokens (
confirm=t,uuid), and streams the true binary payload. - 🔗 Workspace Prefix Mounting: Automatically mounts
cheapwine/.cheapwinetoworkspace/.cheapwineduring package installations. - 📦 Batch Repository & Direct CLI Installation:
mozapp install_package <repo_name>/mozapp install_iso <repo_name>installs all items in a repository.- Omission of arguments opens the interactive Textual TUI with default table keyboard focus.
- 🖥️ Interactive Textual TUI: Live filtering, markdown details, progress bars, and keyboard shortcuts (
Enter,b,q).
📁 Directory Structure (~/.mozapp)
All MozApp data and prefixes are isolated in ~/.mozapp:
| Path | Description |
|---|---|
~/.mozapp/config.json |
Central configuration containing repository sources & sentinel state |
~/.mozapp/cheapwine/ |
Wine prefix directory & cheapwine binary execution context |
~/.mozapp/workspace/ |
Package archive extraction & build workspace |
~/.mozapp/isos/ |
Downloaded ISO image storage |
~/.mozapp/iso_mount_point/ |
Active ISO mountpoint target |
🚀 Quick Start & Installation
Installation
Install MozApp in editable mode:
uv pip install -e .
Initialisation
Before running any application management commands, initialize the CheapWine prefix context:
mozapp init
To force re-initialization and clear the existing cheapwine directory, run mozapp init --force.
📖 Command Reference
🎛️ Interactive TUI
# Open TUI for package repositories
mozapp install_package
# Open TUI for ISO repositories
mozapp install_iso
📦 Non-Interactive Package & ISO Installation
# Install a single package from a repository
mozapp install_package "Official Packages" "Sample Package"
# Install ALL packages from a repository
mozapp install_package "Official Packages"
# Install a single ISO from a repository
mozapp install_iso "Google Drive ISO Repo" "Nucleus Lite Edition"
# Install ALL ISOs from a repository
mozapp install_iso "Google Drive ISO Repo"
💿 Local ISO Mounting & Silent Installation
# Unmount existing ISO, mount local file via udisksctl (-o unhide), and run silent installer
mozapp install_local_ni_iso /path/to/installer.iso
🍷 CheapWine & Registered Application Forwarding
MozApp forwards Wine commands directly to cheapwine with WINEPREFIX=~/.mozapp/cheapwine:
# Run a registered application or arbitrary Windows executable
mozapp run "Native Access"
mozapp run ./installer.exe
# List registered Wine applications
mozapp list_apps
# Run wine / winetricks inside local prefix
mozapp wine cfg
mozapp winetricks corefonts
🛠️ Repository Configuration Management
# List configured repositories or remote repo items
mozapp list
mozapp list package "Official Packages"
mozapp list iso "Google Drive ISO Repo"
# Add a package or ISO repository
mozapp add_repo package "Custom Repos" "https://example.com/packages.json"
mozapp add_repo iso "Custom ISOs" "https://example.com/isos.json"
# Remove a repository
mozapp remove_repo package "Custom Repos"
📝 Configuration (config.json)
Example configuration file located at ~/.mozapp/config.json:
{
"initialized": true,
"package_repos": [
{
"name": "Official Packages",
"url": "https://raw.githubusercontent.com/mozapp/sample-repo/main/packages.json"
}
],
"iso_repos": [
{
"name": "Official ISOs",
"url": "https://raw.githubusercontent.com/mozapp/sample-repo/main/isos.json"
}
]
}
🧪 Testing
Run the full pytest suite:
pytest
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file mozapp-0.1.4.tar.gz.
File metadata
- Download URL: mozapp-0.1.4.tar.gz
- Upload date:
- Size: 20.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.14
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
2f78b8512b63d03850f74e976dd8ad35ba8dde74f7a3ec84be756bddb021eebe
|
|
| MD5 |
49ab338686deee0e8d79e4e377389b69
|
|
| BLAKE2b-256 |
fc1fa335d0505bb745c96f5e9b9699f04b8be6c56bd2ed410f6baf9332d57ca4
|
Provenance
The following attestation bundles were made for mozapp-0.1.4.tar.gz:
Publisher:
publish.yml on HeapHeapHooray/mozapp
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
mozapp-0.1.4.tar.gz -
Subject digest:
2f78b8512b63d03850f74e976dd8ad35ba8dde74f7a3ec84be756bddb021eebe - Sigstore transparency entry: 2224678045
- Sigstore integration time:
-
Permalink:
HeapHeapHooray/mozapp@f062ef0e7e8ce38994d14251a084a99184de02ee -
Branch / Tag:
refs/tags/v0.1.4 - Owner: https://github.com/HeapHeapHooray
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@f062ef0e7e8ce38994d14251a084a99184de02ee -
Trigger Event:
push
-
Statement type:
File details
Details for the file mozapp-0.1.4-py2.py3-none-any.whl.
File metadata
- Download URL: mozapp-0.1.4-py2.py3-none-any.whl
- Upload date:
- Size: 19.2 kB
- Tags: Python 2, Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.14
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
54e4c1831f3426b9b197a94d91e5f45c1554b96043607679531d2725cfdd6d79
|
|
| MD5 |
ef91299898403fba742e88987d203003
|
|
| BLAKE2b-256 |
5549ade13ece035716146903024638a5fd1d8a23f46e6fd6c8c6b7dbca4a1000
|
Provenance
The following attestation bundles were made for mozapp-0.1.4-py2.py3-none-any.whl:
Publisher:
publish.yml on HeapHeapHooray/mozapp
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
mozapp-0.1.4-py2.py3-none-any.whl -
Subject digest:
54e4c1831f3426b9b197a94d91e5f45c1554b96043607679531d2725cfdd6d79 - Sigstore transparency entry: 2224678739
- Sigstore integration time:
-
Permalink:
HeapHeapHooray/mozapp@f062ef0e7e8ce38994d14251a084a99184de02ee -
Branch / Tag:
refs/tags/v0.1.4 - Owner: https://github.com/HeapHeapHooray
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@f062ef0e7e8ce38994d14251a084a99184de02ee -
Trigger Event:
push
-
Statement type: